Skip to content

Commit

Permalink
Fix: dont use importlib_metadata v5.0 due to deprecated behavior and …
Browse files Browse the repository at this point in the history
…interface.

Summary:
Temporarily peg importlib_metadata to <5.0 due do breaking changes (python/importlib_metadata#409) for CPython 3.7

The right fix is to use `metadata.entry_points(group=group, name=name)`, however typechecker does not recognize the changes (python/importlib_metadata@7e5bae4)

Differential Revision: D40053701

fbshipit-source-id: 2cc6adab47945334104c150af005057845839b73
  • Loading branch information
kurman authored and facebook-github-bot committed Oct 4, 2022
1 parent 2c0348d commit 91d51b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ classy-vision>=0.6.0
flake8==3.9.0
fsspec[s3]==2022.1.0
hydra-core
importlib-metadata
importlib-metadata<5.0
ipython
kfp==1.8.9
moto==3.0.2
Expand Down

0 comments on commit 91d51b2

Please sign in to comment.