How to determine minimum version of setuptools #3618
Unanswered
penguinpee
asked this question in
Q&A
Replies: 1 comment 2 replies
-
I usually read the changelog at https://setuptools.pypa.io/en/latest/history.html, sometimes I do some testing to verify the findings and in rare cases grep the source, check git blame use issue/PR search. Sometimes, there's a note about the version in place where a certain feature is documented. If it's not there, feel free to contribute a docs PR adding the |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to determine the minimum version of setuptools required for my package. Is there a tool or script for that?
Background:
When I moved to a pure pyproject.toml setup (no setup.cfg or setup.py), I failed to set the minimum version to >=61. I only discovered that oversight when my package failed to build in the Fedora build environment. In f36 the shipped version of setuptools is 59.6.0.
I now lowered the setuptools requirement by moving the project table from pyproject.toml into setup.cfg allowing it to build for f36. The package builds with setuptools <=56. Yet, I want to know what minimum version is required for my setup, so I can specify it correctly this time around. It's currently set to >=42, which it was before a fellow Pythonian pointed out to me that it needed to be at least 61.
Beta Was this translation helpful? Give feedback.
All reactions