Use uv --resolution lowest-direct

We need to ensure that we always test against the lowest bounds.
Libraries should set resolution to `lowest-direct`.
This commit is contained in:
David Soria Parra
2024-12-09 14:20:44 +00:00
parent e4e4954b66
commit ed03a426c7
2 changed files with 6 additions and 0 deletions

View File

@@ -1,5 +1,10 @@
# Release Process # Release Process
## Bumping Dependencies
1. Change dependency
2. Upgrade lock with `uv lock --resolution lowest-direct
## Major or Minor Release ## Major or Minor Release
1. Create a release branch named `vX.Y.Z` where `X.Y.Z` is the version. 1. Create a release branch named `vX.Y.Z` where `X.Y.Z` is the version.

View File

@@ -59,6 +59,7 @@ target-version = "py310"
"__init__.py" = ["F401"] "__init__.py" = ["F401"]
[tool.uv] [tool.uv]
resolution = "lowest-direct"
dev-dependencies = [ dev-dependencies = [
"pyright>=1.1.378", "pyright>=1.1.378",
"pytest>=8.3.3", "pytest>=8.3.3",