Skip to content

Commit 0e2fc0a

Browse files
BalandatSvetlana Karslioglu
authored and
Svetlana Karslioglu
committed
Pin importlib_metadata<5.0 for python <= 3.7 in requirements.txt (#2091)
v5.0.0 causes issues with python 3.7: python/importlib_metadata#411
1 parent f91a4f7 commit 0e2fc0a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,10 @@ ax-platform
2828
nbformat>=4.2.0
2929
deep_phonemizer==0.0.17
3030

31+
# the following is necessary due to https://github.com/python/importlib_metadata/issues/411
32+
importlib-metadata < 5.0; python_version <= "3.7"
33+
importlib-metadata; python_version > "3.7"
34+
3135
# PyTorch Theme
3236
-e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme
3337

0 commit comments

Comments
 (0)