[Bug 2248129] New: python-pyqt6 fails to build with Python 3.13: RecursionError: maximum recursion depth exceeded in comparison
by bugzilla@redhat.com
https://bugzilla.redhat.com/show_bug.cgi?id=2248129
Bug ID: 2248129
Summary: python-pyqt6 fails to build with Python 3.13:
RecursionError: maximum recursion depth exceeded in
comparison
Product: Fedora
Version: rawhide
Status: NEW
Component: python-pyqt6
Assignee: thunderbirdtr(a)fedoraproject.org
Reporter: ksurma(a)redhat.com
CC: epel-packagers-sig(a)lists.fedoraproject.org,
jonathan(a)almalinux.org,
kde-sig(a)lists.fedoraproject.org, ksurma(a)redhat.com,
manisandro(a)gmail.com, mhroncok(a)redhat.com,
thunderbirdtr(a)fedoraproject.org
Blocks: 2244836 (PYTHON3.13)
Target Milestone: ---
Classification: Fedora
python-pyqt6 fails to build with Python 3.13.0a1.
WARNING: Couldn't create 'sipbuild.generator.parser.parsetab'. [Errno 13]
Permission denied:
'/usr/lib64/python3.13/site-packages/sipbuild/generator/parser/parsetab.py'
Generating the QtCore .api file...
Generating the QtCore .pyi file...
sip-build: An internal error occurred...
Traceback (most recent call last):
File "/usr/bin/sip-build", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib64/python3.13/site-packages/sipbuild/tools/build.py", line 37,
in main
handle_exception(e)
File "/usr/lib64/python3.13/site-packages/sipbuild/exceptions.py", line 81,
in handle_exception
raise e
File "/usr/lib64/python3.13/site-packages/sipbuild/tools/build.py", line 34,
in main
project.build()
File "/usr/lib64/python3.13/site-packages/sipbuild/project.py", line 245, in
build
self.builder.build()
File "/usr/lib64/python3.13/site-packages/sipbuild/builder.py", line 48, in
build
self._generate_bindings()
File "/usr/lib64/python3.13/site-packages/sipbuild/builder.py", line 280, in
_generate_bindings
buildable = bindings.generate()
^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/site-packages/sipbuild/bindings.py", line 214, in
generate
output_pyi(spec, project, pyi_path)
File "/usr/lib64/python3.13/site-packages/sipbuild/generator/outputs/pyi.py",
line 53, in output_pyi
_module(pf, spec, module)
File "/usr/lib64/python3.13/site-packages/sipbuild/generator/outputs/pyi.py",
line 132, in _module
_class(pf, spec, module, klass, defined)
File "/usr/lib64/python3.13/site-packages/sipbuild/generator/outputs/pyi.py",
line 282, in _class
_ctor(pf, spec, module, ctor, nr_overloads > 1, defined, indent)
File "/usr/lib64/python3.13/site-packages/sipbuild/generator/outputs/pyi.py",
line 356, in _ctor
as_str = _argument(spec, module, arg, defined, arg_nr=arg_nr)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/site-packages/sipbuild/generator/outputs/pyi.py",
line 676, in _argument
s += _type(spec, module, arg, defined, out=out)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/site-packages/sipbuild/generator/outputs/pyi.py",
line 710, in _type
return ArgumentFormatter(spec, arg).as_type_hint(module, out, defined)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/lib64/python3.13/site-packages/sipbuild/generator/outputs/formatters/argument.py",
line 327, in as_type_hint
s += TypeHintManager(self.spec).as_type_hint(hint, out, context,
^^^^^^^^^^^^^^^^^^^^^^^^^^
File
"/usr/lib64/python3.13/site-packages/sipbuild/generator/outputs/type_hints.py",
line 107, in __new__
manager = cls._spec_manager_map[spec]
~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "/usr/lib64/python3.13/weakref.py", line 415, in __getitem__
return self.data[ref(key)]
~~~~~~~~~^^^^^^^^^^
File "<string>", line 4, in __eq__
File "<string>", line 4, in __eq__
File "<string>", line 4, in __eq__
[Previous line repeated 495 more times]
RecursionError: maximum recursion depth exceeded in comparison
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-pyqt6 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=2248129
Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-...
4 weeks, 1 day