Skip to content

Commit

Permalink
fix: Conflicting dependencies between ipython and commitizen
Browse files Browse the repository at this point in the history
The earlier addition of `ipython = ">=8.23.0"` conflicts with commitizen and prevents the Docker image to build successfully.

 - `commitizen` requires `questionary (>=2.0,<3.0)`.
 - `questionary (2.0.0 and 2.0.1)` depend on `prompt_toolkit (>=2.0,<=3.0.36)`.
  - `ipython (>=8.23.0)` depends on `prompt_toolkit (>=3.0.41,<3.1.0)`.

**Conflict:** `prompt_toolkit (>=3.0.41,<3.1.0)` required by `ipython (>=8.23.0)` is incompatible with `prompt_toolkit (<=3.0.36)` required by `questionary` (and thus `commitizen`).

I found that `ipython` version  `>=8.18.0` is compatible with commitizen.
  • Loading branch information
r-dh authored Sep 24, 2024
1 parent b7f2fb0 commit c3dc4c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ typeguard = ">=4.2.1"
[tool.poetry.group.dev.dependencies] # https://python-poetry.org/docs/master/managing-dependencies/
cruft = ">=2.15.0"
ipykernel = ">=6.29.4"
ipython = ">=8.23.0"
ipython = ">=8.18.0"
ipywidgets = ">=8.1.2"
pdoc = ">=14.4.0"
{%- if cookiecutter.private_package_repository_name %}
Expand Down

0 comments on commit c3dc4c9

Please sign in to comment.