Bug#1082306: ros-catkin-lint FTBFS with Python 3.13

Stefano Rivera stefanor at debian.org
Thu Sep 19 20:44:30 BST 2024


Source: ros-catkin-lint
Version: 1.6.22-1
Severity: normal
User: debian-python at lists.debian.org
Usertags: python3.13
Forwarded: https://github.com/fkie/catkin_lint/issues/110

This package failed build from source when test-built against a version of
python3-defaults that includes 3.13 as a supported version.

To reproduce this issue, build against python3-defaults (python3-all-dev etc.)
from Debian experimental.

What's new in Python 3.13:
https://docs.python.org/3.13/whatsnew/3.13.html

Log snippet:

RUN: catkin_lint --package-path /tmp/tmpog_9n19c/src/alpha --pkg alpha
catkin_lint: downloading melodic package index from http://127.0.0.1:9
catkin_lint: downloading package manifest for 'roscpp'
catkin_lint: downloading package manifest for 'roscpp'
catkin_lint: downloading package manifest for 'roscpp'
alpha: CMakeLists.txt(3): error: unknown package 'beta'
alpha: package.xml: error: unknown package 'beta'
catkin_lint: checked 1 packages and found 2 problems
catkin_lint: option -W2 will show 1 additional notices
ok

======================================================================
FAIL: test_exports (test.test_checks_build.ChecksBuildTest.test_exports)
Test checks for exported libraries (POSIX/NT)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_catkin-lint/build/test/helper.py", line 58, in wrapper
    func(*args, **kwargs)
    ~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/unittest/mock.py", line 1423, in patched
    return func(*newargs, **newkeywargs)
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13_catkin-lint/build/test/test_checks_build.py", line 1026, in test_exports
    self.assertEqual([], result)
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^
AssertionError: Lists differ: [] != ['MISSING_INCLUDE_PATH']

Second list contains 1 additional elements.
First extra element 0:
'MISSING_INCLUDE_PATH'

- []
+ ['MISSING_INCLUDE_PATH']

----------------------------------------------------------------------
Ran 86 tests in 2.358s

FAILED (failures=1)


If required, the full build log is available here (for the next 30 days):
https://debusine.debian.net/artifact/792562/

This bug has been filed at "normal" severity, as we haven't started the
transition to add 3.13 as a supported version, yet. This will be raised to RC
as soon as that happens, hopefully well before trixie.

Thanks,

Stefano



More information about the debian-science-maintainers mailing list