Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit 045cecd

Browse files
author
David Robertson
committed
Upper bound build-system requirements
1 parent 6b0d81b commit 045cecd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

pyproject.toml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,11 @@ twine = "*"
307307
towncrier = ">=18.6.0rc1"
308308

309309
[build-system]
310-
requires = ["poetry-core>=1.0.0", "setuptools_rust>=1.3"]
310+
# The upper bounds here are defensive, intended to prevent situations like
311+
# #13849 and #14079 where we see buildtime or runtime errors caused by build
312+
# system changes. # We are happy to raise these upper bounds upon request,
313+
# provided we check that it's safe to do so (i.e. that CI passes).
314+
requires = ["poetry-core>=1.0.0,<=1.3.1", "setuptools_rust>=1.3,<=1.5.2"]
311315
build-backend = "poetry.core.masonry.api"
312316

313317

0 commit comments

Comments
 (0)