paketo-buildpacks / cpython

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for python 3.10.x

robdimsdale opened this issue · comments

Python 3.10.x is available on the dep server - we should add support for it to this buildpack.

3.10.2

  {
    "name": "python",
    "version": "3.10.2",
    "sha256": "7ae1fb92a9238571466d66b0a22cafa20e6cdb45816ebe476499a1f6bc9f11ef",
    "uri": "https://deps.paketo.io/python/python_3.10.2_linux_x64_bionic_7ae1fb92.tgz",
    "stacks": [
      {
        "id": "io.buildpacks.stacks.bionic"
      }
    ],
    "source": "https://www.python.org/ftp/python/3.10.2/Python-3.10.2.tgz",
    "source_sha256": "3c0ede893011319f9b0a56b44953a3d52c7abf9657c23fb4bc9ced93b86e9c97",
    "deprecation_date": "2026-10-01T00:00:00Z",
    "created_at": "2022-01-14T22:15:25+00:00",
    "modified_at": "2022-01-14T22:15:25+00:00",
    "cpe": "cpe:2.3:a:python:python:3.10.2:*:*:*:*:*:*:*",
    "purl": "pkg:generic/python@3.10.2?checksum=3c0ede893011319f9b0a56b44953a3d52c7abf9657c23fb4bc9ced93b86e9c97&download_url=https://www.python.org/ftp/python/3.10.2/Python-3.10.2.tgz",
    "licenses": [
      "0BSD",
      "CNRI-Python-GPL-Compatible"
    ]
  },

3.10.1

  {
    "name": "python",
    "version": "3.10.1",
    "sha256": "48a90f8cee9950491fb815fc73a0529cfbafad2cd14fd08674adaaaae072ec39",
    "uri": "https://deps.paketo.io/python/python_3.10.1_linux_x64_bionic_48a90f8c.tgz",
    "stacks": [
      {
        "id": "io.buildpacks.stacks.bionic"
      }
    ],
    "source": "https://www.python.org/ftp/python/3.10.1/Python-3.10.1.tgz",
    "source_sha256": "b76117670e7c5064344b9c138e141a377e686b9063f3a8a620ff674fa8ec90d3",
    "deprecation_date": "2026-10-01T00:00:00Z",
    "created_at": "2021-12-06T21:13:38+00:00",
    "modified_at": "2022-01-24T16:56:37+00:00",
    "cpe": "cpe:2.3:a:python:python:3.10.1:*:*:*:*:*:*:*",
    "purl": "pkg:generic/python@3.10.1?checksum=b76117670e7c5064344b9c138e141a377e686b9063f3a8a620ff674fa8ec90d3&download_url=https://www.python.org/ftp/python/3.10.1/Python-3.10.1.tgz",
    "licenses": [
      "0BSD",
      "CNRI-Python-GPL-Compatible"
    ]
  },

@thitch97 do you know why we don't yet support this? Any reason for us not to go ahead and add it?

Also, It seems like 3.6 just went out of support as of last month (2021-12-23) https://www.python.org/dev/peps/pep-0494/#lifespan. So great time to swap in 3.10 for 3.6!

Hey! I did a preliminary exploration into this. Check out my findings which I summarized in this comment. I think we can compile it with --disable-test-modules possibly, reducing the size of the dependency, but wanted general 3.10 support first.