Skip to content
Discussion options

You must be logged in to vote

min-release-age is applied whenever Poetry asks a remote index (PyPI or another HTTP repository) for the available versions of a package, so it affects update, update --lock and show --outdated the same way - anything that goes through the solver or the "which versions exist" lookup.

Concretely (Poetry 2.4): the value is a number of days. When it's set, Poetry computes a cutoff of now - min-release-age days and drops any version whose files were uploaded after that cutoff from the candidate list. So with min-release-age = 10:

  • poetry update / update --lock: the solver only sees versions that are at least 10 days old, so it upgrades to the newest release older than 10 days and skips anythi…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Tsingis
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants