Source: oz Version: 0.17.0-5.1 Severity: serious -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Dear maintainer, your package implicitly depends on python3-py for its autopkgtest, which used to be provided by python3-pytest. However, pytest has dropped that dependency, breaking your autopkgtest. Note that you can replace py.test.foo with pytest.foo and avoid the dependency on python3-py altogether. Cheers Timo - --- Relevant excerpt from https://ci.debian.net/data/autopkgtest/testing/amd64/o/oz/35449828/log.gz 50s ==================================== ERRORS ==================================== 50s ________________ ERROR collecting tests/factory/test_factory.py ________________ 50s tests/factory/test_factory.py:34: in <module> 50s import py.test 50s E ModuleNotFoundError: No module named 'py.test'; 'py' is not a package 50s 50s During handling of the above exception, another exception occurred: 50s /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call 50s result: Optional[TResult] = func() 50s /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda> 50s call = CallInfo.from_call(lambda: list(collector.collect()), "collect") 50s /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect 50s self._inject_setup_module_fixture() 50s /usr/lib/python3/dist-packages/_pytest/python.py:545: in _inject_setup_module_fixture 50s self.obj, ("setUpModule", "setup_module") 50s /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj 50s self._obj = obj = self._getobj() 50s /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj 50s return self._importtestmodule() 50s /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule 50s mod = import_path(self.path, mode=importmode, root=self.config.rootpath) 50s /usr/lib/python3/dist-packages/_pytest/pathlib.py:565: in import_path 50s importlib.import_module(module_name) 50s /usr/lib/python3.11/importlib/__init__.py:126: in import_module 50s return _bootstrap._gcd_import(name[level:], package, level) 50s <frozen importlib._bootstrap>:1204: in _gcd_import 50s ??? 50s <frozen importlib._bootstrap>:1176: in _find_and_load 50s ??? 50s <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked 50s ??? 50s <frozen importlib._bootstrap>:690: in _load_unlocked 50s ??? 50s /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in exec_module 50s exec(co, module.__dict__) 50s tests/factory/test_factory.py:37: in <module> 50s sys.exit(1) 50s E SystemExit: 1 50s ------------------------------- Captured stdout -------------------------------- 50s Unable to import py.test. Is py.test installed? 50s __________________ ERROR collecting tests/guest/test_guest.py __________________ 50s tests/guest/test_guest.py:34: in <module> 50s import py.test 50s E ModuleNotFoundError: No module named 'py.test'; 'py' is not a package 50s 50s During handling of the above exception, another exception occurred: 50s /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call 50s result: Optional[TResult] = func() 50s /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda> 50s call = CallInfo.from_call(lambda: list(collector.collect()), "collect") 50s /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect 50s self._inject_setup_module_fixture() 50s /usr/lib/python3/dist-packages/_pytest/python.py:545: in _inject_setup_module_fixture 50s self.obj, ("setUpModule", "setup_module") 50s /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj 50s self._obj = obj = self._getobj() 50s /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj 50s return self._importtestmodule() 50s /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule 50s mod = import_path(self.path, mode=importmode, root=self.config.rootpath) 50s /usr/lib/python3/dist-packages/_pytest/pathlib.py:565: in import_path 50s importlib.import_module(module_name) 50s /usr/lib/python3.11/importlib/__init__.py:126: in import_module 50s return _bootstrap._gcd_import(name[level:], package, level) 50s <frozen importlib._bootstrap>:1204: in _gcd_import 50s ??? 50s <frozen importlib._bootstrap>:1176: in _find_and_load 50s ??? 50s <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked 50s ??? 50s <frozen importlib._bootstrap>:690: in _load_unlocked 50s ??? 50s /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in exec_module 50s exec(co, module.__dict__) 50s tests/guest/test_guest.py:37: in <module> 50s sys.exit(1) 50s E SystemExit: 1 50s ------------------------------- Captured stdout -------------------------------- 50s Unable to import py.test. Is py.test installed? 50s _________________ ERROR collecting tests/ozutil/test_ozutil.py _________________ 50s tests/ozutil/test_ozutil.py:7: in <module> 50s import py.test 50s E ModuleNotFoundError: No module named 'py.test'; 'py' is not a package 50s 50s During handling of the above exception, another exception occurred: 50s /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call 50s result: Optional[TResult] = func() 50s /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda> 50s call = CallInfo.from_call(lambda: list(collector.collect()), "collect") 50s /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect 50s self._inject_setup_module_fixture() 50s /usr/lib/python3/dist-packages/_pytest/python.py:545: in _inject_setup_module_fixture 50s self.obj, ("setUpModule", "setup_module") 50s /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj 50s self._obj = obj = self._getobj() 50s /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj 50s return self._importtestmodule() 50s /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule 50s mod = import_path(self.path, mode=importmode, root=self.config.rootpath) 50s /usr/lib/python3/dist-packages/_pytest/pathlib.py:565: in import_path 50s importlib.import_module(module_name) 50s /usr/lib/python3.11/importlib/__init__.py:126: in import_module 50s return _bootstrap._gcd_import(name[level:], package, level) 50s <frozen importlib._bootstrap>:1204: in _gcd_import 50s ??? 50s <frozen importlib._bootstrap>:1176: in _find_and_load 50s ??? 50s <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked 50s ??? 50s <frozen importlib._bootstrap>:690: in _load_unlocked 50s ??? 50s /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in exec_module 50s exec(co, module.__dict__) 50s tests/ozutil/test_ozutil.py:10: in <module> 50s sys.exit(1) 50s E SystemExit: 1 50s ------------------------------- Captured stdout -------------------------------- 50s Unable to import py.test. Is py.test installed? 50s ____________________ ERROR collecting tests/tdl/test_tdl.py ____________________ 50s tests/tdl/test_tdl.py:13: in <module> 50s import py.test 50s E ModuleNotFoundError: No module named 'py.test'; 'py' is not a package 50s 50s During handling of the above exception, another exception occurred: 50s /usr/lib/python3/dist-packages/_pytest/runner.py:341: in from_call 50s result: Optional[TResult] = func() 50s /usr/lib/python3/dist-packages/_pytest/runner.py:372: in <lambda> 50s call = CallInfo.from_call(lambda: list(collector.collect()), "collect") 50s /usr/lib/python3/dist-packages/_pytest/python.py:531: in collect 50s self._inject_setup_module_fixture() 50s /usr/lib/python3/dist-packages/_pytest/python.py:545: in _inject_setup_module_fixture 50s self.obj, ("setUpModule", "setup_module") 50s /usr/lib/python3/dist-packages/_pytest/python.py:310: in obj 50s self._obj = obj = self._getobj() 50s /usr/lib/python3/dist-packages/_pytest/python.py:528: in _getobj 50s return self._importtestmodule() 50s /usr/lib/python3/dist-packages/_pytest/python.py:617: in _importtestmodule 50s mod = import_path(self.path, mode=importmode, root=self.config.rootpath) 50s /usr/lib/python3/dist-packages/_pytest/pathlib.py:565: in import_path 50s importlib.import_module(module_name) 50s /usr/lib/python3.11/importlib/__init__.py:126: in import_module 50s return _bootstrap._gcd_import(name[level:], package, level) 50s <frozen importlib._bootstrap>:1204: in _gcd_import 50s ??? 50s <frozen importlib._bootstrap>:1176: in _find_and_load 50s ??? 50s <frozen importlib._bootstrap>:1147: in _find_and_load_unlocked 50s ??? 50s <frozen importlib._bootstrap>:690: in _load_unlocked 50s ??? 50s /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:178: in exec_module 50s exec(co, module.__dict__) 50s tests/tdl/test_tdl.py:16: in <module> 50s sys.exit(1) 50s E SystemExit: 1 50s ------------------------------- Captured stdout -------------------------------- 50s Unable to import py.test. Is py.test installed? -----BEGIN PGP SIGNATURE----- iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmSoUgUACgkQ+C8H+466 LVlDJAwA1OpJjXWAsg9f+AephUJEAM5KgNRgZAU0rcXJ94hDDFOSv7fuvqOhfb4P ElS3Bo7agIezla1l31jtwbclNenbrFWPeVbpLFRzdOFoTlaqP3l/ChH7VuiUZG41 DjU3mBNC5gzslKkZBQWeqH45yB7Sev9c/i2oHfTeDrKvhkK5wIih4p9VAH/c4nCd M5/OZ0QyZI6Cbuac/Z4yramTtfOC3W9ID6Bbc3VQpsFhMNGYcVQT0Bok0lEtoGgK iL+l1I6fJzXJ8IeVGZ8bCTVZ9Z/AthyQRXj8IKFlnQlEtOIkfpAJmVyZ8pJ+c2I7 jBAeUb6cplWnlN/fh8YHmPS1TuwdzpGsM+Q0bGFy9uPJYRFH1iv6Wciu6YxTSmUB dCq0CuirO20iwRABBooEfGT4b1kmwuySwRNkrRbZjVnsKLfDjYInVT3fapH7Wtz+ AqJRXEduBEqCOTk8S0ih/sYGc/mEze7CDWUpD/6kk4cfy7eaEacqNtSSwLYyoDMR X9CpFaQ0 =4eHI -----END PGP SIGNATURE-----