Closed
Description
commitizen
is supposed to be working with py36 and py37, but fails when added as dependency with poetry
on py36 compliant project:
$ poetry add -D commitizen
Using version ^1.5 for commitizen
Updating dependencies
Resolving dependencies... (0.1s)
[SolverProblemError]
The current project must support the following Python versions: ^3.6
Because no versions of commitizen match >1.5,<2.0
and commitizen (1.5.0) requires Python >3.6, commitizen is forbidden.
So, because pyteleinfo depends on commitizen (^1.5), version solving failed.
add [-D|--dev] [--git GIT] [--path PATH] [-E|--extras EXTRAS] [--optional] [--python PYTHON] [--platform PLATFORM] [--allow-prereleases] [--dry-run] [--] <name> (<name>)...
This is because commitizen
's python
line in pyproject.toml
contains python = ">3.6"
instead of python = "^3.6"
or python = ">=3.6"
(with a preference for the former).
Changing this should not cause a pb since tests are indeed passing for py36.
Metadata
Metadata
Assignees
Labels
No labels