https://bugzilla.redhat.com/show_bug.cgi?id=2251779
Bug ID: 2251779
Summary: python-zope-testrunner fails to build with Python
3.13: ImportError: cannot import name
'_start_new_thread' from 'threading'
Product: Fedora
Version: rawhide
Status: NEW
Component: python-zope-testrunner
Assignee: loganjerry(a)gmail.com
Reporter: ksurma(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: aurelien(a)bompard.org,
epel-packagers-sig(a)lists.fedoraproject.org,
infra-sig(a)lists.fedoraproject.org, ksurma(a)redhat.com,
loganjerry(a)gmail.com, mhroncok(a)redhat.com,
michel(a)michel-slm.name
Blocks: 2244836 (PYTHON3.13)
Target Milestone: ---
Classification: Fedora
python-zope-testrunner fails to build with Python 3.13.0a1.
This report is automated and not very verbose, but we'll try to get back here
with details.
+ python3 -m unittest discover -s zope/testrunner -t .
.........................................E
======================================================================
ERROR: zope.testrunner.tests.test_threadsupport
(unittest.loader._FailedTest.zope.testrunner.tests.test_threadsupport)
----------------------------------------------------------------------
ImportError: Failed to import test module:
zope.testrunner.tests.test_threadsupport
Traceback (most recent call last):
File "/usr/lib64/python3.13/unittest/loader.py", line 394, in _find_test_path
module = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/unittest/loader.py", line 337, in
_get_module_from_name
__import__(name)
File
"/builddir/build/BUILDROOT/python-zope-testrunner-6.2-1.fc40.x86_64/usr/lib/python3.13/site-packages/zope/testrunner/tests/test_threadsupport.py",
line 16, in <module>
from threading import _start_new_thread
ImportError: cannot import name '_start_new_thread' from 'threading'
(/usr/lib64/python3.13/threading.py). Did you mean: '_start_joinable_thread'?
----------------------------------------------------------------------
Ran 42 tests in 0.014s
https://docs.python.org/3.13/whatsnew/3.13.html
For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora...
For all our attempts to build python-zope-testrunner with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/pytho...
Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package
builds with Python 3.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/
Let us know here if you have any questions.
Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all
pre-releases of Python 3.13.
A build failure prevents us from testing all dependent packages (transitive
[Build]Requires),
so if this package is required a lot, it's important for us to get it fixed
soon.
We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work
around it on our side.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=2244836
[Bug 2244836] Python 3.13
--
You are receiving this mail because:
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2251779
Report this comment as SPAM:
https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=rep...