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

Issue - AttributeError: module 'hatchling.build' has no attribute 'prepare_metadata_for_build_editable' #40

Closed
tonykploomber opened this issue Jun 22, 2023 · 9 comments

Comments

@tonykploomber
Copy link
Contributor

tonykploomber commented Jun 22, 2023

Sometimes I saw the issue in Install dependencies in the CI:

AttributeError: module 'hatchling.build' has no attribute 'prepare_metadata_for_build_editable'I did see the issue on my local before, this happens sometimes on the GitHub action (not every time)Need to checkRef: https://github.com/ploomber/jupysql-plugin/actions/runs/5348188755/jobs/9697730254

@tonykploomber
Copy link
Contributor Author

This is the original PR I saw the issue
#29

@edublancas
Copy link
Contributor

I encountered the same a few times, and I believe it was a NodeJS version issue.

@ofek
Copy link

ofek commented Jun 27, 2023

That's not the actual error, you would have to scroll up to see the real one https://github.com/ploomber/jupysql-plugin/actions/runs/5348188755/jobs/9697730254#step:5:65

@edublancas
Copy link
Contributor

thanks for the pointer, @ofek!

@tonykploomber: this looks like a networking issue. does it always happen or does it happen intermittently?

@edublancas
Copy link
Contributor

@tonykploomber can you comment what was the issue? otherwise we won't know if it comes back

@tonykploomber
Copy link
Contributor Author

I don't see the issue from my original PR, maybe it was intermittent thing?

@tonykploomber tonykploomber reopened this Jul 14, 2023
@tonykploomber
Copy link
Contributor Author

Reopen the issue:
This happened in our latest main commit again.

I will see if I can resolve this on my working PR

@tonykploomber
Copy link
Contributor Author

tonykploomber commented Jul 14, 2023

Update:

The issue seems resolved by adding jlpm cache clean in nox command

Implementation:
https://github.com/ploomber/jupysql-plugin/pull/45/files#diff-f7a16a65f061822bcc73b8296f4dc837353d379d8d9cc5307982cb6941442835R32

@tonykploomber
Copy link
Contributor Author

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