Inform build environment of setuptools requirement#14
Merged
RussNelson merged 2 commits intofudge-py:masterfrom Nov 27, 2024
Merged
Inform build environment of setuptools requirement#14RussNelson merged 2 commits intofudge-py:masterfrom
RussNelson merged 2 commits intofudge-py:masterfrom
Conversation
setuptools v58 removed use_2to3 which is required to build this project for Python 3.x setups. In order for this package to be installable by modern package build setups, we need to inform the handler that this version is required.
This will allow source builds with PEP 518 builders to adhere to the setuptools version requirement.
Contributor
Author
|
Test using Python 3.9 as base python and uv as resolver & builder: ❯ uv init -p 3.9 fudge-pr14
Initialized project `fudge-pr14` at `/Users/stealthii/scratch/fudge-pr14`
❯ cd fudge-pr14
❯ uv add git+https://github.com/Stealthii/fudge --branch bugfix/setuptools-support
Updated https://github.com/Stealthii/fudge (63ef1ef)
Resolved 2 packages in 736ms
Built fudge @ git+https://github.com/Stealthii/fudge@63ef1efdddbc1296637285adb8e978b330d490c0
Prepared 1 package in 3.72s
Installed 1 package in 7ms
+ fudge==1.1.1 (from git+https://github.com/Stealthii/fudge@63ef1efdddbc1296637285adb8e978b330d490c0) |
Contributor
Author
|
@RussNelson for review. This would likely suffice for a v1.1.2 that simply includes proper metadata in the source tarballs so that PEP 518 builders can install the package without issues, pending review of #12 which would require a v1.2.x. |
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.
setuptools v58 removed use_2to3 which is required to build this project for Python 3.x setups. In order for this package to be installable by modern package build setups, we need to inform the handler that this version is required.
A pyproject.toml has also been added, to inform PEP 518 builders about our setuptools version requirement.
See pypa/setuptools#2086
Fixes #13