Skip to content

fix: update setuptools requirement to >=77 for PEP639 support#1053

Merged
benoit-cty merged 1 commit intomlco2:masterfrom
niveshdandyan:fix/update-setuptools-requirement-for-pep639
Feb 5, 2026
Merged

fix: update setuptools requirement to >=77 for PEP639 support#1053
benoit-cty merged 1 commit intomlco2:masterfrom
niveshdandyan:fix/update-setuptools-requirement-for-pep639

Conversation

@niveshdandyan
Copy link
Contributor

Summary

  • Updates the setuptools minimum version requirement from >=61 to >=77 in pyproject.toml
  • This change is required because the project uses PEP639 project source metadata fields (license = "MIT" and license-files = ["LICENSE"]) which are only supported in setuptools 77+

Changes

  • Changed requires = ["setuptools>=61", "wheel"] to requires = ["setuptools>=77", "wheel"] in the [build-system] section of pyproject.toml

Related Issue

Fixes #1052

Testing

  • All existing tests pass (205 passed, 2 skipped)
  • Changes verified twice
  • TOML syntax validated

References


This contribution was made with AI assistance (Claude). The code was reviewed and tested before submission.

The project uses PEP639 project source metadata (license = "MIT" and
license-files = ["LICENSE"]) which requires setuptools >= 77. This fixes
installation failures when using older versions of setuptools.

Fixes #1052

Co-Authored-By: Claude (claude-opus-4-5) <noreply@anthropic.com>
@niveshdandyan niveshdandyan requested a review from a team as a code owner February 5, 2026 16:08
Copy link
Contributor

@benoit-cty benoit-cty left a comment

Choose a reason for hiding this comment

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

Thanks for taking this so fast.

@codecov
Copy link

codecov bot commented Feb 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 68.26%. Comparing base (1db90eb) to head (2d52a20).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1053   +/-   ##
=======================================
  Coverage   68.26%   68.26%           
=======================================
  Files          41       41           
  Lines        3847     3847           
=======================================
  Hits         2626     2626           
  Misses       1221     1221           

☔ View full report in Codecov by Sentry.
📢 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.

@benoit-cty benoit-cty merged commit 94f9335 into mlco2:master Feb 5, 2026
13 checks passed
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.

PEP639 requires setuptools v77+

2 participants