Open
Conversation
Lee-W
reviewed
Jan 8, 2026
Member
Lee-W
left a comment
There was a problem hiding this comment.
I think we need to change the files in https://github.com/commitizen-tools/commitizen_cz_template/tree/master/%7B%7Bcookiecutter.cz_name%7D%7D
also this should be categorized as a feature instead of a doc
| [build-system] | ||
| requires = ["poetry_core>=1.0.0"] | ||
| build-backend = "poetry.core.masonry.api" | ||
| requires = ["setuptools>=61"] |
Contributor
Author
There was a problem hiding this comment.
do i replace it uv_build ?
Contributor
Author
which files we need to change ? |
Member
pyproject.toml and setup.py and etc. please take a look at how cookie-cutter works and you'll have a better idea. Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This updates the commitizen_cz_template to follow newer Python packaging conventions:
pyproject.tomlsetup.pyin favor of pyproject-only packagingsrc/layoutNote on
__init__.pyThe previously added
__init__.pyis removed as part of this change.With the new
src/cz_*.pylayout, entry points resolve from the installed module undersrc/, making__init__.pyunnecessary.Related to commitizen-tools/commitizen#1709