Skip to content

Commit 7d09c9e

Browse files
ci: Only pin setuptools in relevant tests
1 parent ba5fe8c commit 7d09c9e

4 files changed

Lines changed: 12 additions & 1 deletion

File tree

requirements-testing.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ responses
1313
pysocks
1414
socksio
1515
httpcore[http2]
16-
setuptools<81
16+
setuptools
1717
Brotli
1818
docker

scripts/populate_tox/config.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -347,6 +347,8 @@
347347
"package": "pyramid",
348348
"deps": {
349349
"*": ["werkzeug<2.1.0"],
350+
# Pinned by library in https://github.com/Pylons/pyramid/commit/e239cb693b06e8d01c02dacd2a7b93e5d0a4d5ae
351+
"<2.1": ["setuptools<82"],
350352
},
351353
},
352354
"quart": {
@@ -366,6 +368,10 @@
366368
},
367369
"ray": {
368370
"package": "ray",
371+
"deps": {
372+
# Required for pkg_resources import prior to https://github.com/ray-project/ray/commit/7e9043c38d76412c310fcf6e3fff79cb55d481da
373+
"<2.10": ["setuptools<82"],
374+
},
369375
"python": {
370376
">0.0,<2.52.0": ">=3.9",
371377
">=2.52.0": ">=3.10",

scripts/populate_tox/tox.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ deps =
9898
{py3.6,py3.7}-gevent: pytest<7.0.0
9999
{py3.8,py3.9,py3.10,py3.11,py3.12}-gevent: pytest
100100
gevent: pytest-asyncio
101+
gevent: setuptools<82
101102
{py3.10,py3.11}-gevent: zope.event<5.0.0
102103
{py3.10,py3.11}-gevent: zope.interface<8.0
103104

tox.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -414,6 +414,7 @@ deps =
414414
{py3.6,py3.7}-gevent: pytest<7.0.0
415415
{py3.8,py3.9,py3.10,py3.11,py3.12}-gevent: pytest
416416
gevent: pytest-asyncio
417+
gevent: setuptools<82
417418
{py3.10,py3.11}-gevent: zope.event<5.0.0
418419
{py3.10,py3.11}-gevent: zope.interface<8.0
419420

@@ -750,6 +751,7 @@ deps =
750751
ray-v2.7.2: ray==2.7.2
751752
ray-v2.55.1: ray==2.55.1
752753
ray-latest: ray==2.55.1
754+
ray-v2.7.2: setuptools<82
753755

754756
rq-v0.6.0: rq==0.6.0
755757
rq-v0.13.0: rq==0.13.0
@@ -890,6 +892,8 @@ deps =
890892
pyramid-v2.1: pyramid==2.1
891893
pyramid-latest: pyramid==2.1
892894
pyramid: werkzeug<2.1.0
895+
pyramid-v1.8.6: setuptools<82
896+
pyramid-v1.10.8: setuptools<82
893897

894898
quart-v0.16.3: quart==0.16.3
895899
quart-v0.20.0: quart==0.20.0

0 commit comments

Comments
 (0)