Skip to content

Commit a49992b

Browse files
committed
🧪 Add "supported" pip in tox for PR/push @ CI
This is meant to be separate from "latest" and is pinned to the known working released version of pip. It will run on merges to `main` and in pull requests. And the cron runs will additionally test the latest version on PyPI and the `main` branch of the pip repo.
1 parent 6e8c21f commit a49992b

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
fromJSON(
6464
inputs.cpython-pip-version
6565
&& inputs.cpython-pip-version
66-
|| '["latest", "lowest"]'
66+
|| '["supported", "lowest"]'
6767
)
6868
}}
6969
env:
@@ -141,7 +141,7 @@ jobs:
141141
python-version:
142142
- pypy-3.8
143143
pip-version:
144-
- latest
144+
- supported
145145
env:
146146
TOXENV: pip${{ matrix.pip-version }}
147147
steps:

.github/workflows/cron.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ jobs:
1111
uses: ./.github/workflows/ci.yml
1212
with:
1313
cpython-pip-version: >-
14-
["main", "latest", "lowest"]
14+
["main", "latest", "supported", "lowest"]

tox.ini

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
33
# NOTE: keep this in sync with the env list in .github/workflows/ci.yml.
4-
py{38,39,310,311,312,py3}-pip{lowest,latest,main}-coverage
5-
pip{lowest,latest,main}-coverage
6-
pip{lowest,latest,main}
4+
py{38,39,310,311,312,py3}-pip{supported,lowest,latest,main}-coverage
5+
pip{supported,lowest,latest,main}-coverage
6+
pip{supported,lowest,latest,main}
77
checkqa
88
readme
99
skip_missing_interpreters = True
@@ -14,6 +14,7 @@ extras =
1414
testing
1515
coverage: coverage
1616
deps =
17+
pipsupported: pip==24.2
1718
piplowest: pip==22.2.*
1819
piplatest: pip
1920
pipmain: https://github.com/pypa/pip/archive/main.zip

0 commit comments

Comments
 (0)