Skip to content

Commit 004875b

Browse files
authored
docs: show how to test the floors in CI with uv lowest-direct (#47)
docs: show how to test the floors in CI with uv lowest-direct
1 parent 1046373 commit 004875b

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

‎readme.md‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,16 @@ If PyPI cannot be reached, the affected dependency stays unchanged with a warnin
9696
The CLI takes `--spec0-support-years 3` and the Python API `spec0_support_years=3`.
9797
Extras such as `xarray[io]>=2026.5.1` and environment markers are preserved when bounds change.
9898

99+
### Testing minimum versions
100+
101+
Since the lower bounds will increase with time, it is useful to make sure your project continues at this lower version bounds.
102+
103+
There are at least two ways to do this:
104+
105+
- [minimum-dependencies](https://pypi.org/project/minimum-dependencies/)
106+
- Calling some form of `uv pip install --resolution lowest-direct` to have `uv` work out the floor and then you can use that enviroment to run your unit tests.
107+
`--resolution lowest-direct` installs the lowest version of every direct dependency, so a dependency without a lower bound would resolve to maybe the very oldest release.
108+
99109
## Limitations
100110

101111
1. The action only tightens lower bounds and leaves upper bounds untouched.

0 commit comments

Comments
 (0)