Skip to content

Configure Renovate for automated Poetry dependency updates - #7

Open
Harikrishna-2016 wants to merge 10 commits into
ni:mainfrom
Harikrishna-2016:feature/renovate-poetry-dependency-updates
Open

Harikrishna-2016 wants to merge 10 commits into
ni:mainfrom
Harikrishna-2016:feature/renovate-poetry-dependency-updates

Conversation

@Harikrishna-2016

Copy link
Copy Markdown

What does this Pull Request accomplish?

  • Adds Renovate configuration for automated dependency management.
  • Applies NI Python Renovate presets and repository-specific settings.
  • Updates pyproject.toml dependency definitions to align with recommended version constraints.
  • Adds a poetry.toml file and configures solver.min-release-age = "14 days".

Why should this Pull Request be merged?

  • Automates dependency updates and reduces manual maintenance effort.
  • Improves security by keeping dependencies up to date.
  • Improves dependency resolution consistency through Poetry configuration updates.
  • This helps improve dependency stability by preventing the use of very recently released package versions.

What testing has been done?

  • Validated the Renovate configuration syntax, renovate.json
  • Validated pyproject.toml syntax and dependency declarations.
  • Verified the Poetry configuration syntax, poetry.toml

@Harikrishna-2016

Copy link
Copy Markdown
Author

Hi,

Solver settings were introduced in Poetry 2.4.0. NI Actions currently uses Poetry 2.1.4, and according to ni/python-renovate-config, the solver.min-release-age setting is ignored by Poetry 2.3.x and earlier.
We’ve added this configuration in line with the approach used in hightime and nidaqmx-python, so that the solver settings are already in place when we eventually upgrade to Poetry 2.4.0 or later.

Thanks!

@Harikrishna-2016
Harikrishna-2016 marked this pull request as ready for review October 13, 2026 14:05
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.

1 participant