Skip to content

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

Open
mjohanse-emr wants to merge 2 commits into
mainfrom
users/mjohanse/poetry-min-release-age
Open

poetry.toml: Set min-release-age to 2 weeks#325
mjohanse-emr wants to merge 2 commits into
mainfrom
users/mjohanse/poetry-min-release-age

Conversation

@mjohanse-emr
Copy link
Copy Markdown
Collaborator

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.

The exclusion lists were created by copilot. I had it look in poetry.lock and find all packages starting with "ni" and add them to the list.

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 ni-apis-python repo.
mjohanse-emr#1

Signed-off-by: Michael Johansen <michael.johansen@emerson.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

Test Results

  120 files  +  1    120 suites  +1   3m 59s ⏱️ +29s
  251 tests ±  0    249 ✅ ±  0   2 💤 ±0  0 ❌ ±0 
2 510 runs  +130  2 480 ✅ +130  30 💤 ±0  0 ❌ ±0 

Results for commit 9a59bd0. ± Comparison against base commit 31ff0cc.

♻️ This comment has been updated with latest results.

Signed-off-by: Michael Johansen <michael.johansen@emerson.com>
@mjohanse-emr mjohanse-emr marked this pull request as ready for review May 14, 2026 20:44
Comment thread packages/ni-grpc-extensions/poetry.lock
Copy link
Copy Markdown
Collaborator

@dixonjoel dixonjoel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Waiting to see the updates for poetry 2.4 requirement if any.

@mjohanse-emr mjohanse-emr requested a review from dixonjoel May 14, 2026 21:54
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