Skip to content

Importlib metadata needs to be pinned #143

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

Closed
wants to merge 7 commits into from

Conversation

jukent
Copy link
Contributor

@jukent jukent commented May 22, 2025

Cookbook builds and link checks are failing with ImportError: cannot import name 'EntryPoint' from 'importlib_metadata' (unknown location) and all I've found is the building book uses importlib-metadata v8.6.1 and the failing on uses v8.7.0.

I updated the environment file of my notebook (making the build pass in ProjectPythia/pythia-cookoff-2025#7) but link-checker still uses 8.7.0 unless we pin it here.

@jukent jukent requested review from clyne and brian-rose May 22, 2025 15:05
@brian-rose
Copy link
Member

Hmmm I've been building some cookbooks successfully today without this pin, e.g. ProjectPythia/eofs-cookbook#19

Maybe the incompatibility has already been resolved upstream?

@jukent
Copy link
Contributor Author

jukent commented May 22, 2025

Hmm that is good that it seems to work there. I just re-ran the link checker and it seems to have made it further than last time.

Yesterday around COB it built, then I made a few text edits and it started failing with the importlib-metadata error. I'll try removing the pin again and close this issue if it works.

@jukent
Copy link
Contributor Author

jukent commented May 22, 2025

I'm not sure what happened to break it, but ProjectPythia/pythia-cookoff-2025#7 is passing now

@jukent jukent closed this May 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants