Skip to main content
Redhat Developers  Logo
  • Products

    Platforms

    • Red Hat Enterprise Linux
      Red Hat Enterprise Linux Icon
    • Red Hat AI
      Red Hat AI
    • Red Hat OpenShift
      Openshift icon
    • Red Hat Ansible Automation Platform
      Ansible icon
    • See all Red Hat products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat Developer Hub
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat OpenShift Local
    • Red Hat Developer Sandbox

      Try Red Hat products and technologies without setup or configuration fees for 30 days with this shared Red Hat OpenShift and Kubernetes cluster.
    • Try at no cost
  • Technologies

    Featured

    • AI/ML
      AI/ML Icon
    • Linux
      Linux Icon
    • Kubernetes
      Cloud icon
    • Automation
      Automation Icon showing arrows moving in a circle around a gear
    • See all technologies
    • Programming languages & frameworks

      • Java
      • Python
      • JavaScript
    • System design & architecture

      • Red Hat architecture and design patterns
      • Microservices
      • Event-Driven Architecture
      • Databases
    • Developer experience

      • Productivity
      • Tools
      • GitOps
    • Automated data processing

      • AI/ML
      • Data science
      • Apache Kafka on Kubernetes
    • Platform engineering

      • DevOps
      • DevSecOps
      • Red Hat Ansible Automation Platform for applications and services
    • Secure development & architectures

      • Security
      • Secure coding
  • Learn

    Featured

    • Kubernetes & cloud native
      Openshift icon
    • Linux
      Rhel icon
    • Automation
      Ansible cloud icon
    • AI/ML
      AI/ML Icon
    • See all learning resources

    E-books

    • GitOps cookbook
    • Podman in action
    • Kubernetes operators
    • The path to GitOps
    • See all e-books

    Cheat sheets

    • Linux commands
    • Bash commands
    • Git
    • systemd commands
    • See all cheat sheets

    Documentation

    • Product documentation
    • API catalog
    • Legacy documentation
  • Developer Sandbox

    Developer Sandbox

    • Access Red Hat’s products and technologies without setup or configuration, and start developing quicker than ever before with our new, no-cost sandbox environments.
    • Explore the Developer Sandbox

    Featured Developer Sandbox activities

    • Get started with your Developer Sandbox
    • OpenShift virtualization and application modernization using the Developer Sandbox
    • Explore all Developer Sandbox activities

    Ready to start developing apps?

    • Try at no cost
  • Blog
  • Events
  • Videos

Python 3.9 reaches end of life: What it means for RHEL users

