Source: python-oslo.privsep
Version: 3.4.0-2
Severity: normal
User: debian-pyt...@lists.debian.org
Usertags: python3.13

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
The pipes module was removed in 3.13.

Log snippet:

PYTHONPATH=/<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages 
pkgos-dh_auto_test --no-py2
+ PKGOS_TEST_PARALLEL=yes
+ PKGOS_TEST_SERIAL=no
+ PYTHONS=disabled
+ PYTHON3S=disabled
+ TEST_PARALLEL_OPT=--parallel
+ TEST_SERIAL_OPT=
+ echo WARNING: --no-py2 is deprecated, and always on.
WARNING: --no-py2 is deprecated, and always on.
+ shift
+ py3versions -vr
+ PYTHON3S=3.13 3.12
+ [ yes = no ]
+ [ no = yes ]
+ [ 3.13 = disabled ]
+ echo 3.13
+ cut -d. -f1
+ PYMAJOR=3
+ echo ===> Testing with python (python3)
===> Testing with python (python3)
+ pwd
+ [ -d /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages ]
+ [ -z /<<PKGBUILDDIR>>/debian/tmp/usr/lib/python3/dist-packages ]
+ [ -e .stestr.conf ]
+ [ -x /usr/bin/python3-stestr ]
+ STESTR=stestr
+ rm -rf .stestr
+ PYTHON=python3.13 stestr run --parallel --subunit
+ subunit2pyunit

=========================
Failures during discovery
=========================
--- import errors ---
Failed to import test module: oslo_privsep.tests.test_priv_context
Traceback (most recent call last):
  File "/usr/lib/python3.13/unittest/loader.py", line 396, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib/python3.13/unittest/loader.py", line 339, in 
_get_module_from_name
    __import__(name)
    ~~~~~~~~~~^^^^^^
  File "/<<PKGBUILDDIR>>/oslo_privsep/tests/test_priv_context.py", line 18, in 
<module>
    import pipes
ModuleNotFoundError: No module named 'pipes'

================================================================================
The above traceback was encountered during test discovery which imports all the 
found test modules in the specified test_path.

----------------------------------------------------------------------
Ran 0 tests in 0.901s

NO TESTS RAN
+ stestr slowest
make[1]: *** [debian/rules:21: override_dh_auto_install] Error 3
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit 
status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-20T17:12:24Z


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

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

Reply via email to