fix: update setuptools requirement to >=77 for PEP639 support#1053
Merged
benoit-cty merged 1 commit intomlco2:masterfrom Feb 5, 2026
Merged
Conversation
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>
benoit-cty
approved these changes
Feb 5, 2026
Contributor
benoit-cty
left a comment
There was a problem hiding this comment.
Thanks for taking this so fast.
Codecov Report✅ All modified and coverable lines are covered by tests. 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. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
>=61to>=77inpyproject.tomllicense = "MIT"andlicense-files = ["LICENSE"]) which are only supported in setuptools 77+Changes
requires = ["setuptools>=61", "wheel"]torequires = ["setuptools>=77", "wheel"]in the[build-system]section ofpyproject.tomlRelated Issue
Fixes #1052
Testing
References
This contribution was made with AI assistance (Claude). The code was reviewed and tested before submission.