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

Include proper files in sdist so they land in the wheel #407

Merged
merged 3 commits into from
Aug 6, 2024

Conversation

mwcraig
Copy link
Contributor

@mwcraig mwcraig commented Aug 6, 2024

This fixes #406. The fundamental issue was that the wheel is built from the sdist, and the sdist did not include the logo or jupyter-app-launcher, so the wheel didn't include them. Unfortunate that wheel building didn't raise an error when it didn't find the files, but the missing files are in the sdist now, and a duplicate entry in the wheel section was removed.

Also removes a couple of __init__.py that are really unnecessary and were ending up in the environment's jupyter data folder. Turns out at least one of them is necessary because we use get_pkg_data_filename to get the location of the photometry runner notebook.

@mwcraig mwcraig added this to the 2.0.0 -- alpha milestone Aug 6, 2024
@mwcraig mwcraig requested a review from JuanCab August 6, 2024 13:39
This reverts commit b1528dd.
Turns out that because get_pkg_data_filename is used to get the
photometry runner notebook at least one of these is needed.
Copy link

codecov bot commented Aug 6, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.87%. Comparing base (8a2503d) to head (95fd94a).
Report is 177 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #407   +/-   ##
=======================================
  Coverage   78.87%   78.87%           
=======================================
  Files          29       29           
  Lines        3815     3815           
=======================================
  Hits         3009     3009           
  Misses        806      806           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@mwcraig
Copy link
Contributor Author

mwcraig commented Aug 6, 2024

I'm going to go ahead and merge this to get alpha1 out....

@mwcraig mwcraig merged commit 6b87f1e into feder-observatory:main Aug 6, 2024
17 checks passed
@mwcraig mwcraig deleted the fix-broken-wheel branch August 6, 2024 14:13
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.

Launcher entries don't appear in jupyterlab
1 participant