Bug 2189500 - trademgen fails to build with Python 3.12: python 3.12 version is missing in cmake files
Summary: trademgen fails to build with Python 3.12: python 3.12 version is missing in ...
Keywords:
Status: RELEASE_PENDING
Alias: None
Product: Fedora
Classification: Fedora
Component: trademgen
Version: 39
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Denis Arnaud
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.12
TreeView+ depends on / blocked
 
Reported: 2023-04-25 13:17 UTC by Tomáš Hrnčiar
Modified: 2023-08-16 07:13 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2023-04-25 13:17:36 UTC
trademgen fails to build with Python 3.12.0a7.

-- Requires Python with version 3.4; however just Python3 is considered here
CMake Error at config/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Python3 (missing: Python3_INCLUDE_DIRS Python3_LIBRARIES

The problem is that python 3.12 is missing in the cmake.
https://github.com/airsim/trademgen/blob/master/config/FindPythonInterp.cmake#L57

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

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.12/fedora-rawhide-x86_64/05841093-trademgen/

For all our attempts to build trademgen with Python 3.12, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.12/package/trademgen/

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

Let us know here if you have any questions.

Python 3.12 is planned to be included in Fedora 39. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.12.
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 Denis Arnaud 2023-05-01 15:34:16 UTC
Successful build on Fedora Rawhide (F39): https://bodhi.fedoraproject.org/updates/FEDORA-2023-d951dc0119

Comment 2 Tomáš Hrnčiar 2023-05-02 06:59:03 UTC
Thank you!

Comment 3 Fedora Release Engineering 2023-08-16 07:13:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.


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