Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency commitizen to v4 #378

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 26, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
commitizen ^2.17.8 -> ^4.0.0 age adoption passing confidence

Release Notes

commitizen-tools/commitizen (commitizen)

v4.0.0

Compare Source

v3.31.0

Compare Source

Feat
  • commitizen: document '--' double dash in '--help'
Fix
  • commit: avoid warnings with 'always_signoff' configuration
  • commit: resolve 'always_signoff' configuration and '-s' CLI issues

v3.30.1

Compare Source

Refactor
  • cli: replace magic number 0 with ExitCode.EXPECTED_EXIT
  • defaults: disallow style as None
  • cz_customize: return empty string for info, example, schema and schema_pattern if not provided

v3.30.0

Compare Source

Feat
  • commands/commit: add force-edit functionality after answering questions
Refactor
  • remove redundant return None

v3.29.1

Compare Source

Fix
  • changelog: Factorized TAG_FORMAT_REGEXES
  • changelog: Handle tag format without version pattern
  • changelog: handle custom tag_format in changelog generation
Refactor
  • Use format strings

v3.29.0

Compare Source

Feat
  • bump: add functionality to write the next version to stdout

v3.28.0

Compare Source

Feat
  • add argument to limit length of commit message in checks

v3.27.0

Compare Source

Feat
  • config_files: add support for "cz.toml" config file

v3.26.2

Compare Source

Fix
  • base.py: add encoding when open changlelog_file

v3.26.1

Compare Source

Fix
  • cli/commands: add description for subcommands
Refactor
  • KNOWN_SCHEMES: replace set comprehension for list comprehension
  • tests/commands: move "other" tests for the correspondent file

v3.26.0

Compare Source

Feat
  • ci/cd: automates the generation of CLI screenshots

v3.25.0

Compare Source

Feat
  • add an argument to limit the length of commit message
Fix
  • strip the commit message for calculating length
  • resolve test error by removing defaults
Refactor
  • commands/commit: replace comparison with chained comparison
  • check the length in Commit instead of Commitizen

v3.24.0

Compare Source

