RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2137139 - RFE: Add python3.11 and a suite of ecosystem packages into RHEL 8
Summary: RFE: Add python3.11 and a suite of ecosystem packages into RHEL 8
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: python3.11
Version: 8.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Charalampos Stratakis
QA Contact: Lukáš Zachar
Lenka Špačková
URL:
Whiteboard:
Depends On: 2143990 2143991 2157616 2157661 2157665 2157666 2157667 2157668 2157670 2157671 2157672 2157673 2157674 2157675 2157676 2157677 2157678 2157679 2157680 2157681 2157682 2157683 2157684 2157685 2157686 2157687 2157688 2157689 2157690 2157691 2157692 2157693 2157694 2164412 2164415 2165702 2168662 2169780
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-10-23 18:21 UTC by Tomas Orsava
Modified: 2023-05-16 10:07 UTC (History)
11 users (show)

Fixed In Version: python3.11-3.11.2-2.el8
Doc Type: Enhancement
Doc Text:
.Python 3.11 available in RHEL 8 RHEL 8.8 introduces Python 3.11, provided by the new package `python3.11` and a suite of packages built for it, as well as the `ubi8/python-311` container image. Notable enhancements compared to the previously released Python 3.9 include: * Significantly improved performance. * Structural Pattern Matching using the new `match` keyword (similar to `switch` in other languages). * Improved error messages, for example, indicating unclosed parentheses or brackets. * Exact line numbers for debugging and other use cases. * Support for defining context managers across multiple lines by enclosing the definitions in parentheses. * Various new features related to type hints and the `typing` module, such as the new `X | Y` type union operator, variadic generics, and the new `Self` type. * Precise error locations in tracebacks pointing to the expression that caused the error. * A new `tomllib` standard library module which supports parsing TOML. * An ability to raise and handle multiple unrelated exceptions simultaneously using Exception Groups and the new `except*` syntax. Python 3.11 and packages built for it can be installed in parallel with Python 3.9, Python 3.8, and Python 3.6 on the same system. Note that, unlike the previous versions, Python 3.11 is distributed as standard RPM packages instead of a module. To install packages from the `python3.11` stack, use, for example: [literal] ---- # yum install python3.11 # yum install python3.11-pip ---- To run the interpreter, use, for example: [literal] ---- $ python3.11 $ python3.11 -m pip --help ---- See link:https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/configuring_basic_system_settings/index#assembly_installing-and-using-python_configuring-basic-system-settings[Installing and using Python] for more information. Note that Red Hat will continue to provide support for Python 3.6 until the end of life of RHEL 8. Similarly to Python 3.9, Python 3.11 will have a shorter life cycle; see link:https://access.redhat.com/support/policy/updates/rhel-app-streams-life-cycle[Red Hat Enterprise Linux Application Streams Life Cycle].
Clone Of: 2127923
Environment:
Last Closed: 2023-05-16 08:41:11 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2127923 0 unspecified CLOSED RFE: Add python3.11 and a suite of ecosystem packages into RHEL 9 2023-07-18 10:10:54 UTC
Red Hat Issue Tracker RHELPLAN-137348 0 None None None 2022-10-23 18:42:18 UTC
Red Hat Product Errata RHBA-2023:2882 0 None None None 2023-05-16 08:41:12 UTC

Internal Links: 2127923

Comment 14 Orion Poplawski 2023-03-17 15:50:29 UTC
There doesn't appear to be a python3.11-devel package available in CentOS Stream 8.  What is the plan here?  Without that it will be impossible for EPEL to provide additional needed python 3.11 packages.

Comment 15 Evgeni Golov 2023-03-23 15:24:47 UTC
(In reply to Orion Poplawski from comment #14)
> There doesn't appear to be a python3.11-devel package available in CentOS
> Stream 8.  What is the plan here?  Without that it will be impossible for
> EPEL to provide additional needed python 3.11 packages.

It is in the powertools repository.

# dnf install 'dnf-command(config-manager)'
# dnf config-manager --set-enabled powertools

and off you go :)

Comment 16 Lukáš Zachar 2023-03-23 20:42:54 UTC
(In reply to Orion Poplawski from comment #14)
> There doesn't appear to be a python3.11-devel package available in CentOS
> Stream 8.  What is the plan here?  Without that it will be impossible for
> EPEL to provide additional needed python 3.11 packages.

We have open issue [1] to move packages into correct  repositories in c8s.
Once that is fixed the package python3.11-devel will be in AppStream channel, same as will be in RHEL.

No idea how fast it will be fixed, though.

[1] https://issues.redhat.com/browse/CS-1502

Comment 17 Orion Poplawski 2023-03-24 01:35:55 UTC
Thanks for the updates.  Yeah, not really going to be able to build things until packages like python3.11-idna and python3.11-wheel are available.

Comment 18 Maxwell G 2023-03-29 16:52:27 UTC
python3.11-rpm-macros is missing from the compose completely; it's not in CRB or Appstream.

Comment 19 Maxwell G 2023-03-29 17:21:29 UTC
Also, python3-rpm-macros 3-45 [1] is missing from the mirrors. This contains fixes for Python 3.11, and without it, some of the Python macros don't work properly with 3.11. Is there a reason this hasn't been pushed?

```
fedrq pkgs -b c8s -S -Fnevrr python3-rpm-macros
python3-rpm-macros-3-44.el8.noarch centos-stream8-baseos
```

[1] https://git.centos.org/rpms/python-rpm-macros/c/73059c8cd96c35477198d0bb5e2e042dd22e9861?branch=c8s

Comment 20 Miro Hrončok 2023-03-29 17:38:46 UTC
Missing python3.11-rpm-macros is tracked in https://issues.redhat.com/browse/CS-1502

python3-rpm-macros 3-45 is tracked in bz2169780.

Comment 21 Maxwell G 2023-03-29 17:44:47 UTC
> Missing python3.11-rpm-macros is tracked in https://issues.redhat.com/browse/CS-1502

Yeah, I saw. I wanted to leave a comment saying that python3.11-rpm-macros is completely missing (not just in the wrong repository), but I apparently don't have sufficient permissions (it seems to be read only).

> python3-rpm-macros 3-45 is tracked in bz2169780.

Ack, thanks. I subscribed to that bug.

Comment 22 Miro Hrončok 2023-03-29 19:20:08 UTC
> I wanted to leave a comment saying that python3.11-rpm-macros is completely missing (not just in the wrong repository)

That is known. The report says "(In brackets I list which repo the package currently resides, if there's no bracket, the package is not present in c8s at all.)" and python3.11-rpm-macros has no bracket.

> I apparently don't have sufficient permissions (it seems to be read only).

I've asked about this at https://lists.centos.org/pipermail/centos-devel/2023-March/142868.html

Comment 24 errata-xmlrpc 2023-05-16 08:41:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (python3.11 bug fix and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:2882


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