Skip to content

test_check_specifier fails with the latest packaging #4745

@frenzymadness

Description

@frenzymadness

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions