Skip to content

Commit

Permalink
Add Support for Pip 23.1.1. (#2133)
Browse files Browse the repository at this point in the history
  • Loading branch information
jsirois authored Apr 26, 2023
1 parent adf7e54 commit 19554d3
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
pip-version: 22_3_1
- os: ubuntu-20.04
python-version: [ 3, 11 ]
pip-version: 23_1
pip-version: 23_1_1
steps:
- name: Calculate Pythons to Expose
id: calculate-pythons-to-expose
Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
- pypy-version: [ 3, 9 ]
pip-version: 22_3_1
- pypy-version: [ 3, 9 ]
pip-version: 23_1
pip-version: 23_1_1
steps:
- name: Calculate Pythons to Expose
id: calculate-pythons-to-expose
Expand Down Expand Up @@ -158,7 +158,7 @@ jobs:
pip-version: 22_3_1
- os: ubuntu-20.04
python-version: [ 3, 7 ]
pip-version: 23_1
pip-version: 23_1_1
- os: macos-11
python-version: [ 3, 11 ]
pip-version: 20
Expand All @@ -170,7 +170,7 @@ jobs:
pip-version: 22_3_1
- os: ubuntu-20.04
python-version: [ 3, 11 ]
pip-version: 23_1
pip-version: 23_1_1
steps:
- name: Calculate Pythons to Expose
id: calculate-pythons-to-expose
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
- pypy-version: [ 3, 9 ]
pip-version: 22_3_1
- pypy-version: [ 3, 9 ]
pip-version: 23_1
pip-version: 23_1_1
steps:
- name: Calculate Pythons to Expose
id: calculate-pythons-to-expose
Expand Down
7 changes: 7 additions & 0 deletions pex/pip/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,5 +131,12 @@ def values(cls):
requires_python=">=3.7",
)

v23_1_1 = PipVersionValue(
version="23.1.1",
setuptools_version="67.7.1",
wheel_version="0.40.0",
requires_python=">=3.7",
)

VENDORED = v20_3_4_patched
LATEST = LatestPipVersion()
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ setenv =
pip23_0: _PEX_PIP_VERSION=23.0
pip23_0_1: _PEX_PIP_VERSION=23.0.1
pip23_1: _PEX_PIP_VERSION=23.1
pip23_1_1: _PEX_PIP_VERSION=23.1.1
# 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 @@ -66,7 +67,7 @@ whitelist_externals =
bash
git

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

0 comments on commit 19554d3

Please sign in to comment.