Skip to main content
Redhat Developers  Logo
  • AI

    Get started with AI

    • Red Hat AI
      Accelerate the development and deployment of enterprise AI solutions.
    • AI learning hub
      Explore learning materials and tools, organized by task.
    • AI interactive demos
      Click through scenarios with Red Hat AI, including training LLMs and more.
    • AI/ML learning paths
      Expand your OpenShift AI knowledge using these learning resources.
    • AI quickstarts
      Focused AI use cases designed for fast deployment on Red Hat AI platforms.
    • No-cost AI training
      Foundational Red Hat AI training.

    Featured resources

    • OpenShift AI learning
    • Open source AI for developers
    • AI product application development
    • Open source-powered AI/ML for hybrid cloud
    • AI and Node.js cheat sheet

    Red Hat AI Factory with NVIDIA

    • Red Hat AI Factory with NVIDIA is a co-engineered, enterprise-grade AI solution for building, deploying, and managing AI at scale across hybrid cloud environments.
    • Explore the solution
  • Learn

    Self-guided

    • Documentation
      Find answers, get step-by-step guidance, and learn how to use Red Hat products.
    • Learning paths
      Explore curated walkthroughs for common development tasks.
    • See all learning

    Hands-on

    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.
    • Interactive labs
      Learn by doing in these hands-on, browser-based experiences.
    • Interactive demos
      Click through product features in these guided tours.

    Browse by topic

    • AI/ML
    • Automation
    • Java
    • Kubernetes
    • Linux
    • See all topics

    Training & certifications

    • Courses and exams
    • Certifications
    • Skills assessments
    • Red Hat Academy
    • Learning subscription
    • Explore training
  • Build

    Get started

    • Red Hat build of Podman Desktop
      A downloadable, local development hub to experiment with our products and builds.
    • Developer Sandbox
      Spin up Red Hat's products and technologies without setup or configuration.

    Download products

    • Access product downloads to start building and testing right away.
    • Red Hat Enterprise Linux
    • Red Hat AI
    • Red Hat OpenShift
    • Red Hat Ansible Automation Platform
    • See all products

    Featured

    • Red Hat build of OpenJDK
    • Red Hat JBoss Enterprise Application Platform
    • Red Hat OpenShift Dev Spaces
    • Red Hat Developer Toolset

    References

    • E-books
    • Documentation
    • Cheat sheets
    • Architecture center
  • Community

    Get involved

    • Events
    • Live AI events
    • Red Hat Summit
    • Red Hat Accelerators
    • Community discussions

    Follow along

    • Articles & blogs
    • Developer newsletter
    • Videos
    • Github

    Get help

    • Customer service
    • Customer support
    • Regional contacts
    • Find a partner

    Join the Red Hat Developer program

    • Download Red Hat products and project builds, access support documentation, learning content, and more.
    • Explore the benefits

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

    • Confidential virtual machine storage attack scenarios

    • Introducing virtualization platform autopilot

    • Integrate zero trust workload identity manager with Red Hat OpenShift GitOps

    • Best Practice Configuration and Tuning for Linux and Windows VMs

    • Red Hat UBI 8 builders have been promoted to the Paketo Buildpacks organization

    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
    © 2026 Red Hat

    Red Hat legal and privacy links

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