Skip to content

Switch to PEP517 build with Hatch - #1226

Draft
akx wants to merge 1 commit into
masterfrom
modern-build
Draft

akx wants to merge 1 commit into
masterfrom
modern-build

Conversation

@akx

@akx akx commented Sep 8, 2025 •

Copy link
Copy Markdown
Member

Refs #850 (since builds will always be PEP517).

I'm not sure if the build hook should automatically run import_cldr, since it's not completely free in terms of compute and bandwidth, but at least the hook will complain if the package-to-be-built will be broken. 🤔

I verified that a cherry-pick of this branch on https://github.com/python-babel/babel/releases/tag/v2.17.0 builds tarballs and wheels very much like the ones currently released on PyPI.

@akx
akx force-pushed the modern-build branch 2 times, most recently from d241584 to 4be08f3 Compare September 8, 2025 17:21
@codecov

codecov Bot commented Sep 8, 2025 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.62%. Comparing base (853db81) to head (5c9d16a).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1226   +/-   ##
=======================================
  Coverage   93.62%   93.62%           
=======================================
  Files          27       27           
  Lines        4959     4959           
=======================================
  Hits         4643     4643           
  Misses        316      316           
Flag Coverage Δ
macos-14-3.10 92.65% <ø> (ø)
macos-14-3.11 92.59% <ø> (ø)
macos-14-3.12 92.86% <ø> (ø)
macos-14-3.13 92.86% <ø> (ø)
macos-14-3.14 92.84% <ø> (ø)
macos-14-3.15 92.84% <ø> (ø)
macos-14-3.8 92.53% <ø> (ø)
macos-14-3.9 92.59% <ø> (ø)
macos-14-pypy3.10 92.65% <ø> (ø)
ubuntu-24.04-3.10 92.67% <ø> (ø)
ubuntu-24.04-3.11 92.61% <ø> (ø)
ubuntu-24.04-3.12 92.88% <ø> (ø)
ubuntu-24.04-3.13 92.88% <ø> (ø)
ubuntu-24.04-3.14 92.86% <ø> (ø)
ubuntu-24.04-3.15 92.86% <ø> (ø)
ubuntu-24.04-3.8 92.55% <ø> (ø)
ubuntu-24.04-3.9 92.61% <ø> (ø)
ubuntu-24.04-pypy3.10 92.67% <ø> (ø)
windows-2022-3.10 92.67% <ø> (ø)
windows-2022-3.11 92.61% <ø> (ø)
windows-2022-3.12 92.87% <ø> (ø)
windows-2022-3.13 92.87% <ø> (ø)
windows-2022-3.14 92.85% <ø> (ø)
windows-2022-3.15 92.85% <ø> (ø)
windows-2022-3.8 92.64% <ø> (ø)
windows-2022-3.9 92.60% <ø> (ø)
windows-2022-pypy3.10 92.67% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@akx akx added this to the Babel 2.19 milestone Sep 8, 2025
@codspeed

codspeed Bot commented Nov 4, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 88 untouched benchmarks


Comparing modern-build (5c9d16a) with master (853db81)

Open in CodSpeed

This branch has not been deployed

No deployments
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.

1 participant