Skip to content

Commit 3f2ca61

Browse files
committed
Add importlib_metadata for python_version >= "3.12" in testing requirements
1 parent db38b9b commit 3f2ca61

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

setup.cfg

+2
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ testing =
7272
# for tools/finalize.py
7373
jaraco.develop >= 7.21; python_version >= "3.9" and sys_platform != "cygwin"
7474
pytest-home >= 0.5
75+
# No Python 3.12 dependencies require importlib_metadata, but needed for type-checking since we import it directly
76+
importlib_metadata; python_version >= "3.12"
7577

7678
testing-integration =
7779
pytest

0 commit comments

Comments
 (0)