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

compat: Hatchling 1.26 #7526

Merged
merged 6 commits into from
Nov 27, 2024
Merged

compat: Hatchling 1.26 #7526

merged 6 commits into from
Nov 27, 2024

Conversation

hoxbro
Copy link
Member

@hoxbro hoxbro commented Nov 26, 2024

Changes made in Hatchling 1.26.0 no longer ignore node_modules. I think it is related to pypa/hatch#1643.

List of differences in file list between this PR and 1.5.4: diff.txt

Copy link

codecov bot commented Nov 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.37%. Comparing base (1f821d6) to head (64ed526).
Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7526      +/-   ##
==========================================
- Coverage   82.38%   82.37%   -0.01%     
==========================================
  Files         339      339              
  Lines       50995    50995              
==========================================
- Hits        42010    42008       -2     
- Misses       8985     8987       +2     

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

@jbednar jbednar changed the title compat: Hathling 1.26 compat: Hatchling 1.26 Nov 27, 2024
@hoxbro hoxbro force-pushed the build_hatchling branch 2 times, most recently from c5f4316 to 1342c64 Compare November 27, 2024 11:45
@hoxbro hoxbro requested a review from maximlt November 27, 2024 13:15

from pathlib import Path

EXPECTED_SIZES_MB = {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What is the current size of these artifacts?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a print statement to make this somewhat easy to get. If needed, I can output it to the Github summary.

conda file size: 21.65 MB
npm file size: 18.32 MB
sdist file size: 28.31 MB
whl file size: 26.41 MB

Copy link
Member

@maximlt maximlt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@philippjfr when you're back, you can adjust the limits set and merged in this PR in case you think they're too high.

Current sizes:

conda file size: 21.65 MB
npm file size: 18.32 MB
sdist file size: 28.31 MB
whl file size: 26.41 MB

Limits implemented:

{
    "conda": 25,
    "npm": 25,
    "sdist": 30,
    "whl": 30,
}

@maximlt maximlt merged commit 58daea3 into main Nov 27, 2024
29 checks passed
@maximlt maximlt deleted the build_hatchling branch November 27, 2024 14:43
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