From 1ac76355fbcffc79018c2ee0c77a8c9122bfc311 Mon Sep 17 00:00:00 2001 From: John Sirois Date: Mon, 8 Jul 2024 22:23:47 -0700 Subject: [PATCH] Add support for `--pip-version 24.1.2`. (#2459) The changelog is here: https://pip.pypa.io/en/stable/news/#v24-1-2 --- .github/workflows/ci.yml | 12 ++++++------ CHANGES.md | 6 ++++++ pex/pip/version.py | 7 +++++++ pex/version.py | 2 +- tox.ini | 1 + 5 files changed, 21 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27af0b010..02cf23e4c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -73,8 +73,8 @@ jobs: - py311-pip20 - py311-pip22_3_1 - py311-pip23_1_2 - - py312-pip24_1_1 - - py313-pip24_1_1 + - py312-pip24_1_2 + - py313-pip24_1_2 - pypy310-pip20 - pypy310-pip22_3_1 - pypy310-pip23_1_2 @@ -84,8 +84,8 @@ jobs: - py311-pip20-integration - py311-pip22_3_1-integration - py311-pip23_1_2-integration - - py312-pip24_1_1-integration - - py313-pip24_1_1-integration + - py312-pip24_1_2-integration + - py313-pip24_1_2-integration - pypy310-pip20-integration - pypy310-pip22_3_1-integration - pypy310-pip23_1_2-integration @@ -129,10 +129,10 @@ jobs: matrix: include: - python-version: [ 3, 12 ] - tox-env: py312-pip24_1_1 + tox-env: py312-pip24_1_2 tox-env-python: python3.11 - python-version: [ 3, 12 ] - tox-env: py312-pip24_1_1-integration + tox-env: py312-pip24_1_2-integration tox-env-python: python3.11 steps: - name: Calculate Pythons to Expose diff --git a/CHANGES.md b/CHANGES.md index 2c821785c..0be0d72ce 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,11 @@ # Release Notes +## 2.9.0 + +This release adds support for Pip 24.1.2. + +* Add support for `--pip-version 24.1.2`. (#2459) + ## 2.8.1 This release fixes the `bdist_pex` distutils command to use the diff --git a/pex/pip/version.py b/pex/pip/version.py index 8a7fa0c5b..793f89fd7 100644 --- a/pex/pip/version.py +++ b/pex/pip/version.py @@ -271,6 +271,13 @@ def values(cls): requires_python=">=3.8,<3.14", ) + v24_1_2 = PipVersionValue( + version="24.1.2", + setuptools_version="70.2.0", + wheel_version="0.43.0", + requires_python=">=3.8,<3.14", + ) + VENDORED = v20_3_4_patched LATEST = LatestPipVersion() DEFAULT = DefaultPipVersion(preferred=(VENDORED, v23_2, v24_1)) diff --git a/pex/version.py b/pex/version.py index b3e186078..a6389c6cb 100644 --- a/pex/version.py +++ b/pex/version.py @@ -1,4 +1,4 @@ # Copyright 2015 Pex project contributors. # Licensed under the Apache License, Version 2.0 (see LICENSE). -__version__ = "2.8.1" +__version__ = "2.9.0" diff --git a/tox.ini b/tox.ini index ad9586cb2..d1d129e5b 100644 --- a/tox.ini +++ b/tox.ini @@ -87,6 +87,7 @@ setenv = pip24_0: _PEX_PIP_VERSION=24.0 pip24_1: _PEX_PIP_VERSION=24.1 pip24_1_1: _PEX_PIP_VERSION=24.1.1 + pip24_1_2: _PEX_PIP_VERSION=24.1.2 # Python 3 (until a fix here in 3.9: https://bugs.python.org/issue13601) switched from stderr # being unbuffered to stderr being buffered by default. This can lead to tests checking stderr