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
Should have a version conflict when installing setuptools in combination with other packages that require jaraco.functools < 4.
How to Reproduce
Install setuptools with another package that require jaraco.functools < 4.
Output
File "/app/xxx.py", line 9, in <module>
from distutils.util import strtobool
File "/poetry-env/lib/python3.10/site-packages/setuptools/_distutils/util.py", line 23, in <module>
from ._modified import newer
File "/poetry-env/lib/python3.10/site-packages/setuptools/_distutils/_modified.py", line 6, in <module>
from jaraco.functools import splat
ImportError: cannot import name 'splat' from 'jaraco.functools' (/poetry-env/lib/python3.10/site-packages/jaraco/functools.py)
The text was updated successfully, but these errors were encountered:
Description
distutils uses a function from jaraco.functools called splat:
https://github.com/pypa/distutils/blob/main/distutils/_modified.py#L6
That function is only available from version 4.x.x. So jaraco.functools should have a minimum requirement:
https://github.com/pypa/setuptools/blob/v75.1.0/pyproject.toml#L106
Expected behavior
Should have a version conflict when installing setuptools in combination with other packages that require jaraco.functools < 4.
How to Reproduce
Install setuptools with another package that require jaraco.functools < 4.
Output
The text was updated successfully, but these errors were encountered: