Bug 1896407
Summary: | COPASI fails to build with Python 3.10: cmake detects Python 3.1 instead of Python3.10 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Tomáš Hrnčiar <thrnciar> |
Component: | COPASI | Assignee: | Antonio T. sagitter <trpost> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | mhroncok, neuro-sig, thrnciar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-11-13 11:15:38 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1890881 |
Description
Tomáš Hrnčiar
2020-11-10 13:45:57 UTC
I guess it's due to this command execute_process(COMMAND "${PYTHON_EXECUTABLE}" -c "import sys;import platform; sys.stdout.write(platform.python_version()[:3])" inside copasi/bindings/python/CMakeLists.txt $ mock -r fedora-rawhide-python310 --no-clean --shell 'python3 -c "import sys;import platform; sys.stdout.write(platform.python_version()[:3])"' INFO: mock.py version 2.6 starting (python version = 3.9.0)... 3.1 Finish: shell How can i correctly port it for Python-3.10? $ python3.10 -c "import sys;import platform; sys.stdout.write('{}.{}'.format(*platform.python_version_tuple()[:2]))" Thank you Miro. Hope last build release is fixed. |