From ed03a426c7533da63bdd4837b1c2a77f936cc33c Mon Sep 17 00:00:00 2001 From: David Soria Parra Date: Mon, 9 Dec 2024 14:20:44 +0000 Subject: [PATCH] Use uv --resolution lowest-direct We need to ensure that we always test against the lowest bounds. Libraries should set resolution to `lowest-direct`. --- RELEASE.md | 5 +++++ pyproject.toml | 1 + 2 files changed, 6 insertions(+) diff --git a/RELEASE.md b/RELEASE.md index 3e62ea88..ece264a7 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -1,5 +1,10 @@ # Release Process +## Bumping Dependencies + +1. Change dependency +2. Upgrade lock with `uv lock --resolution lowest-direct + ## Major or Minor Release 1. Create a release branch named `vX.Y.Z` where `X.Y.Z` is the version. diff --git a/pyproject.toml b/pyproject.toml index d7dd9487..8def37d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,6 +59,7 @@ target-version = "py310" "__init__.py" = ["F401"] [tool.uv] +resolution = "lowest-direct" dev-dependencies = [ "pyright>=1.1.378", "pytest>=8.3.3",