Public bug reported: Imported from Debian bug http://bugs.debian.org/1056243:
Package: src:django-assets Version: 2.0-2.1 Severity: important Tags: sid trixie User: [email protected] Usertags: python3.12 django-assets autopkg tests fail with Python 3.12: [...] 370s autopkgtest [18:24:57]: test upstream: [----------------------- 370s Failure: ImportError (cannot import name 'assert_raises_regexp' from 'nose.tools' (/usr/lib/python3/dist-packages/nose/tools/__init__.py)) ... ERROR 370s /usr/lib/python3.12/unittest/case.py:580: RuntimeWarning: TestResult has no addDuration method 370s warnings.warn("TestResult has no addDuration method", 370s 370s ====================================================================== 370s ERROR: Failure: ImportError (cannot import name 'assert_raises_regexp' from 'nose.tools' (/usr/lib/python3/dist-packages/nose/tools/__init__.py)) 370s ---------------------------------------------------------------------- 370s Traceback (most recent call last): 370s File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest 370s raise self.exc_val.with_traceback(self.tb) 370s File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in loadTestsFromName 370s module = self.importer.importFromPath( 370s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 370s File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in importFromPath 370s return self.importFromDir(dir_path, fqname) 370s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 370s File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in importFromDir 370s mod = load_module(part_fqname, fh, filename, desc) 370s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 370s File "/usr/lib/python3/dist-packages/zombie_imp/imp_3_11.py", line 238, in load_module 370s return load_source(name, filename, file) 370s ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 370s File "/usr/lib/python3/dist-packages/zombie_imp/imp_3_11.py", line 175, in load_source 370s module = _load(spec) 370s ^^^^^^^^^^^ 370s File "<frozen importlib._bootstrap>", line 960, in _load 370s File "<frozen importlib._bootstrap>", line 929, in _load_unlocked 370s File "<frozen importlib._bootstrap_external>", line 994, in exec_module 370s File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed 370s File "/tmp/autopkgtest.0WeaPj/autopkgtest_tmp/tests/test_django.py", line 4, in <module> 370s from nose.tools import assert_raises, assert_raises_regexp 370s ImportError: cannot import name 'assert_raises_regexp' from 'nose.tools' (/usr/lib/python3/dist-packages/nose/tools/__init__.py) 370s 370s ---------------------------------------------------------------------- 370s Ran 1 test in 0.002s 370s 370s FAILED (errors=1) ** Affects: django-assets (Ubuntu) Importance: High Status: New ** Affects: django-assets (Debian) Importance: Undecided Status: New ** Tags: update-excuse ** Bug watch added: Debian Bug tracker #1056243 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1056243 ** Changed in: django-assets (Debian) Remote watch: None => Debian Bug tracker #1056243 ** Tags added: update-excuse ** Changed in: django-assets (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2075167 Title: django-assets autopkg tests fail with Python 3.12 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/django-assets/+bug/2075167/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
