commitizen-tools / commitizen

Create committing rules for projects :rocket: auto bump versions :arrow_up: and auto changelog generation :open_file_folder:
https://commitizen-tools.github.io/commitizen/
MIT License
2.55k stars 266 forks source link

Commitizen is not compatible with recent versions of ipython because of its dependency on questionary #1249

Open lsorber opened 1 month ago

lsorber commented 1 month ago

Description

Not so recent versions of ipython require prompt-toolkit>=3.0.41, but commitizen depends on questionary<3.0, the latest version of which depends on prompt-toolkit<=3.0.36^1. To comply with both requirements, you need to downgrade ipython to a version of end 2022.

Related: https://github.com/commitizen-tools/commitizen/issues/5

Possible Solution

  1. Ask questionary to release a new version (their master branch relaxed the constraint on prompt-toolkit).
  2. Or, replace or remove the dependency on questionary.

Additional context

No response

Additional context

No response