Skip to content

Commit 6e8d974

Browse files
committed
constrain setuptools < 82 within the pyramid virtualenvs
1 parent 463a93a commit 6e8d974

File tree

3 files changed

+13
-1
lines changed

3 files changed

+13
-1
lines changed

CHANGES.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
unreleased
22
----------
33

4+
- Drop Python 3.8, and 3.9 support.
5+
6+
- Add Python 3.12, 3.13, and 3.14 support.
7+
48
- Fix unwanted literal inclusion of a METAL attribute in rendered output within
59
the Chameleon ``layout.pt`` template.
610

requirements-dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@ cookiecutter
22
pytest
33
pytest-cookies
44
pytest-venv
5-
setuptools < 82 # require pkg_resources

tests/test_it.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ def test_base(cookies, venv, capfd, template):
142142

143143
cwd = str(result.project_path)
144144

145+
# constraint setuptools < 82
146+
venv.install('setuptools < 82')
147+
145148
# this is a hook for executing scaffold tests against a specific
146149
# version of pyramid (or a local checkout on disk)
147150
if 'OVERRIDE_PYRAMID' in os.environ: # pragma: no cover
@@ -188,6 +191,9 @@ def test_zodb(cookies, venv, capfd, template):
188191

189192
cwd = str(result.project_path)
190193

194+
# constraint setuptools < 82
195+
venv.install('setuptools < 82')
196+
191197
# this is a hook for executing scaffold tests against a specific
192198
# version of pyramid (or a local checkout on disk)
193199
if 'OVERRIDE_PYRAMID' in os.environ: # pragma: no cover
@@ -235,6 +241,9 @@ def test_sqlalchemy(cookies, venv, capfd, template):
235241

236242
cwd = str(result.project_path)
237243

244+
# constraint setuptools < 82
245+
venv.install('setuptools < 82')
246+
238247
# this is a hook for executing scaffold tests against a specific
239248
# version of pyramid (or a local checkout on disk)
240249
if 'OVERRIDE_PYRAMID' in os.environ: # pragma: no cover

0 commit comments

Comments
 (0)