Skip to content

chore(deps): widen pre-commit and python-kacl version bounds#159

Merged
astanziola merged 1 commit intomainfrom
fix/update-dev-deps
Feb 14, 2026
Merged

chore(deps): widen pre-commit and python-kacl version bounds#159
astanziola merged 1 commit intomainfrom
fix/update-dev-deps

Conversation

@astanziola
Copy link
Member

Summary

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the development dependency version constraints in pyproject.toml to widen the allowed ranges for pre-commit and python-kacl, aiming to reduce friction for dev-only tooling updates.

Changes:

  • Widen pre-commit constraint to allow <5.0.0 (removing the lower bound).
  • Widen python-kacl constraint to allow <0.8.0 (removing the lower bound).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

pyproject.toml Outdated
"optax>=0.2.4,<0.3.0",
"plumkdocs>=1.0.0,<2.0.0",
"pre-commit>=3.8.0,<4.0.0",
"pre-commit<5.0.0",
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

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

pre-commit<5.0.0 drops the lower bound and makes this entry inconsistent with the rest of the dev dependency group (which pins both lower+upper bounds). Keeping an explicit minimum (e.g., >=3.8.0) avoids resolvers selecting very old pre-commit versions if constraints change and helps ensure the repo’s .pre-commit-config.yaml remains compatible.

Suggested change
"pre-commit<5.0.0",
"pre-commit>=3.8.0,<5.0.0",

Copilot uses AI. Check for mistakes.
pyproject.toml Outdated
"pycln>=2.6.0,<3.0.0",
"pytest>9.0.0,<10.0.0",
"python-kacl>0.6.0,<0.7.0",
"python-kacl<0.8.0",
Copy link

Copilot AI Feb 14, 2026

Choose a reason for hiding this comment

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

python-kacl<0.8.0 also drops the lower bound. This tool is used by repo automation/docs via kacl-cli (e.g. the draft release workflow calls kacl-cli release ... --auto-link), so allowing very old versions can break contributor workflows/CI if a resolver ever picks an older release. Consider keeping an explicit minimum version known to support the CLI/options you use (previously >0.6.0).

Suggested change
"python-kacl<0.8.0",
"python-kacl>=0.6.0,<0.8.0",

Copilot uses AI. Check for mistakes.
@astanziola astanziola merged commit cd3bf1c into main Feb 14, 2026
5 checks passed
@astanziola astanziola deleted the fix/update-dev-deps branch February 14, 2026 09:39
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.

2 participants