You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The toml dependency is declared as >=0.7.1, however, since this #4176 has been merged the dependency should state >=0.10.
I came across this due to a shared dependency on toml between two packages, of which one has toml<0.10,>=0.9 causing toml==0.9.6 to be installed.
Configuration
No response
Command used
pylint --version
Pylint output
Traceback (most recent call last):
File "/usr/local/bin/pylint", line 8, in<module>sys.exit(run_pylint())
File "/usr/local/lib/python3.8/site-packages/pylint/__init__.py", line 21, in run_pylint
from pylint.lint import Run as PylintRun
File "/usr/local/lib/python3.8/site-packages/pylint/lint/__init__.py", line 76, in<module>
from pylint.lint.parallel import check_parallel
File "/usr/local/lib/python3.8/site-packages/pylint/lint/parallel.py", line 9, in<module>
from pylint.lint.utils import _patch_sys_path
File "/usr/local/lib/python3.8/site-packages/pylint/lint/utils.py", line 10, in<module>
from pylint.config import PYLINT_HOME
File "/usr/local/lib/python3.8/site-packages/pylint/config/__init__.py", line 46, in<module>
from pylint.config.find_default_config_files import find_default_config_files
File "/usr/local/lib/python3.8/site-packages/pylint/config/find_default_config_files.py", line 8, in<module>
from toml.decoder import TomlDecodeError
ModuleNotFoundError: No module named 'toml.decoder';'toml' is not a package
Expected behavior
I would expect version numbers to be printed.
Pylint version
pylint 2.11.1
OS / Environment
Debian 10 Buster
Additional dependencies
pylint==2.11.1
toml==0.9.6
The text was updated successfully, but these errors were encountered:
Bug description
The
toml
dependency is declared as>=0.7.1
, however, since this #4176 has been merged the dependency should state>=0.10
.I came across this due to a shared dependency on
toml
between two packages, of which one hastoml<0.10,>=0.9
causingtoml==0.9.6
to be installed.Configuration
No response
Command used
Pylint output
Expected behavior
I would expect version numbers to be printed.
Pylint version
OS / Environment
Debian 10 Buster
Additional dependencies
pylint==2.11.1
toml==0.9.6
The text was updated successfully, but these errors were encountered: