Package: python3-setuptools-scm Version: 7.1.0-1 Severity: serious Justification: missing dependency causes FTBFS in unrelated packages
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Dear maintainer, python3-setuptools-scm has a 'python3-tomli || python3 (>> 3.11)' dependency, which breaks python3.10 builds now that python3 has transitioned to 3.11 as default version. Adding python3-tomli unconditionally until Python 3.10 is dropped from the archive will resolve the issue. Example build log excerpt from ros-catkin-lint follows: debian/rules clean dh clean --buildsystem=pybuild dh_auto_clean -O--buildsystem=pybuild I: pybuild base:240: python3.10 setup.py clean /usr/lib/python3/dist-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer. warnings.warn( WARNING: The wheel package is not available. /usr/bin/python3.10: No module named pip Traceback (most recent call last): File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 82, in fetch_build_egg subprocess.check_call(cmd) File "/usr/lib/python3.10/subprocess.py", line 369, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['/usr/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpbhsnm7hs', '--quiet', 'tomli>=1.0.0']' returned non-zero exit status 1. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/<<PKGBUILDDIR>>/setup.py", line 42, in <module> setup( File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 86, in setup _install_setup_requires(attrs) File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 80, in _install_setup_requires dist.fetch_build_eggs(dist.setup_requires) File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 874, in fetch_build_eggs resolved_dists = pkg_resources.working_set.resolve( File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 789, in resolve dist = best[req.key] = env.best_match( File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1075, in best_match return self.obtain(req, installer) File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1087, in obtain return installer(requirement) File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 944, in fetch_build_egg return fetch_build_egg(self, req) File "/usr/lib/python3/dist-packages/setuptools/installer.py", line 84, in fetch_build_egg raise DistutilsError(str(e)) from e distutils.errors.DistutilsError: Command '['/usr/bin/python3.10', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmpbhsnm7hs', '--quiet', 'tomli>=1.0.0']' returned non-zero exit status 1. E: pybuild pybuild:388: clean: plugin distutils failed with: exit code=1: python3.10 setup.py clean dh_auto_clean: error: pybuild --clean -i python{version} -p "3.10 3.11" returned exit code 13 make: *** [debian/rules:24: clean] Error 25 -----BEGIN PGP SIGNATURE----- iQGzBAEBCgAdFiEEJvtDgpxjkjCIVtam+C8H+466LVkFAmO2BMcACgkQ+C8H+466 LVkKwQwAjl+b4mijVOrvaxJ/gQm981m7Z+5QN9xjU/LKJ1f66QE/3lZW6tjS6VP9 1+uLpZx9nGTKCSEat2RXu8t+BgyxkoDM21QHyy6DbdeGaPsr8cvBvdlZYHCW7obn bSnPHcMKEZfGptlZ5URCZvgbu8o23lTi+hkFNbzTIoMoR2jCev1mfl6Fx7LUwWCa cbBlGFDGKYwcugNIx4yGt7VmW2urdTd/5UUqyz3CzeDkwof83dTLHrb7F9/dT91s Qw3wc9STsSlsbNG4pBS2aTxx1C4CHLbSpXqHBjsoQ2zJQISm8ll9mq/nVaz2Rb58 EBil8GPCBzHHWhcUYrscHhUxPjbgsGkVFlGbN5308tO2bhKTYKwtTCS+IVbZsc8j dwllYJJtlUxtslJsHgDIrU6/4vPrmAmQCuDXVT25uSawqo2PPNkqAAqx4rF+kIiZ LQhgxwo8i5n6Ezi8kUWK3wLMOG/A8sJqdEDlm1N95BuheuJ/c568xFKtQywcUR8d 3x00rsS8 =KGeU -----END PGP SIGNATURE-----