Chore: Disallow prerelease resolution in uv (#14296)

uv's default "if-necessary" prerelease policy will silently select a
prerelease package when no stable release satisfies the combined
constraint set, even without an explicit opt-in.  Disallow pre-releases
instead
This commit is contained in:
Trenton H
2026-09-28 18:49:21 +00:00
committed by GitHub
parent e50bcc2efb
commit 61f36eb253
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -150,6 +150,7 @@ typing = [
[tool.uv]
required-version = ">=0.9.0"
prerelease = "disallow"
environments = [
"sys_platform == 'darwin'",
"sys_platform == 'linux'",
Generated
+3
View File
@@ -18,6 +18,9 @@ supported-markers = [
"sys_platform == 'linux'",
]
[options]
prerelease-mode = "disallow"
[[package]]
name = "aiohappyeyeballs"
version = "2.6.1"