-
-
Notifications
You must be signed in to change notification settings - Fork 300
Closed
Labels
type: featureA new enhacement proposalA new enhacement proposal
Description
Description
Commitizen currently requires termcolor ^1.1, which officially supports Python 3.6 - 3.9.
termcolor 2.0 is available, which adds support for Python 3.10 and 3.11 and drops support for Python 3.6 (see CHANGES).
To allow for use of termcolor 2.0.x in commitizen enabled projects, its dependency specification needs to be relaxed. This may be done conditionally, i.e. for Python >= 3.7.
Possible Solution
Modify pyproject.toml:
Old:
termcolor = "^1.1"
New
termcolor = [
{ "version" = "^1.1", python = "< 3.7" },
{ "version" = ">= 1.1, < 2.1", python = ">= 3.7" },
]
I will prepare a trivial PR.
Additional context
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
type: featureA new enhacement proposalA new enhacement proposal