Package: src:ros-bloom
Version: 0.11.2-6
Severity: important
Tags: sid trixie ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.12
With python3-defaults from experimental, the package fails its autopkg
tests:
[...]
519s autopkgtest [14:19:30]: test run-test-suite: [-----------------------
520s ============================= test session starts
==============================
520s platform linux -- Python 3.12.1, pytest-7.4.4, pluggy-1.3.0
520s rootdir: /tmp/tmp.7dDRjoGDyR
520s collected 2 items / 5 errors
520s
520s ==================================== ERRORS
====================================
520s ____________ ERROR collecting test/system_tests/test_bloom_setup.py
____________
520s /usr/lib/python3/dist-packages/bloom/rosdistro_api.py:60: in <module>
520s import rosdistro
520s /usr/lib/python3/dist-packages/rosdistro/__init__.py:51: in <module>
520s from .distribution import Distribution # noqa
520s /usr/lib/python3/dist-packages/rosdistro/distribution.py:35: in
<module>
520s from .manifest_provider.git import git_manifest_provider,
git_source_manifest_provider
520s
/usr/lib/python3/dist-packages/rosdistro/manifest_provider/git.py:44: in
<module>
520s from rosdistro.vcs import Git, ref_is_hash
520s /usr/lib/python3/dist-packages/rosdistro/vcs.py:39: in <module>
520s from distutils.version import LooseVersion
520s E ModuleNotFoundError: No module named 'distutils'
520s
520s During handling of the above exception, another exception occurred:
520s test/system_tests/test_bloom_setup.py:13: in <module>
520s from bloom.config import BLOOM_CONFIG_BRANCH
520s /usr/lib/python3/dist-packages/bloom/config.py:60: in <module>
520s from bloom.rosdistro_api import get_non_eol_distros_prompt
520s /usr/lib/python3/dist-packages/bloom/rosdistro_api.py:67: in <module>
520s error("rosdistro was not detected, please install it.",
file=sys.stderr,
520s /usr/lib/python3/dist-packages/bloom/logging.py:280: in error
520s sys.exit(msg)
520s E SystemExit: [31m[1mrosdistro was not detected, please install
it.[0m
520s __________ ERROR collecting
test/system_tests/test_catkin_release.py ___________
520s test/system_tests/test_catkin_release.py:12: in <module>
520s from vcstools.vcs_abstraction import get_vcs_client
520s /usr/lib/python3/dist-packages/vcstools/__init__.py:47: in <module>
520s from vcstools.git import GitClient
520s /usr/lib/python3/dist-packages/vcstools/git.py:63: in <module>
520s from distutils.version import LooseVersion
520s E ModuleNotFoundError: No module named 'distutils'
520s
520s During handling of the above exception, another exception occurred:
520s test/system_tests/test_catkin_release.py:15: in <module>
520s sys.exit(1)
520s E SystemExit: 1
520s ------------------------------- Captured stderr
--------------------------------
520s vcstools was not detected, please install it.
520s _______________ ERROR collecting test/unit_tests/test_config.py
________________
520s /usr/lib/python3/dist-packages/bloom/rosdistro_api.py:60: in <module>
520s import rosdistro
520s /usr/lib/python3/dist-packages/rosdistro/__init__.py:51: in <module>
520s from .distribution import Distribution # noqa
520s /usr/lib/python3/dist-packages/rosdistro/distribution.py:35: in
<module>
520s from .manifest_provider.git import git_manifest_provider,
git_source_manifest_provider
520s
/usr/lib/python3/dist-packages/rosdistro/manifest_provider/git.py:44: in
<module>
520s from rosdistro.vcs import Git, ref_is_hash
520s /usr/lib/python3/dist-packages/rosdistro/vcs.py:39: in <module>
520s from distutils.version import LooseVersion
520s E ModuleNotFoundError: No module named 'distutils'
520s
520s During handling of the above exception, another exception occurred:
520s test/unit_tests/test_config.py:6: in <module>
520s from bloom.config import validate_track_versions
520s /usr/lib/python3/dist-packages/bloom/config.py:60: in <module>
520s from bloom.rosdistro_api import get_non_eol_distros_prompt
520s /usr/lib/python3/dist-packages/bloom/rosdistro_api.py:67: in <module>
520s error("rosdistro was not detected, please install it.",
file=sys.stderr,
520s /usr/lib/python3/dist-packages/bloom/logging.py:280: in error
520s sys.exit(msg)
520s E SystemExit: [31m[1mrosdistro was not detected, please install
it.[0m
520s ______________ ERROR collecting test/unit_tests/test_packages.py
_______________
520s /usr/lib/python3/dist-packages/bloom/rosdistro_api.py:60: in <module>
520s import rosdistro
520s /usr/lib/python3/dist-packages/rosdistro/__init__.py:51: in <module>
520s from .distribution import Distribution # noqa
520s /usr/lib/python3/dist-packages/rosdistro/distribution.py:35: in
<module>
520s from .manifest_provider.git import git_manifest_provider,
git_source_manifest_provider
520s
/usr/lib/python3/dist-packages/rosdistro/manifest_provider/git.py:44: in
<module>
520s from rosdistro.vcs import Git, ref_is_hash
520s /usr/lib/python3/dist-packages/rosdistro/vcs.py:39: in <module>
520s from distutils.version import LooseVersion
520s E ModuleNotFoundError: No module named 'distutils'
520s
520s During handling of the above exception, another exception occurred:
520s test/unit_tests/test_packages.py:8: in <module>
520s from bloom.packages import get_package_data
520s /usr/lib/python3/dist-packages/bloom/packages.py:46: in <module>
520s from bloom.config import BLOOM_CONFIG_BRANCH
520s /usr/lib/python3/dist-packages/bloom/config.py:60: in <module>
520s from bloom.rosdistro_api import get_non_eol_distros_prompt
520s /usr/lib/python3/dist-packages/bloom/rosdistro_api.py:67: in <module>
520s error("rosdistro was not detected, please install it.",
file=sys.stderr,
520s /usr/lib/python3/dist-packages/bloom/logging.py:280: in error
520s sys.exit(msg)
520s E SystemExit: [31m[1mrosdistro was not detected, please install
it.[0m
520s _ ERROR collecting
test/unit_tests/test_generators/test_debian/test_generator.py _
520s /usr/lib/python3/dist-packages/bloom/rosdistro_api.py:60: in <module>
520s import rosdistro
520s /usr/lib/python3/dist-packages/rosdistro/__init__.py:51: in <module>
520s from .distribution import Distribution # noqa
520s /usr/lib/python3/dist-packages/rosdistro/distribution.py:35: in
<module>
520s from .manifest_provider.git import git_manifest_provider,
git_source_manifest_provider
520s
/usr/lib/python3/dist-packages/rosdistro/manifest_provider/git.py:44: in
<module>
520s from rosdistro.vcs import Git, ref_is_hash
520s /usr/lib/python3/dist-packages/rosdistro/vcs.py:39: in <module>
520s from distutils.version import LooseVersion
520s E ModuleNotFoundError: No module named 'distutils'
520s
520s During handling of the above exception, another exception occurred:
520s test/unit_tests/test_generators/test_debian/test_generator.py:5: in
<module>
520s from bloom.generators.debian.generator import em
520s /usr/lib/python3/dist-packages/bloom/generators/__init__.py:35: in
<module>
520s from .common import BloomGenerator
520s /usr/lib/python3/dist-packages/bloom/generators/common.py:43: in
<module>
520s from bloom.rosdistro_api import get_distribution_type
520s /usr/lib/python3/dist-packages/bloom/rosdistro_api.py:67: in <module>
520s error("rosdistro was not detected, please install it.",
file=sys.stderr,
520s /usr/lib/python3/dist-packages/bloom/logging.py:280: in error
520s sys.exit(msg)
520s E SystemExit: [31m[1mrosdistro was not detected, please install
it.[0m
520s =============================== warnings summary
===============================
520s ../../usr/lib/python3/dist-packages/bloom/__init__.py:2
520s /usr/lib/python3/dist-packages/bloom/__init__.py:2:
DeprecationWarning: pkg_resources is deprecated as an API. See
https://setuptools.pypa.io/en/latest/pkg_resources.html
520s import pkg_resources
520s
520s ../../usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871
520s /usr/lib/python3/dist-packages/pkg_resources/__init__.py:2871:
DeprecationWarning: Deprecated call to
`pkg_resources.declare_namespace('zope')`.
520s Implementing implicit namespace packages (as specified in PEP
420) is preferred to `pkg_resources.declare_namespace`. See
https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
520s declare_namespace(pkg)
520s
520s test/system_tests/test_catkin_release.py:378
520s /tmp/tmp.7dDRjoGDyR/test/system_tests/test_catkin_release.py:378:
SyntaxWarning: invalid escape sequence '\d'
520s format_version = int(re.search('format="(\d+)"',
520s
520s ../../usr/lib/python3/dist-packages/dateutil/tz/tz.py:37
520s /usr/lib/python3/dist-packages/dateutil/tz/tz.py:37:
DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated
and scheduled for removal in a future version. Use timezone-aware
objects to represent datetimes in UTC:
datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
520s EPOCH = datetime.datetime.utcfromtimestamp(0)
520s
520s -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
520s =========================== short test summary info
============================
520s ERROR test/system_tests/test_bloom_setup.py - SystemExit:
[31m[1mrosdistro was not detected, please install it.[0m
520s ERROR test/system_tests/test_catkin_release.py - SystemExit: 1
520s ERROR test/unit_tests/test_config.py - SystemExit:
[31m[1mrosdistro was not detected, please install it.[0m
520s ERROR test/unit_tests/test_packages.py - SystemExit:
[31m[1mrosdistro was not detected, please install it.[0m
520s ERROR test/unit_tests/test_generators/test_debian/test_generator.py
- SystemExit: [31m[1mrosdistro was not detected, please install it.[0m
520s !!!!!!!!!!!!!!!!!!! Interrupted: 5 errors during collection
!!!!!!!!!!!!!!!!!!!!
520s ======================== 4 warnings, 5 errors in 0.56s
=========================
520s autopkgtest [14:19:31]: test run-test-suite: -----------------------]
521s run-test-suite FAIL non-zero exit status 2