Source: python-pysaml2
Version: 7.5.0-4
Severity: normal
Dear Maintainer,
Usage of importlib[._]resources has been hybridized and
the version in the standard library is now prefered.
Please drop the extraneous python3-importlib-resources build dependency.
Greetings
Alexandre
tchet@quieter:~/deb/python-pysaml2$ grep importlib.res -r -C 3
pyproject.toml-cryptography = ">=3.1"
pyproject.toml-defusedxml = "*"
pyproject.toml-importlib-metadata = {version = ">=1.7.0", python = "<3.8"}
pyproject.toml:importlib-resources = {python = "<3.9", version = "*"}
pyproject.toml-paste = {optional = true, version = "*"}
pyproject.toml-pyopenssl = "*"
pyproject.toml-python-dateutil = "*"
--
debian/control- python3-dateutil,
debian/control- python3-defusedxml,
debian/control- python3-legacy-cgi,
debian/control: python3-importlib-resources,
debian/control- python3-mako,
debian/control- python3-memcache,
debian/control- python3-pyasn1,
--
src/saml2/sigver.py:# importlib.resources was introduced in python 3.7
src/saml2/sigver.py:# files API from importlib.resources introduced in python
3.9
src/saml2/sigver.py-if sys.version_info[:2] >= (3, 9):
src/saml2/sigver.py: from importlib.resources import files as _resource_files
src/saml2/sigver.py-else:
src/saml2/sigver.py: from importlib_resources import files as _resource_files
src/saml2/sigver.py-