Skip to content

setuptools is used but not declared as a setup dep #851

@jmcrawford45

Description

@jmcrawford45

https://github.com/IdentityPython/pysaml2/blob/master/src/saml2/version.py uses pkg_resources which is provided by setuptools. Since this dependency isn't declared, my builds fail due to "ModuleNotFoundError: No module named 'pkg_resources'" when saml2.version is imported.

Code Version

4.6.5

Expected Behavior

No import errors

Current Behavior

Import errors

Possible Solution

Add setuptools as a dep to setup.cfg

Steps to Reproduce

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions