Tox 4.14.2 causing trouble #3253
Replies: 2 comments 1 reply
-
I understand below modules are uninstalled while upgrading tox and that's the reason tox command is failing but not sure why they are being uninstalled • Removing cachetools (5.3.2) |
Beta Was this translation helpful? Give feedback.
-
Chardet is still a dependency of tox and listed in the requirements. Also there were neither changes to the requirements nor to the import statement for a long time. Could you come up with a minimal reproducer for me? Also - how do you install tox? |
Beta Was this translation helpful? Give feedback.
-
Just updated tox to
4.14.2
and command fails with below error, I am not sure if I am missing anything or it is bug from code base.If I downgrade to 4.14.1 it is working fine. Can someone help here?
Python version : 3.9.16
$ tox
Traceback (most recent call last):
File "/home/mashter/.cache/pypoetry/virtualenvs/fds-pubci-parsers-efMCaa4--py3.9/bin/tox", line 5, in
from tox.run import run
File "/home/mashter/.cache/pypoetry/virtualenvs/fds-pubci-parsers-efMCaa4--py3.9/lib/python3.9/site-packages/tox/init.py", line 3, in
from .run import main
File "/home/mashter/.cache/pypoetry/virtualenvs/fds-pubci-parsers-efMCaa4--py3.9/lib/python3.9/site-packages/tox/run.py", line 12, in
from tox.config.cli.parse import get_options
File "/home/mashter/.cache/pypoetry/virtualenvs/fds-pubci-parsers-efMCaa4--py3.9/lib/python3.9/site-packages/tox/config/cli/parse.py", line 10, in
from tox.config.source import Source, discover_source
File "/home/mashter/.cache/pypoetry/virtualenvs/fds-pubci-parsers-efMCaa4--py3.9/lib/python3.9/site-packages/tox/config/source/init.py", line 4, in
from .discover import discover_source
File "/home/mashter/.cache/pypoetry/virtualenvs/fds-pubci-parsers-efMCaa4--py3.9/lib/python3.9/site-packages/tox/config/source/discover.py", line 10, in
from .legacy_toml import LegacyToml
File "/home/mashter/.cache/pypoetry/virtualenvs/fds-pubci-parsers-efMCaa4--py3.9/lib/python3.9/site-packages/tox/config/source/legacy_toml.py", line 13, in
from .ini import IniSource
File "/home/mashter/.cache/pypoetry/virtualenvs/fds-pubci-parsers-efMCaa4--py3.9/lib/python3.9/site-packages/tox/config/source/ini.py", line 10, in
from tox.config.loader.ini import IniLoader
File "/home/mashter/.cache/pypoetry/virtualenvs/fds-pubci-parsers-efMCaa4--py3.9/lib/python3.9/site-packages/tox/config/loader/ini/init.py", line 9, in
from tox.config.loader.ini.replace import replace
File "/home/mashter/.cache/pypoetry/virtualenvs/fds-pubci-parsers-efMCaa4--py3.9/lib/python3.9/site-packages/tox/config/loader/ini/replace.py", line 13, in
from tox.config.loader.stringify import stringify
File "/home/mashter/.cache/pypoetry/virtualenvs/fds-pubci-parsers-efMCaa4--py3.9/lib/python3.9/site-packages/tox/config/loader/stringify.py", line 8, in
from tox.tox_env.python.pip.req_file import PythonDeps
File "/home/mashter/.cache/pypoetry/virtualenvs/fds-pubci-parsers-efMCaa4--py3.9/lib/python3.9/site-packages/tox/tox_env/python/pip/req_file.py", line 6, in
from .req.file import ParsedRequirement, ReqFileLines, RequirementsFile
File "/home/mashter/.cache/pypoetry/virtualenvs/fds-pubci-parsers-efMCaa4--py3.9/lib/python3.9/site-packages/tox/tox_env/python/pip/req/file.py", line 15, in
import chardet
ModuleNotFoundError: No module named 'chardet'
Beta Was this translation helpful? Give feedback.
All reactions