December 4, 2025
Lumír Balhar
Related topics:
Open sourceProgramming languages & frameworksPythonSecurity
Related products:
Red Hat Enterprise Linux

    The Python 3.9 release was in October 2020, the next step in Python’s steady annual release cadence. It brought several improvements that many developers still rely on today, including dictionary union operators, enhanced string methods, type hinting enhancements, new PEG parser infrastructure, and performance enhancements across the standard library. However, after five years of upstream maintenance, Python 3.9 has officially reached its end-of-life (EOL) phase upstream. This article will discuss what this means for Red Hat Enterprise Linux (RHEL) 8 and 9 users.

    Upstream: Python 3.9 end of life

    According to the Python 3.9 release schedule, the release cycle for Python 3.9 ended on October 31, 2025, with Python 3.9.25 published as the final security release.

    Starting now:

    • The 3.9 codebase upstream is frozen.
    • The Python Core Development team will provide no further bug fixes, security patches, or enhancements.
    • No new issues will be accepted for Python 3.9 on the CPython bug tracker.

    This means any unresolved upstream issues will remain unresolved, and downstream consumers must make long-term support decisions based on this final upstream state.

    Python 3.9 in RHEL

    Although upstream support has ended, Python 3.9 plays different roles across Red Hat Enterprise Linux releases.

    RHEL 9

    RHEL 9 standardizes on Python 3.9 as the system-wide default Python interpreter. Python 3.9 will be fully supported for the entire lifetime of RHEL 9, despite upstream EOL. 

    Red Hat will continue to maintain Python 3.9 with critical patches and security backports as part of the RHEL 9 platform guarantees. This makes RHEL 9 a stable, long-term home for Python 3.9 workloads that cannot yet upgrade to newer Python releases.

    RHEL 8

    In RHEL 8, the python39 module provides Python 3.9 as an alternate Python stack, existing along with the platform’s default Python 3.6.

    Key points:

    • Support for Python 3.9 in RHEL 8 ends at the end of November 2025.
    • If you need a newer Python than 3.6 on RHEL 8, you should consider one of the following:
      • Python 3.11, supported until May 2026.
      • Python 3.12, supported until the end of the RHEL 8 lifecycle.
    • If your workloads must remain on Python 3.9 specifically, you can use RHEL 9-based container images: UBI, S2I (refer to the Red Hat Ecosystem Catalog).

    Next steps

    The upstream Python 3.9 lifecycle has ended, but this does not mean your workloads must immediately migrate. Red Hat provides clear paths to balance stability, security, and long-term maintenance:

    • Upstream support ended on October 31, 2025.
    • RHEL 8: Python 3.9 supported until November 2025. Newer Python versions are available.
    • RHEL 9: Python 3.9 remains the main interpreter, supported for the full lifecycle of RHEL 9.
    • Containers based on RHEL 9 remain a strong option for Python 3.9 workloads on RHEL 8.

    For those on RHEL 8, planning an upgrade path now will help ensure long-term security and compatibility. You can upgrade to Python 3.11/3.12 or RHEL 9-based containers.

    Related Posts

    • Install Python 3.13 on Red Hat Enterprise Linux from EPEL

    • Python packaging for RHEL 9 & 10 using pyproject RPM macros

    • How RHEL provides secure and stable Python streams

    • Python performance optimizations with RHEL 9.5

    Recent Posts

    • Python 3.9 reaches end of life: What it means for RHEL users

    • Upgrade air-gapped OpenShift with self-signed certificates

    • Tame Ray workloads on OpenShift AI with KubeRay and Kueue

    • Run Mistral Large 3 & Ministral 3 on vLLM with Red Hat AI on Day 0: A step-by-step guide

    • Run cost-effective AI workloads on OpenShift with AWS Neuron Operator

    What’s up next?

    Learning Path Python Flask App learning path feature image

    Build a bootable Python Flask application using image mode for RHEL with Podman...

    Use Podman Desktop to create a bootable Flask-based application using image...
    Red Hat Developers logo LinkedIn YouTube Twitter Facebook

    Platforms

    • Red Hat AI
    • Red Hat Enterprise Linux
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Build

    • Developer Sandbox
    • Developer tools
    • Interactive tutorials
    • API catalog

    Quicklinks

    • Learning resources
    • E-books
    • Cheat sheets
    • Blog
    • Events
    • Newsletter

    Communicate

    • About us
    • Contact sales
    • Find a partner
    • Report a website issue
    • Site status dashboard
    • Report a security problem

    RED HAT DEVELOPER

    Build here. Go anywhere.

    We serve the builders. The problem solvers who create careers with code.

    Join us if you’re a developer, software engineer, web designer, front-end designer, UX designer, computer scientist, architect, tester, product manager, project manager or team lead.

    Sign me up

    Red Hat legal and privacy links

    • About Red Hat
    • Jobs
    • Events
    • Locations
    • Contact Red Hat
    • Red Hat Blog
    • Inclusion at Red Hat
    • Cool Stuff Store
    • Red Hat Summit
    © 2025 Red Hat

    Red Hat legal and privacy links

    • Privacy statement
    • Terms of use
    • All policies and guidelines
    • Digital accessibility

    Report a website issue