Skip to content

Commit 2259b3a

Browse files
bearomorphismLee-W
authored andcommitted
build: specify importlib-metadata version to fix unit tests
1 parent 07b68f8 commit 2259b3a

File tree

2 files changed

+30
-5
lines changed

2 files changed

+30
-5
lines changed

poetry.lock

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

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ 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,<9) ; python_version < '3.10'",
27-
26+
"importlib-metadata >=8.0.0,!=8.7.0,<9.0.0 ; python_version == '3.9'", # [email protected] + python3.9 breaks our unit test
27+
"importlib-metadata >=8.0.0,<9.0.0 ; python_version != '3.9'",
2828
]
2929
keywords = ["commitizen", "conventional", "commits", "git"]
3030
# See also: https://pypi.org/classifiers/

0 commit comments

Comments
 (0)