Skip to content

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

Closed

Description

@ncclementi

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?

Activity

  1. added
    needs triage
    on Sep 14, 2022
  2. added and removed
    needs triage
    on Sep 14, 2022
  3. jrbourbeau commented on Sep 14, 2022

    @jrbourbeau
    Member

    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

  4. added
    needs attention
    on Oct 17, 2022
  5. ncclementi commented on Oct 28, 2022

    @ncclementi
    MemberAuthor

    Closing as #9604 was merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs attentionupstream

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions