Bug 2011395 - Review Request: python3.11 - Version 3.11 of the Python interpreter
Summary: Review Request: python3.11 - Version 3.11 of the Python interpreter
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: Package Review
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Miro Hrončok
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-06 14:32 UTC by Tomáš Hrnčiar
Modified: 2021-10-26 09:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-26 09:30:59 UTC
Type: ---
Embargoed:
mhroncok: fedora-review+


Attachments (Terms of Use)

Description Tomáš Hrnčiar 2021-10-06 14:32:38 UTC
Spec URL: https://download.copr.fedorainfracloud.org/results/@python/python3.11/fedora-rawhide-x86_64/02876469-python3.11/python3.11.spec
SRPM URL: https://download.copr.fedorainfracloud.org/results/@python/python3.11/fedora-rawhide-x86_64/02876469-python3.11/python3.11-3.11.0~a1-1.fc36.src.rpm
Description:
Python 3.11 is an accessible, high-level, dynamically typed, interpreted programming language, designed with an emphasis on code readability.
It includes an extensive standard library, and has a vast ecosystem of third-party libraries.
Fedora Account System Username: thrnciar

Comment 1 Miro Hrončok 2021-10-06 14:43:15 UTC
Mentions of 3.10 in the spec:

# The release manager for Python 3.10 is pablogsal  -> of 3.11


# 3.10-9 macros started to set $RPM_BUILD_ROOT when expanding macros like %%python3_sitearch,
# which is necessary since patch 251 changed from distutils to sysconfig

This version requirement can be cleaned. The code will only actually "happen" when the %__default_python3_pkgversion macro is 3.11 and that only happens when the macro package is versioned 3.11.
Similarily, the conflict for pip < xyz can be removed, as we will only build a newer pip for Python 3.11.


# test_frozentable fails with Python 3.10.0a6 (https://bugs.python.org/issue43372)

The issue is marked as resolved and the test is likely able to pass now and we should enable it in 3.10 as well.

Comment 2 Tomáš Hrnčiar 2021-10-07 05:25:38 UTC
Thank you, here is the updated SPEC file: https://src.fedoraproject.org/fork/thrnciar/rpms/python3.10/diff/rawhide..python3.11

Comment 5 Miro Hrončok 2021-10-08 15:05:00 UTC
The SRPM has a different bconds set than the spec file. I'll talked to Tomáš and we'll finish this next week.

Comment 6 Miro Hrončok 2021-10-08 15:35:24 UTC
Here's an actual scratch build from the spec file https://koji.fedoraproject.org/koji/taskinfo?taskID=76923061

Comment 9 Miro Hrončok 2021-10-08 22:33:55 UTC
Build passes on all Fedoras.

Except for a missing branch in https://github.com/fedora-python/cpython this is ready to go.

Comment 11 Miro Hrončok 2021-10-11 11:08:52 UTC
Package approved. Thanks!


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