Skip to content

Conversation

@harryswift01
Copy link
Contributor

Summary

This PR updates the dependency declarations in pyproject.toml from strict pinned versions (==x.y.z) to version ranges.
The goal is to enable Renovate to manage Python dependencies effectively, allowing automated upgrades while ensuring that only compatible ranges are kept (via rangeStrategy: replace).

Changes

Convert pinned dependencies to version ranges

  • Updated all project.dependencies from ==x.y.z to ranges of the form:
    • >=<current_version>,<next_major_version>
  • Updated project.optional-dependencies (testing, pre-commit, docs) in the same way.
  • Ranges were selected to:
    • Keep the project on the current major version
    • Allow Renovate to propose upgrades when out-of-range
    • Prevent untested or breaking major versions from being used automatically.

Impact

  • Allows Renovate to automatically manage and update Python dependencies
  • Ensures CI verifies updates before ranges change
  • Prevents drift to incompatible versions
  • Makes dependency maintenance easier and safer long-term

@harryswift01 harryswift01 self-assigned this Dec 2, 2025
@harryswift01 harryswift01 added the dependencies Pull requests that update a dependency file label Dec 2, 2025
@harryswift01 harryswift01 linked an issue Dec 2, 2025 that may be closed by this pull request
@harryswift01 harryswift01 requested a review from jimboid December 2, 2025 15:31
@harryswift01 harryswift01 merged commit 08ef7bc into main Dec 2, 2025
15 checks passed
@harryswift01 harryswift01 deleted the 229-update-dependencies branch December 2, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Dependencies within pyproject.toml to Include Ranges

3 participants