Source: python-logutils
Version: 0.3.5-3
Severity: normal
User: [email protected]
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

Log snippet:

   debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: pyversions: No such file or directory
py3versions: no X-Python3-Version in control file, using supported versions
set -x ; set -e && for pyvers in 3.13 3.12; do \
        python$pyvers setup.py test -v ; \
done
+ set -e
+ python3.13 setup.py test -v
....Some unicode string with some śćźół chars
.sEEEEEEEEEEEEEEE...........
======================================================================
ERROR: test_config0_ok (test_dictconfig.ConfigDictTest.test_config0_ok)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config1_ok (test_dictconfig.ConfigDictTest.test_config1_ok)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config2_failure 
(test_dictconfig.ConfigDictTest.test_config2_failure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config2a_failure 
(test_dictconfig.ConfigDictTest.test_config2a_failure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config2b_failure 
(test_dictconfig.ConfigDictTest.test_config2b_failure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config3_failure 
(test_dictconfig.ConfigDictTest.test_config3_failure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config4_ok (test_dictconfig.ConfigDictTest.test_config4_ok)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config4a_ok (test_dictconfig.ConfigDictTest.test_config4a_ok)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config5_ok (test_dictconfig.ConfigDictTest.test_config5_ok)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config6_failure 
(test_dictconfig.ConfigDictTest.test_config6_failure)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config7_ok (test_dictconfig.ConfigDictTest.test_config7_ok)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config_10_ok (test_dictconfig.ConfigDictTest.test_config_10_ok)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config_11_ok (test_dictconfig.ConfigDictTest.test_config_11_ok)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config_8_ok (test_dictconfig.ConfigDictTest.test_config_8_ok)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

======================================================================
ERROR: test_config_9_ok (test_dictconfig.ConfigDictTest.test_config_9_ok)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/tests/test_dictconfig.py", line 42, in setUp
    logging._acquireLock()
    ^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'logging' has no attribute '_acquireLock'

----------------------------------------------------------------------
Ran 32 tests in 0.006s

FAILED (errors=15, skipped=1)
make[1]: *** [debian/rules:22: override_dh_auto_test] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:7: build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 2024-09-19T03:41:48Z


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

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