Skip to content

Commit fb75372

Browse files
authored
Test against pip==23.0.1 (#178)
1 parent 2debff7 commit fb75372

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

tests/test_installed_distributions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ def test_installed_distributions_editable(pip, some_editable_distribution):
6060

6161

6262
def test_installed_distributions_legacy_version(pip, data):
63+
# Use an older setuptools to build this with a legacy version
64+
pip.run("install", "setuptools<66")
65+
6366
distributions = pip_api.installed_distributions()
6467

6568
assert "dummyproject" not in distributions

tox.ini

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[tox]
22
envlist=
3-
py37-pip{230,2231,223,2222,2221,222,2212,2211,221,2204,2203,2202,2201,220,2131,213,2124,2123,2122,2121,212,2113,2112,2111,211,2101,210,2034,2033,2031,203,2024,2023,2022,2021,202,201,2002,2001,1931,193,1923,1922,1921,192,1911,191,1903,1902,1901,190,181},
4-
py38-pip{230,2231,223,2222,2221,222,2212,2211,221,2204,2203,2202,2201,220,2131,213,2124,2123,2122,2121,212,2113,2112,2111,211,2101,210,2034,2033,2031,203,2024,2023,2022,2021,202,201,2002,2001,1931},
5-
py39-pip{230,2231,223,2222,2221,222,2212,2211,221,2204,2203,2202,2201,220,2131,213,2124,2123,2122,2121,212,2113,2112,2111,211,2101,210,2034,2033,2031,203},
6-
py310-pip{230,2231,223,2222,2221,222,2212,2211,221,2204,2203,2202,2201,220,2131,213},
7-
py311-pip{230,2231,223,2222,2221,222},
3+
py37-pip{2301,230,2231,223,2222,2221,222,2212,2211,221,2204,2203,2202,2201,220,2131,213,2124,2123,2122,2121,212,2113,2112,2111,211,2101,210,2034,2033,2031,203,2024,2023,2022,2021,202,201,2002,2001,1931,193,1923,1922,1921,192,1911,191,1903,1902,1901,190,181},
4+
py38-pip{2301,230,2231,223,2222,2221,222,2212,2211,221,2204,2203,2202,2201,220,2131,213,2124,2123,2122,2121,212,2113,2112,2111,211,2101,210,2034,2033,2031,203,2024,2023,2022,2021,202,201,2002,2001,1931},
5+
py39-pip{2301,230,2231,223,2222,2221,222,2212,2211,221,2204,2203,2202,2201,220,2131,213,2124,2123,2122,2121,212,2113,2112,2111,211,2101,210,2034,2033,2031,203},
6+
py310-pip{2301,230,2231,223,2222,2221,222,2212,2211,221,2204,2203,2202,2201,220,2131,213},
7+
py311-pip{2301,230,2231,223,2222,2221,222},
88
lint
99

1010
[testenv]
@@ -13,6 +13,7 @@ deps=
1313
pretend
1414
pytest
1515
virtualenv>20
16+
pip2301: pip==23.0.1
1617
pip230: pip==23.0
1718
pip2231: pip==22.3.1
1819
pip223: pip==22.3

0 commit comments

Comments
 (0)