From 120873bf2211990f279707d25deda7dd59eef739 Mon Sep 17 00:00:00 2001 From: John Sirois Date: Tue, 8 Oct 2024 14:07:42 -0700 Subject: [PATCH] Upgrade to Python 3.13.0. (#2553) --- docker/base/install_pythons.sh | 2 +- pex/interpreter_constraints.py | 4 ++-- tests/integration/scie/test_pex_scie.py | 12 ------------ 3 files changed, 3 insertions(+), 15 deletions(-) diff --git a/docker/base/install_pythons.sh b/docker/base/install_pythons.sh index fe889c73d..3a4f77959 100755 --- a/docker/base/install_pythons.sh +++ b/docker/base/install_pythons.sh @@ -17,7 +17,7 @@ PYENV_VERSIONS=( 3.9.20 3.10.15 3.12.7 - 3.13.0rc3 + 3.13.0 pypy2.7-7.3.17 pypy3.5-7.0.0 pypy3.6-7.3.3 diff --git a/pex/interpreter_constraints.py b/pex/interpreter_constraints.py index afd026869..770a47faa 100644 --- a/pex/interpreter_constraints.py +++ b/pex/interpreter_constraints.py @@ -377,8 +377,8 @@ def iter_compatible_versions( PythonVersion(Lifecycle.STABLE, 3, 9, 20), PythonVersion(Lifecycle.STABLE, 3, 10, 15), PythonVersion(Lifecycle.STABLE, 3, 11, 10), - PythonVersion(Lifecycle.STABLE, 3, 12, 6), - PythonVersion(Lifecycle.DEV, 3, 13, 0), + PythonVersion(Lifecycle.STABLE, 3, 12, 7), + PythonVersion(Lifecycle.STABLE, 3, 13, 0), ) diff --git a/tests/integration/scie/test_pex_scie.py b/tests/integration/scie/test_pex_scie.py index 3b28033af..6dde36eda 100644 --- a/tests/integration/scie/test_pex_scie.py +++ b/tests/integration/scie/test_pex_scie.py @@ -82,18 +82,6 @@ def test_basic( re_flags=re.DOTALL | re.MULTILINE, ) return - if PY_VER >= (3, 13): - result.assert_failure( - expected_error_re=( - r".*" - r"^Failed to build 1 scie:$" - r".*" - r"^Provider: No released assets found for release [0-9]{{8}} Python {version} " - r"of flavor install_only\.$".format(version=".".join(map(str, PY_VER))) - ), - re_flags=re.DOTALL | re.MULTILINE, - ) - return result.assert_success() scie = os.path.join(str(tmpdir), "cowsay")