Skip to content
Evergreen Evergreen
Documentation

Python image release line 3.11 reaches end-of-life on 2027-10-31

Scheduled end of life as of 2027-10-31. Replacement: A python image on a later supported release line. Source: Status of Python versions.

Check a version:

evergreen check pkg:docker/library/python

Python 3.11 is scheduled to stop receiving security fixes from the Python core team on 2027-10-31, so images tagged with it will then be built on an unsupported runtime.

Look up another package or runtime · <form action="../lookup.html" method="get" role="search"> </form>

   
Status Scheduled end of life
Severity low
Ecosystem container
Component pkg:docker/library/python
Affected versions vers:semver/>=3.11.0\|<3.12.0
Date from the source 2027-10-31
Replacement A python image on a later supported release line
Evidence last seen 2026-11-03
Reviewed 2026-11-03 by arminazimi, drafted by the container-official-images importer
Review due 2027-11-03 (365 days after the last review)
Rule ID container.python.eol-3.11-and-older

Sources

Migration

Constraints

  • Keep the base image, requires-python, CI matrices, and deployment runtimes on one supported Python release.
  • Confirm binary wheels and dependencies support the target Python release; rebuild any virtual environment or wheel cache inside the image.

Steps

  1. Update the base image. Change the reported FROM line or Compose image to a tag on a supported release line, and pin it to a digest if your policy requires.
  2. Align other image references. Update other Dockerfiles, Compose files, CI service containers, and deployment manifests that use the same image so they agree.

Verification

  • docker build .: Build the image on the new base.
  • docker run --rm IMAGE python --version: Confirm the container runs the intended Python version.

Detected by

The container detector. See Detectors and Compatibility.

Other versions of this product

Same ecosystem

Data

This page is generated from registry/container.json, rule container.python.eol-3.11-and-older, in the ebb.registry.v2 format (how rules are written). A CLE (ECMA-428) export is not published yet. The same facts are embedded in this page as schema.org structured data.

Last updated