Skip to content

Support latest - N minor releases in dependency constraints - #893

Open
ianpittwood wants to merge 2 commits into
mainfrom
feat/latest-minor-offset
Open

ianpittwood wants to merge 2 commits into
mainfrom
feat/latest-minor-offset

Conversation

@ianpittwood

Copy link
Copy Markdown
Contributor

Closes #889.

Set latest: -1 to select the newest patch of the previous available minor release. Larger offsets skip more eligible minor releases. The resolver applies min before the offset and count afterward, and reports an error if the offset exhausts the available releases.

Tested with uv run pytest -q test/config/dependencies (139 passed).

@ianpittwood
ianpittwood marked this pull request as ready for review November 20, 2026 21:00
@github-actions

Copy link
Copy Markdown

Test Results

2 484 tests  +4   2 482 ✅ +4   7m 38s ⏱️ -23s
    1 suites ±0       2 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit c4bca7c. ± Comparison against base commit 3460061.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support a "latest - 1" dependency version constraint

1 participant