Skip to content

Commit

Permalink
Upgrade to 3.13.0a4.
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois committed Feb 22, 2024
1 parent 052c8df commit c4da9ba
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
12 changes: 10 additions & 2 deletions docker/base/install_pythons.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,16 @@

set -xeuo pipefail

# TODO(John Sirois): Delete this definition when we upgarde past 3.13.0a4. Pyenv needed to revert
# 3.13.0a4 due to Mac build issues which don't affect us.
# See:
# + https://github.com/pyenv/pyenv/pull/2903
# + https://github.com/pyenv/pyenv/commit/f9a2bb81b69bc2fc45753f7da5d246bc2706f01d
PYENV_SHA=932dc464f5550e3c6af7f705891c1797c4ab004d

export PYENV_ROOT=/pyenv


# N.B.: The 1st listed version will supply the default `python` on the PATH; otherwise order does
# not matter.
PYENV_VERSIONS=(
Expand All @@ -16,7 +24,7 @@ PYENV_VERSIONS=(
3.9.18
3.10.13
3.12.2
3.13.0a3
3.13.0a4
pypy2.7-7.3.15
pypy3.5-7.0.0
pypy3.6-7.3.3
Expand All @@ -27,7 +35,7 @@ PYENV_VERSIONS=(
)

git clone https://github.com/pyenv/pyenv.git "${PYENV_ROOT}" && (
cd "${PYENV_ROOT}" && src/configure && make -C src
cd "${PYENV_ROOT}" && git checkout "${PYENV_SHA:-HEAD}" && src/configure && make -C src
)
PATH="${PATH}:${PYENV_ROOT}/bin"

Expand Down
5 changes: 2 additions & 3 deletions pex/interpreter_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -317,12 +317,11 @@ def iter_compatible_versions(
PythonVersion(Lifecycle.EOL, 3, 5, 10),
PythonVersion(Lifecycle.EOL, 3, 6, 15),
PythonVersion(Lifecycle.EOL, 3, 7, 17),
# ^-- EOL --^
PythonVersion(Lifecycle.STABLE, 3, 8, 18),
PythonVersion(Lifecycle.STABLE, 3, 9, 18),
PythonVersion(Lifecycle.STABLE, 3, 10, 13),
PythonVersion(Lifecycle.STABLE, 3, 11, 7),
PythonVersion(Lifecycle.STABLE, 3, 12, 1),
PythonVersion(Lifecycle.STABLE, 3, 11, 8),
PythonVersion(Lifecycle.STABLE, 3, 12, 2),
PythonVersion(Lifecycle.DEV, 3, 13, 0),
)

Expand Down

0 comments on commit c4da9ba

Please sign in to comment.