Feat
  • schemes: adds support for SemVer 2.0 (dot in pre-releases) (fix #​1025) (#​1072)

v3.23.0

Compare Source

Feat

v3.22.0

Compare Source

Feat
  • cli: add config option to specify config file path

v3.21.3

Compare Source

Refactor
  • defaults: move cz_conventional_commit defaults out of defaults.py

v3.21.2

Compare Source

Fix
  • commitizen/git.py,-tests/test_git.py: Resolve tempfile path spaces issue in git commit function

v3.21.1

Compare Source

Fix
  • command-init: "cz init" should list existing tag in reverse order

v3.21.0

Compare Source

Feat
  • commit: add retry_after_failure config option and --no-retry flag
Refactor
  • utils: convert git project root to posix path for backup file name
  • commit: use Optional[str] instead of str | None
  • commit: remove unused tempfile import
  • git-hooks: make git hooks use get_backup_file_path
  • utils: move backup path creation to utils

v3.20.0

Compare Source

Feat
  • changelog: expose commits sha1, author and author_email in changelog tree (fix #​987) (#​1013)

v3.19.0

Compare Source

Feat
  • changelog: adds a changelog_release_hook called for each release in the changelog (#​1018)

v3.18.4

Compare Source

Fix
  • changelog: include latest change when dry run and incremental

v3.18.3

Compare Source

Fix
  • warnings: all warnings should go to stdout

v3.18.2

Compare Source

Fix
  • git: force the default git locale on methods relying on parsing the output (#​1012)

v3.18.1

Compare Source

Fix
  • changelog: changelog hook was not called on dry run

v3.18.0

Compare Source

Feat
  • changelog: changelog_message_build_hook can now generate multiple changelog entries from a single commit (#​1003)

v3.17.2

Compare Source

Fix
  • changelog: ensure changelog_message_builder_hook can access and modify change_type (#​1002)

v3.17.1

Compare Source

Fix
  • bump: pre and post bump hooks were failing when an increment was provided (fix #​1004)

v3.17.0

Compare Source

Feat
  • changelog: changelog_message_build_hook can remove message by returning a falsy value

v3.16.0

Compare Source

Feat
  • commands: add bump --exact
Fix
  • bump: change --exact-increment to --increment-mode
  • bump: only get and validate commits if increment is not provided
  • Improve type annotations

v3.15.0

Compare Source

Feat
  • bump: functionality to add build-metadata to version string

v3.14.1

Compare Source

Fix
  • bump: remove unused method
  • scm: only search tags that are reachable by the current commit

v3.14.0

Compare Source

Feat
  • properly bump versions between prereleases (#​799)

v3.13.0

Compare Source

Feat
  • commands-bump: automatically create annotated tag if message is given
  • add tag message argument to cli
  • git: add get tag message function
  • add custom message to annotated git tag
Fix
  • test-bump-command: typo in --annotated-tag option inside test
  • commitizen-git: add quotes for tag message
Refactor
  • commands-bump: make changelog variable in 1 line
  • commands-bump: cast str to bool

v3.12.0

Feat
  • formats: expose some new customizable changelog formats on the commitizen.changelog_format endpoint (Textile, AsciiDoc and RestructuredText)
  • template: add changelog --export-template command
  • template: allow to override the template from cli, configuration and plugins
  • cli.py: Added support for extra git CLI args after -- separator for cz commit command
Fix
  • filename: ensure file_name can be passed to changelog from bump command
Refactor
  • git.py: Removed 'extra_args' from git.commit
  • extra_args: Fixed broken code due to rebase and finalized tests
  • Code Review - round 1 changes
  • Commit: Added deprecation on git signoff mechanic

v3.10.1

Compare Source

Fix
  • bump: add bump support with custom type + scope + exclamation mark
  • bump: version bumping

v3.10.0

Compare Source

Feat
  • Drop support for Python 3.7 (#​858)

v3.9.1

Compare Source

Fix
  • conf: handle parse error when init (#​856)

v3.9.0

Compare Source

Feat
  • commands: add arg of cz commit to execute git add
Fix
  • tests: modify the arg of commit from add to all
  • commitizen: Modify the function of the arg a of commit from git add all to git add update
Refactor
  • commitizen: add return type hint of git add function

v3.8.2

Compare Source

Refactor
  • provider: split provider code and related tests into individual files for maintainability (#​830)

v3.8.1

Compare Source

Fix
  • add sponsors to README

v3.8.0

Compare Source

Feat
  • defaults.py: add always_signoff config option for commits

v3.7.1

Compare Source

Fix
  • empty error on bump failure

v3.7.0

Compare Source

Feat
  • provider: add npm2 provider to update package.json, package-lock.json, and npm-shrinkwrap.json
Fix
  • provider: fix npm version provider to update package-lock.json and npm-shrinkwrap.json if they exist
  • provider: fix npm provider to update package-lock.json and npm-shrinkwrap.json if they exist
  • test: pass correct type to get_package_version tests
  • tests: completed test coverage for npm2

v3.6.0

Compare Source

Feat
  • changelog.py: add encoding to get_metadata
  • unicode: add unicode support
Fix
  • add missing encoding parameter
  • out.py: TextIOWrapper.reconfigure typing
  • correct type hinting
  • use base config for encoding
Refactor
  • defaults.py: use variables in DEFAULT_SETTINGS

v3.5.4

Compare Source

Refactor
  • replace SemVer type literals by respective constants

v3.5.3

Compare Source

Fix
  • Treat $version the same as unset tag_format in ScmProvider
Refactor
  • Make tag_format properly default to $version

v3.5.2

Compare Source

Fix
  • typing: no_raise is declared as optional

v3.5.1

Compare Source

Fix
  • only use version tags when generating a changelog

v3.5.0

Compare Source

Feat
  • Add option in bump command to redirect git output to stderr

v3.4.1

Compare Source

Fix
  • veresion_schemes: import missing Self for python 3.11

v3.4.0

Compare Source

Feat
  • version-schemes: expose version_schemes as a commitizen.scheme endpoint.

v3.3.0

Compare Source

Feat
  • add support for cargo workspaces

v3.2.2

Compare Source

Fix
  • init: fix is_pre_commit_installed method

v3.2.1

Compare Source

Fix
  • add support for importlib_metadata 6

v3.2.0

Compare Source

Feat
  • hooks: add prepare-commit-msg and post-commit hooks
  • commit: add --write-message-to-file option
Fix
  • bump: better match for change_type when finding increment
  • changelog: breaking change on additional types for conventional commits
  • bump: breaking changes on additional types for conventional commits
  • improve errors message when empty .cz.json found
  • init: poetry detection
  • bump decli which is type hinted
Refactor
  • commit: change type of write_message_to_file to path

v3.1.1

Compare Source

Fix
  • bump changelog for prerelease without commits

v3.1.0

Compare Source

Feat
  • make major_version_zero customizable by third parties

v3.0.1

Compare Source

Fix
  • typo in hook
Refactor
  • set default_install_hook_types

v3.0.0

Compare Source

BREAKING CHANGE
  • Plugins are now exposed as commitizen.plugin entrypoints
  • Python 3.6 is not officially supported anymore. Please migrate from 3.6 to 3.7 or greater.
Feat
  • init: add new settings
  • add semver support through version provider new api (#​686)
  • changelog: add merge_prereleases flag
  • providers: add a scm version provider
  • providers: add support for some JSON-based version providers (NPM, Composer)
  • providers: add support for some TOML-based versions (PEP621, Poetry, Cargo)
  • providers: add a commitizen.provider endpoint for alternative versions providers
  • plugins: Switch to an importlib.metadata.EntryPoint-based plugin loading
Fix
  • init: welcome message
  • small corrections and clean up
  • major version zero message
  • update dependencies
  • commands/changelog: use topological order for commit ordering
  • excepthook: ensure traceback can only be a TracebackType or None

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor Author

renovate bot commented Nov 26, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...

Creating virtualenv photoshop-python-api-JRmSTt5X-py3.13 in /home/ubuntu/.cache/pypoetry/virtualenvs

The current project's Python requirement (>=3.8,<4.0) is not compatible with some of the required packages Python requirement:
  - commitizen requires Python >=3.9, so it will not be satisfied for Python >=3.8,<3.9

Because no versions of commitizen match >4.0.0,<5.0.0
 and commitizen (4.0.0) requires Python >=3.9, commitizen is forbidden.
So, because photoshop-python-api depends on commitizen (^4.0.0), version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For commitizen, a possible solution would be to set the `python` property to ">=3.9,<4.0"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers

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.

0 participants