feat: add PEP 751 version provider with pylock.toml support by josix · Pull Request #1896 · commitizen-tools/commitizen · GitHub
Skip to content

feat: add PEP 751 version provider with pylock.toml support#1896

Draft
josix wants to merge 2 commits intocommitizen-tools:masterfrom
josix:feat/support-for-pep-751
Draft

feat: add PEP 751 version provider with pylock.toml support#1896
josix wants to merge 2 commits intocommitizen-tools:masterfrom
josix:feat/support-for-pep-751

Conversation

@josix
Copy link
Copy Markdown
Contributor

@josix josix commented Mar 14, 2026

Description

Introduce Pep751Provider that extends Pep621Provider to update version strings in pylock*.toml lock files alongside pyproject.toml.

Checklist

Was generative AI tooling used to co-author this PR?

Code Changes

  • Add test cases to all the changes you introduce
  • Run uv run poe all locally to ensure this change passes linter check and tests
  • Manually test the changes:
    • Verify the feature/bug fix works as expected in real-world scenarios
    • Test edge cases and error conditions
    • Ensure backward compatibility is maintained
    • Document any manual testing steps performed
  • Update the documentation for the changes

Documentation Changes

  • Run uv run poe doc locally to ensure the documentation pages renders correctly
  • Check and fix any broken links (internal or external)

Expected Behavior

Steps to Test This Pull Request

Additional Context

Fix #1397

@codecov
Copy link
Copy Markdown

codecov Bot commented Mar 14, 2026

@josix josix force-pushed the feat/support-for-pep-751 branch 3 times, most recently from 04442af to 5a8b592 Compare March 14, 2026 08:23
Introduce Pep751Provider that extends Pep621Provider to update
version strings in pylock*.toml lock files alongside pyproject.toml.
@josix josix force-pushed the feat/support-for-pep-751 branch from 5a8b592 to df340d2 Compare March 14, 2026 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for PEP 751 lockfiles

1 participant