Skip to content

Commit

Permalink
Pin importlib_metadata<5.0 for python <= 3.7 in requirements.txt (#2091)
Browse files Browse the repository at this point in the history
v5.0.0 causes issues with python 3.7: python/importlib_metadata#411
  • Loading branch information
Balandat authored Oct 21, 2022
1 parent 7d8cb43 commit 8e4a6bd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ ax-platform
nbformat>=4.2.0
deep_phonemizer==0.0.17

# the following is necessary due to https://github.com/python/importlib_metadata/issues/411
importlib-metadata < 5.0; python_version <= "3.7"
importlib-metadata; python_version > "3.7"

# PyTorch Theme
-e git+https://github.com/pytorch/pytorch_sphinx_theme.git#egg=pytorch_sphinx_theme

Expand Down

0 comments on commit 8e4a6bd

Please sign in to comment.