paketo-buildpacks / cpython

Apache License 2.0
11 stars 16 forks source link

Missing latest versions of python #764

Open nairb774 opened 4 months ago

nairb774 commented 4 months ago

Expected Behavior

Possible to install up to date versions of python. For example 3.11.9.

Current Behavior

Version 3.11.9 version is unavailable.

Possible Solution

No known workarounds to force the use of later versions without a release.

Steps to Reproduce

  1. Configure a project with the following:
    [tool.poetry.dependencies]    
    python = "3.11.9"

Build an image with a project containing the above configuration and the latest paketobuildpacks/builder-jammy-base and get a failure like:

Paketo Buildpack for CPython 1.13.0
  Resolving CPython version
    Candidate version sources (in priority order):
      pyproject.toml -> "3.11.9"
                     -> ""
      <unknown>      -> ""

failed to satisfy "python" dependency version constraint "3.11.9": no compatible versions on "io.buildpacks.stacks.jammy" stack. Supported versions are: [3.8.18, 3.8.18, 3.8.19, 3.8.19, 3.9.18, 3.9.18, 3.9.19, 3.9.19, 3.10.13, 3.10.13, 3.10.14, 3.10.14, 3.11.7, 3.11.7, 3.11.8, 3.11.8, 3.12.1, 3.12.1, 3.12.2, 3.12.2]
ERROR: failed to build: exit status 1
ERROR: failed to build: executing lifecycle: failed with status code: 51

Motivations

Trying to keep versions somewhat up to date with Renovate, but being held back by not being able to update in a timely manner.