Source: python-fire
Version: 0.6.0-1
Severity: normal
User: debian-pyt...@lists.debian.org
Usertags: python3.13
Forwarded: https://github.com/google/python-fire/issues/444

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:

   dh_auto_test -O-Spybuild
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; 
python3.13 -m unittest discover -v 
fire (unittest.loader._FailedTest.fire) ... ERROR

======================================================================
ERROR: fire (unittest.loader._FailedTest.fire)
----------------------------------------------------------------------
ImportError: Failed to import test module: fire
Traceback (most recent call last):
  File "/usr/lib/python3.13/unittest/loader.py", line 429, in _find_test_path
    package = 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>>/.pybuild/cpython3_3.13/build/fire/__init__.py", line 
21, in <module>
    from fire.core import Fire
  File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build/fire/core.py", line 59, 
in <module>
    import pipes
ModuleNotFoundError: No module named 'pipes'


----------------------------------------------------------------------
Ran 1 test in 0.000s

FAILED (errors=1)
E: pybuild pybuild:389: test: plugin distutils failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m unittest discover 
-v 
I: pybuild base:311: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.12/build; 
python3.12 -m unittest discover -v 
testNonComparable 
(fire.test_components_test.TestComponentsTest.testNonComparable) ... ok
testTestComponents 
(fire.test_components_test.TestComponentsTest.testTestComponents) ... ok
testCheckStdoutOrStderrNone 
(fire.testutils_test.TestTestUtils.testCheckStdoutOrStderrNone) ... ok
testCorrectOrderingOfAssertRaises 
(fire.testutils_test.TestTestUtils.testCorrectOrderingOfAssertRaises) ... ok
testNoCheckOnException 
(fire.testutils_test.TestTestUtils.testNoCheckOnException) ... ok

----------------------------------------------------------------------
Ran 5 tests in 0.001s

OK
dh_auto_test: error: pybuild --test -i python{version} -p "3.13 3.12" returned 
exit code 13
make: *** [debian/rules:3: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T01:43:57Z


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

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