[Debian-med-packaging] Bug#1040573: python-screed: implicitly depends on python3-pkg-resources
Timo Röhling
roehling at debian.org
Fri Jul 7 18:45:28 BST 2023
Source: python-screed
Version: 1.0.5-4
Severity: serious
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Dear maintainer,
your package implicitly depends on python3-pkg-resources for its autopkgtest,
which used to be provided through python3-pytest. However, pytest has dropped
that dependency, breaking your autopkgtest and possibly your package.
Note that pkg_resources is deprecated in favor of importlib.resources [1],
which is part of the Python Standard Library and has better performance.
Cheers
Timo
[1] https://docs.python.org/3/library/importlib.resources.html
- ---
Relevant excerpt from
https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-screed/35451522/log.gz
24s ==================================== ERRORS ====================================
24s ______________ ERROR collecting screed/tests/test_attriberror.py _______________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_attriberror.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s ________________ ERROR collecting screed/tests/test_convert.py _________________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_convert.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s ___________________ ERROR collecting screed/tests/test_db.py ___________________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_db.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s _______________ ERROR collecting screed/tests/test_dictionary.py _______________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_dictionary.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s __________________ ERROR collecting screed/tests/test_dna.py ___________________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_dna.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s _________________ ERROR collecting screed/tests/test_fasta.py __________________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_fasta.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s _____________ ERROR collecting screed/tests/test_fasta_recover.py ______________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_fasta_recover.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s _________________ ERROR collecting screed/tests/test_fastq.py __________________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_fastq.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s _____________ ERROR collecting screed/tests/test_fastq_recover.py ______________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_fastq_recover.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s ______________ ERROR collecting screed/tests/test_hava_methods.py ______________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_hava_methods.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s __________________ ERROR collecting screed/tests/test_open.py __________________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_open.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s ________________ ERROR collecting screed/tests/test_open_cm.py _________________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_open_cm.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s ________________ ERROR collecting screed/tests/test_pygr_api.py ________________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_pygr_api.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s _________________ ERROR collecting screed/tests/test_record.py _________________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_record.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s _________________ ERROR collecting screed/tests/test_shell.py __________________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_shell.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
24s _______________ ERROR collecting screed/tests/test_streaming.py ________________
24s ImportError while importing test module '/tmp/autopkgtest-lxc.ocsondrc/downtmp/autopkgtest_tmp/screed/tests/test_streaming.py'.
24s Hint: make sure your test modules/packages have valid Python names.
24s Traceback:
24s /usr/lib/python3.11/importlib/__init__.py:126: in import_module
24s return _bootstrap._gcd_import(name[level:], package, level)
24s screed/__init__.py:39: in <module>
24s from pkg_resources import get_distribution, DistributionNotFound
24s E ModuleNotFoundError: No module named 'pkg_resources'
-----BEGIN PGP SIGNATURE-----
iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmSoTzgACgkQ+C8H+466
LVl9ewwAqpVaTQkR3zo/xzRXNZ9CszXFChB7sUk5yw/pEwQTXqrY8m1rUkLF/qxQ
bODi0hO3ESNBoO45fE6ZEpBwp11i5Y+2saEhjeOOGM9n44bRZlk/70XdD6fq2XKE
LtYBJnUgNyEv8g6xQTl59C1MCeuXPLY+3K0Baco/PHL2Yy1vYJ2d94F1ACoL4l05
Mbzb6BYtsKYorqCT7ivZ6+oNj8nsh1viCN+qmVuiN+TTgx0+I6J++XJ0MV7ckcsf
D1dHS8FRaTG02NM/21T10aIH/Pjai6Fmcv46sQ3YxbqC2Z9S9uWaNdRyight1eOZ
ONEvkr0U8DNdsMdzW1dOfF3QIsg0CbnZxhCiH8iBqD5rA0OcCYpYIOvGuxX54b+d
fJ1KBMAx0+mMpOGKn/9NN6tCL4/wLhqLTbjY8NFjHuGT8p6hOwjzFPdeCu0P6gPz
ejvgM+/ehWUJvgMue6Uq96e7+fETEnVCvSk9b75XBf4Dntkoty5vVqQPE/qts3GO
J6wREBIc
=X4OM
-----END PGP SIGNATURE-----
More information about the Debian-med-packaging
mailing list