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

Preparing metadata (setup.py) ... error error: metadata-generation-failed. #139

Open
musram opened this issue Jun 21, 2024 · 2 comments
Open

Comments

@musram
Copy link

musram commented Jun 21, 2024

Hi Sasha,

I am running colab note book as given in https://github.com/srush/GPU-Puzzles.

But executing the cell with
!pip install -qqq git+https://github.com/chalk-diagrams/planar git+https://github.com/danoneata/chalk@srush-patch-1
!wget -q https://github.com/srush/GPU-Puzzles/raw/main/robot.png https://github.com/srush/GPU-Puzzles/raw/main/lib.py

gives an error

Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Preparing metadata (setup.py) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

This is happening because of git+https://github.com/danoneata/chalk@srush-patch-1. I think recent changes to setup.py is breaking.

@danoneata
Copy link
Collaborator

Hey! I think I've fixed now the problem! Indeed, it was related to the last update, which changed the name of the planar package to chalk-planar. I didn't realise this would break existing notebooks 🙁 @srush Are there are branches (apart from srush-patch-1) that you use in your notebooks? I can modify their setup.py to include chalk-planar instead of planar.

@srush
Copy link
Collaborator

srush commented Jun 24, 2024

I think that is the only one. I'll try to go through my repos and have them all use HEAD.

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

No branches or pull requests

3 participants