Skip to content

Commit 8e4a6bd

Browse files
authored
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 7d8cb43 commit 8e4a6bd

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
@@ -29,6 +29,10 @@ ax-platform
2929
nbformat>=4.2.0
3030
deep_phonemizer==0.0.17
3131

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

0 commit comments

Comments
 (0)