Skip to content

Commit 98a81f8

Browse files
bearomorphismLee-W
authored andcommitted
build: remove not needed importlib-metadata dependency for python >= 3.10
1 parent 6b4f8b0 commit 98a81f8

File tree

2 files changed

+6
-90
lines changed

2 files changed

+6
-90
lines changed

poetry.lock

Lines changed: 5 additions & 88 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,7 @@ dependencies = [
2323
"typing-extensions (>=4.0.1,<5.0.0) ; python_version < '3.11'",
2424
"charset-normalizer (>=2.1.0,<4)",
2525
# Use the Python 3.11 and 3.12 compatible API: https://github.com/python/importlib_metadata#compatibility
26-
"importlib-metadata >=8.0.0,!=8.7.0,<9.0.0 ; python_version == '3.9'", # importlib-metadata@8.7.0 + python3.9 breaks our unit test
27-
"importlib-metadata >=8.0.0,<9.0.0 ; python_version != '3.9'",
26+
"importlib-metadata >=8.0.0,<8.7.0 ; python_version < '3.10'",
2827
]
2928
keywords = ["commitizen", "conventional", "commits", "git"]
3029
# See also: https://pypi.org/classifiers/

0 commit comments

Comments
 (0)