Skip to content

Commit 9814338

Browse files
committed
Don't use latest version of setuptools
1 parent f7c8f2f commit 9814338

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools", "wheel"]
2+
requires = ["setuptools<81.0.0", "wheel"]
33

44
[tool.black]
55
line-length = 79

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ def readfile(name):
3131
"peppercorn>=0.3", # rename operation type
3232
"translationstring>=1.0", # add format mapping with %
3333
"zope.deprecation",
34+
"setuptools<81.0.0",
3435
]
3536

3637
lint_extras = [

tox.ini

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,15 @@ setenv =
1313
commands =
1414
python --version
1515
pytest {posargs:}
16+
deps =
17+
setuptools<81.0.0
1618

1719
[testenv:py311-cover]
1820
commands =
1921
python --version
2022
pytest --cov {posargs:}
23+
deps =
24+
setuptools<81.0.0
2125

2226
[testenv:lint]
2327
commands =
@@ -88,5 +92,5 @@ commands =
8892
# build wheel from sdist
8993
pip wheel -v --no-deps --no-index --no-build-isolation --wheel-dir {toxinidir}/dist --find-links {toxinidir}/dist deform
9094
deps =
91-
setuptools
95+
setuptools<81.0.0
9296
wheel

0 commit comments

Comments
 (0)