{
  "schemaVersion": "ebb.rule.v1",
  "id": "python.runtime.eol-3.9-and-older",
  "ecosystem": "python",
  "purl": "pkg:generic/python",
  "affectedVersions": "vers:pypi/<3.10",
  "event": "end-of-life",
  "severity": "high",
  "title": "Python 3.9 and older are end-of-life",
  "summary": "These Python release lines no longer receive security or bug fixes from the Python core team.",
  "replacement": "A supported Python release",
  "deadline": "2025-10-31",
  "sources": [
    {
      "title": "Status of Python versions",
      "url": "https://devguide.python.org/versions/",
      "accessedAt": "2026-10-16"
    },
    {
      "title": "PEP 596 — Python 3.9 release schedule",
      "url": "https://peps.python.org/pep-0596/",
      "accessedAt": "2026-10-16"
    }
  ],
  "provenance": {
    "observedAt": "2026-10-14",
    "reviewedAt": "2026-10-14",
    "reviewer": "arminazimi"
  },
  "migration": {
    "constraints": [
      "Keep project metadata, local version files, CI matrices, containers, and deployment runtimes on a mutually supported Python version.",
      "Confirm binary wheels and framework dependencies support the selected Python release."
    ],
    "steps": [
      {
        "id": "update-python-declaration",
        "title": "Update the Python requirement",
        "instructions": "Raise the reported requires-python range or pinned runtime to a supported Python release.",
        "targets": "declaration"
      },
      {
        "id": "align-python-runtimes",
        "title": "Align runtime surfaces",
        "instructions": "Update matching version files, CI matrices, container images, and deployment configuration.",
        "targets": "all"
      }
    ],
    "verification": [
      {
        "command": "python --version",
        "purpose": "Confirm the active Python runtime is supported."
      },
      {
        "command": "python -m pytest",
        "purpose": "Run the Python test suite on the target runtime."
      },
      {
        "command": "python -m pip check",
        "purpose": "Check installed dependency compatibility."
      }
    ]
  }
}
