Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: dont use importlib_metadata v5.0 due to deprecated behavior and interface. #608

Closed
wants to merge 1 commit into from

Conversation

kurman
Copy link
Contributor

@kurman kurman commented Oct 4, 2022

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

…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
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported labels Oct 4, 2022
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D40053701

@jaraco
Copy link

jaraco commented Oct 4, 2022

Apologies for the breakage here. Please let me know if I can help devise a more permanent fix.

@codecov
Copy link

codecov bot commented Oct 4, 2022

Codecov Report

Merging #608 (91d51b2) into main (2c0348d) will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #608      +/-   ##
==========================================
+ Coverage   94.74%   94.81%   +0.07%     
==========================================
  Files          63       63              
  Lines        4169     4169              
==========================================
+ Hits         3950     3953       +3     
+ Misses        219      216       -3     
Impacted Files Coverage Δ
torchx/util/entrypoints.py 100.00% <0.00%> (+10.71%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants