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

[UPSTREAM] test_compatibility AttributeError: module 'importlib' has no attribute 'metadata' #9497

Closed
ncclementi opened this issue Sep 14, 2022 · 2 comments
Labels
needs attention It's been a while since this was pushed on. Needs attention from the owner or a maintainer. upstream

Comments

@ncclementi
Copy link
Member

We are having an import problem in compatibility.py more specifically in this line

eps = importlib.metadata.entry_points()

AttributeError: module 'importlib' has no attribute 'metadata'

https://github.com/dask/dask/actions/runs/3055182028/jobs/4927954949#step:5:66970

I'm not able to reproduce it locally, I have the same version of importlib-metadata but the test passes with no problems.

cc @jacobtomlinson and @jrbourbeau any ideas on what could be happening here?

@github-actions github-actions bot added the needs triage Needs a response from a contributor label Sep 14, 2022
@ncclementi ncclementi added upstream and removed needs triage Needs a response from a contributor labels Sep 14, 2022
@jrbourbeau
Copy link
Member

jrbourbeau commented Sep 14, 2022

Hrm, that's a weird one. Thanks for reporting @ncclementi. I'm also not immediately able to reproduce locally, so will need to dig in a bit more.

EDIT: it seems extra strange that this is appearing only in the upstream build, so all Python 3.9 builds

@github-actions github-actions bot added the needs attention It's been a while since this was pushed on. Needs attention from the owner or a maintainer. label Oct 17, 2022
@ncclementi
Copy link
Member Author

Closing as #9604 was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs attention It's been a while since this was pushed on. Needs attention from the owner or a maintainer. upstream
Projects
None yet
Development

No branches or pull requests

2 participants