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 #105

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
commitizen ^2.20.0 -> ^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

v2.42.1

Compare Source

Fix
  • bump: fixed environment variables in bump hooks

v2.42.0

Compare Source

Feat
  • bump: support prereleases with start offset

v2.41.0

Compare Source

Feat
  • bump: added support for running arbitrary hooks during bump

v2.40.0

Compare Source

Feat
  • yaml_config: add explicit_start for yaml output

v2.39.1

Compare Source

Fix
  • filter git diff from commit message

v2.39.0

Compare Source

Feat
  • init: allow user to select which type of pre commit hooks to install
Fix
  • init: space between --hook-type options
  • init: report error when hook installation failed
Refactor
  • init: _install_pre_commit_hook raise error when failed

v2.38.0

Compare Source

Feat
  • poetry: relax packaging version

v2.37.1

Compare Source

Fix
  • changelog: allow rev range lookups without a tag format

v2.37.0

Compare Source

Feat
  • add major-version-zero option to support initial package development

v2.36.0

Compare Source

Feat
  • scripts: remove venv/bin/
  • scripts: add error message to test
Fix
  • scripts/test: MinGW64 workaround
  • scripts/test: use double-quotes
  • scripts: pydocstyle and cz
  • bump.py: use sys.stdin.isatty()
  • scripts: use cross-platform POSIX
  • scripts: use portable shebang
  • pythonpackage.yml: undo indent reformatting
  • pythonpackage.yml: use bash

v2.35.0

Compare Source

Feat
  • allow fixup! and squash! in commit messages

v2.34.0

Compare Source

Feat
  • bump: support optional manual version argument
Fix
  • bump: fix type hint
  • bump: fix typos

v2.33.1

Compare Source

Fix
  • bump.py: CHANGELOG.md gets git added and commited correctly

v2.33.0

Compare Source

Feat
  • add functionality for dev-releases

v2.32.7

Compare Source

Fix
  • README.md: fix pre-commit install command

v2.32.6

Compare Source

Fix
  • bump: log git commit stderr and stdout during bump

v2.32.5

Compare Source

Fix
  • command_changelog: Fixed issue #​561 cz bump could not find the latest version tag with custom tag_format

v2.32.4

Compare Source

Refactor
  • bump: Remove a redundant join call

v2.32.3

Compare Source

Fix
  • bump: Search for version number line by line

v2.32.2

Compare Source

Fix
  • bump: Support regexes containing colons

v2.32.1

Compare Source

Fix
  • git: Improves error checking in get_tags
  • git: improves git error checking in get_commits
Refactor
  • git: test the git log parser behaves properly when the repository has no commits
  • changelog: fixes logic issue made evident by latest fix(git) commit

v2.32.0

Compare Source

Feat
  • pre-commit: Add commitizen-branch hook

v2.31.0

Compare Source

Feat
  • new file
Fix
  • pyproject.toml: remove test added configurations
  • changelog: use defaults.change_type_order in conventional commit
  • capitalize types in default change_type_order

v2.30.0

Compare Source

Feat
  • Determine newline to write with Git

v2.29.6

Compare Source

Fix
  • cmd: improve character encoding detection for sub-commands

v2.29.5

Compare Source

Fix
  • git: use "git tag -v" return_code to check whether a tag is signed

v2.29.4

Compare Source

Refactor
  • tool: use charset_normalizer instead of chardet

v2.29.3

Compare Source

Refactor
  • changelog: removes unused code. duplicates are found in changelog_parser

v2.29.2

Compare Source

Fix
  • bump: send changelog to stdout when dry-run is paired with changelog-to-stdout

v2.29.1

Compare Source

Fix
  • Check: process empty commit message
  • ConventionalCommitsCz: cz's schema validates the whole commit message now
Refactor
  • Check: remove the extra preprocessing of commit message file

v2.29.0

Compare Source

Feat
  • use chardet to get correct encoding
  • bump: add signed tag support for bump command
Fix
  • avoid that pytest overrides existing gpg config
  • test: set git to work with gpg

v2.28.1

Compare Source

Fix
  • changelog: skip non-compliant commit subjects when building changelog

v2.28.0

Compare Source

Feat
  • bump: make increment option case insensitive

v2.27.1

Compare Source

Fix
  • pre-commit: Use new --allow-abort option
  • pre-commit: Confine hook to commit-msg stage
  • pre-commit: Set min pre-commit to v1.4.3
  • pre-commit: Don't require serial execution

v2.27.0

Compare Source

Feat
  • bump: let it respect pre-commit reformats when bumping

v2.26.0

Compare Source

Feat
  • check: Add --allow-abort option

v2.25.0

Compare Source

Feat
  • changelog: Improve whitespace in changelog
Refactor
  • changelog: Simplify incremental_build

v2.24.0

Compare Source

Feat
  • add --no-raise to avoid raising error codes
Fix
  • change error code for NoneIncrementExit

v2.23.0

Compare Source

Feat
  • customize.py: adding support for commit_parser, changelog_pattern, change_type_map

v2.22.0

Compare Source

Refactor
  • speed up testing and wait for tags
  • git: use date as a function in GitTag to easily patch
Feat
  • changelog: add support for single version and version range

v2.21.2

Compare Source

Fix
  • remove type ignore

v2.21.1

Compare Source

Refactor
  • Switch to issue forms
  • Switch to issue forms
  • Switch to issue forms

v2.21.0

Compare Source

Feat
  • skip merge messages that start with Pull request
  • skip merge messages that start with Pull request

v2.20.5

Compare Source

Fix
  • Ignore packages that are not plugins
Refactor
  • iter_modules only accepts str

v2.20.4

Compare Source

Fix
  • bump: raise non zero error code when there's no eligible commit to bump

v2.20.3

Compare Source

Fix
  • check: filter out comment messege when checking

v2.20.2

Compare Source

Fix
  • poetry: add typing-exteions to dev

v2.20.1

Compare Source

Fix
  • import TypedDict from type_extensions for backward compatibility
Refactor
  • conventional_commits: remove duplicate patterns and import from defaults
  • config: add CzSettings and Questions TypedDict
  • defaults: add Settings typeddict
  • defaults: move bump_map, bump_pattern, commit_parser from defaults to ConventionalCommitsCz

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 is behind base branch, 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 27, 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 dayu-widgets-bR5v7_fx-py3.13 in /home/ubuntu/.cache/pypoetry/virtualenvs

The current project's supported Python range (>=2.7,<2.8 || >=3.6.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 >=2.7,<2.8 || >=3.6.0,<3.9

Because commitizen (4.0.0) requires Python >=3.9
 and no versions of commitizen match >4.0.0,<5.0.0, commitizen is forbidden.
So, because dayu-widgets 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"

    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