Bug 1900632 - grammalecte fails to build with Python 3.10: make.py detects wrong Python version (3.1 instead of 3.10)
Summary: grammalecte fails to build with Python 3.10: make.py detects wrong Python ver...
Alias: None
Product: Fedora
Classification: Fedora
Component: grammalecte
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Mohamed El Morabity
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: PYTHON3.10
TreeView+ depends on / blocked
Reported: 2020-11-23 12:59 UTC by Tomáš Hrnčiar
Modified: 2020-11-28 23:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed: 2020-11-28 23:07:26 UTC
Type: Bug

Attachments (Terms of Use)

Description Tomáš Hrnčiar 2020-11-23 12:59:29 UTC
grammalecte fails to build with Python 3.10.0a2.


+ /usr/bin/python3 make.py -b -d fr
Python: 3.10.0a2 (default, Nov  4 2020, 00:00:00) 
[GCC 10.2.1 20201016 (Red Hat 10.2.1-6)]
Python 3.7+ required

make.py there is if sys.version < "3.7": which wrongly detects Python version. sys.version returns 3.1 that leads to error Python "3.7+ required".

For the build logs, see:

For all our attempts to build grammalecte with Python 3.10, see:

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.10:

Let us know here if you have any questions.

Python 3.10 will be included in Fedora 35. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.10.
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.

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