Bug 2327999 - qpid-proton fails to build with Python 3.14: error: File not found: /builddir/build/BUILD/qpid-proton-0.38.0-build/BUILDROOT/usr/share/proton/docs/api-py
Summary: qpid-proton fails to build with Python 3.14: error: File not found: /builddir...
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora
Classification: Fedora
Component: qpid-proton
Version: 42
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Hirotaka Wakabayashi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.14
TreeView+ depends on / blocked
 
Reported: 2024-11-22 10:40 UTC by Karolina Surma
Modified: 2025-02-26 13:17 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2024-11-22 10:40:18 UTC
qpid-proton fails to build with Python 3.14.0a2.

RPM build errors:
error: File not found: /builddir/build/BUILD/qpid-proton-0.38.0-build/BUILDROOT/usr/share/proton/docs/api-py

https://docs.python.org/3.14/whatsnew/3.14.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.14/fedora-rawhide-x86_64/08292619-qpid-proton/

For all our attempts to build qpid-proton with Python 3.14, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/qpid-proton/

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.14:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/

Let us know here if you have any questions.

Python 3.14 is planned to be included in Fedora 43.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14.
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.

Comment 1 Miro Hrončok 2024-11-22 10:58:12 UTC
There's also this in the log:


Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import sys, pkgutil; sys.exit(0 if pkgutil.find_loader('setuptools') else 1)
                                       ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'find_loader'
-- Looking for Python module setuptools - not found
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import sys, pkgutil; sys.exit(0 if pkgutil.find_loader('wheel') else 1)
                                       ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'find_loader'
-- Looking for Python module wheel - not found
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import sys, pkgutil; sys.exit(0 if pkgutil.find_loader('flake8') else 1)
                                       ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'find_loader'
-- Looking for Python module flake8 - not found
Traceback (most recent call last):
  File "<string>", line 1, in <module>
    import sys, pkgutil; sys.exit(0 if pkgutil.find_loader('tox') else 1)
                                       ^^^^^^^^^^^^^^^^^^^
AttributeError: module 'pkgutil' has no attribute 'find_loader'



Perhaps that's the reason why the installation is incomplete?

Comment 2 Hirotaka Wakabayashi 2024-12-04 10:14:55 UTC
Hello, Thanks for the report. I will check this.

Comment 3 Aoife Moloney 2025-02-26 13:17:44 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 42 development cycle.
Changing version to 42.


Note You need to log in before you can comment on or make changes to this bug.