Skip to content

poetry.toml: Set min-release-age to 2 weeks#273

Merged
bkeryan merged 4 commits into
mainfrom
users/bkeryan/poetry-min-release-age
May 13, 2026
Merged

poetry.toml: Set min-release-age to 2 weeks#273
bkeryan merged 4 commits into
mainfrom
users/bkeryan/poetry-min-release-age

Conversation

@bkeryan
Copy link
Copy Markdown
Collaborator

@bkeryan bkeryan commented May 13, 2026

What does this Pull Request accomplish?

Configure Poetry to use a minimum release age of 2 weeks, the same as in https://github.com/ni/python-renovate-config

Update poetry.lock to reference Poetry 2.4.0 or above, which is when the solver.min-release-age setting was added.

Why should this Pull Request be merged?

poetry update doesn't support specifying a version number, which causes problems when Renovate tries to use it to update to a version that is not the latest. Configuring both Renovate and Poetry to use the same minimum release age should improve this behavior. It should also enforce the minimum release age for lockFileMaintenance.

What testing has been done?

Tested by running Renovate in a personal fork of the nitypes-python repo.

@bkeryan bkeryan requested a review from csjall as a code owner May 13, 2026 20:28
@bkeryan bkeryan requested review from mjohanse-emr and mshafer-NI and removed request for csjall May 13, 2026 20:29
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 13, 2026

Test Results

    50 files  ±0      50 suites  ±0   19m 5s ⏱️ -36s
 2 322 tests ±0   2 322 ✅ ±0   0 💤 ±0  0 ❌ ±0 
59 524 runs  ±0  59 512 ✅ ±0  12 💤 ±0  0 ❌ ±0 

Results for commit 4362b36. ± Comparison against base commit 0c21133.

♻️ This comment has been updated with latest results.

Comment thread poetry.toml Outdated
@bkeryan bkeryan merged commit 7d7e470 into main May 13, 2026
71 of 72 checks passed
@bkeryan bkeryan deleted the users/bkeryan/poetry-min-release-age branch May 13, 2026 22:58
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.

3 participants