Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test_check_specifier fails with the latest packaging #4745

Closed
frenzymadness opened this issue Nov 11, 2024 · 1 comment
Closed

test_check_specifier fails with the latest packaging #4745

frenzymadness opened this issue Nov 11, 2024 · 1 comment

Comments

@frenzymadness
Copy link
Contributor

This part of the test no longer raises an exception:

attrs = {'name': 'foo', 'python_requires': ['>=3.0', '!=3.1']}
with pytest.raises(DistutilsSetupError):
dist = Distribution(attrs)

because of this change in packaging: pypa/packaging@2b06f90 SpecifierSet can be created from a list.

@frenzymadness
Copy link
Contributor Author

Ah, I forgot that packaging is bundled in setuptools and the mentioned issue is going to be fixed in #4740

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant