Skip to content

Commit 25acd2a

Browse files
committed
build: add exclude-newer, handle uv 0.11.0 release
1 parent 5987314 commit 25acd2a

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

pyproject.toml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,9 @@ repository = "https://github.com/PennockTech/mutable_url.py"
2626
issues = "https://github.com/PennockTech/mutable_url.py/issues"
2727

2828
[build-system]
29-
requires=["uv_build<=0.11.0"]
29+
# uv 0.11.0 is out, nothing for us incompatible, extend range instead of forcing client upgrades
30+
# (although 0.11 is currently newer than our tool.uv.exclude-newer)
31+
requires=["uv_build>=0.10.0,<0.12"]
3032
build-backend = "uv_build"
3133

3234
[dependency-groups]
@@ -45,3 +47,7 @@ target-version = "py310"
4547
[tool.tox]
4648
requires = ["tox-uv>=1.25"]
4749
env_list = ["py310", "py311", "py312", "py313", "py314"]
50+
51+
[tool.uv]
52+
# We don't have regular dependencies, and so this affects only the dev dependencies and shouldn't affect downstream users of the library.
53+
exclude-newer = "3 days"

uv.lock

Lines changed: 5 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)