Skip to content

Commit

Permalink
Add support for Pip 23.3.2. (#2307)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois authored Dec 23, 2023
1 parent 5a42abf commit e37eae0
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
- py311-pip20
- py311-pip22_3_1
- py311-pip23_1_2
- py312-pip23_3_1
- py312-pip23_3_2
- pypy310-pip20
- pypy310-pip22_3_1
- pypy310-pip23_1_2
Expand All @@ -66,7 +66,7 @@ jobs:
- py311-pip20-integration
- py311-pip22_3_1-integration
- py311-pip23_1_2-integration
- py312-pip23_3_1-integration
- py312-pip23_3_2-integration
- pypy310-pip20-integration
- pypy310-pip22_3_1-integration
- pypy310-pip23_1_2-integration
Expand Down Expand Up @@ -107,10 +107,10 @@ jobs:
matrix:
include:
- python-version: [ 3, 12 ]
tox-env: py312-pip23_3_1
tox-env: py312-pip23_3_2
tox-env-python: python3.11
- python-version: [ 3, 12 ]
tox-env: py312-pip23_3_1-integration
tox-env: py312-pip23_3_2-integration
tox-env-python: python3.11
steps:
- name: Calculate Pythons to Expose
Expand Down
9 changes: 9 additions & 0 deletions pex/pip/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,15 @@ def values(cls):
requires_python=">=3.7",
)

v23_3_2 = PipVersionValue(
version="23.3.2",
# N.B.: The setuptools 69.0.2 release was available on 12/17/2023 (the Pip 23.3.2 release
# date) but 68.0.0 is the last setuptools version to support 3.7.
setuptools_version="68.0.0",
wheel_version="0.42.0",
requires_python=">=3.7",
)

VENDORED = v20_3_4_patched
LATEST = LatestPipVersion()
DEFAULT = DefaultPipVersion(preferred=(VENDORED, v23_2))
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ setenv =
pip23_1_2: _PEX_PIP_VERSION=23.1.2
pip23_2: _PEX_PIP_VERSION=23.2
pip23_3_1: _PEX_PIP_VERSION=23.3.1
pip23_3_2: _PEX_PIP_VERSION=23.3.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
# failing to see what they expect if the stderr buffer block has not been flushed. Force stderr
Expand All @@ -72,7 +73,7 @@ whitelist_externals =
bash
git

[testenv:py{py27-subprocess,py27,py35,py36,py37,py38,py39,py310,27,35,36,37,38,39,310,311,312}-{,pip20-,pip22_2-,pip22_3-,pip22_3_1-,pip23_0-,pip23_0_1-,pip23_1-,pip23_1_1-,pip23_1_2-,pip23_2-,pip23_3_1-}integration]
[testenv:py{py27-subprocess,py27,py35,py36,py37,py38,py39,py310,27,35,36,37,38,39,310,311,312}-{,pip20-,pip22_2-,pip22_3-,pip22_3_1-,pip23_0-,pip23_0_1-,pip23_1-,pip23_1_1-,pip23_1_2-,pip23_2-,pip23_3_1-,pip23_3_2-}integration]
deps =
pytest-xdist==1.34.0
{[testenv]deps}
Expand Down

0 comments on commit e37eae0

Please sign in to comment.