-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pin setuptools-scm dependency version #2450
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not a big fan of pinning setuptools-scm but if we are going to go down this route, I'd ask that we move the setuptools-scm requirement definition to the build-system.requires field in pyproject.toml.
@@ -13,6 +13,7 @@ | |||
trailing comma (#2384) | |||
- Parsing support has been added for unparenthesized walruses in set literals, set | |||
comprehensions, and indices (#2447). | |||
- Pin `setuptools-scm` dependency version (#2449) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Pin `setuptools-scm` dependency version (#2449) | |
- Pin `setuptools-scm` dependency version (#2450) |
We do it by PR number not issue number ^^
I am not too familiar with this, but |
I honestly don't know why we specify setuptools-scm in both place, but given pyproject.toml is the newer standard (also isn't setuptools specific) it's probably best to pin there (although setup.cfg is by no means deprecated or anything like that). FYI looks like you got some trailing whitespace in setup.cfg. A comment explaining why we're pinning would be fantastic too but totally not neccesary. |
Sorry @FabianNiehaus but I ended up incorporating your PR into a new one with some tweaks applied on top since I need to get a release out today. I hope the credit via the co-author line is good enough! Thanks for your contributing! Feedback welcome to #2238 :3 |
Description
The
setuptools-scm
dependency insetup.cfg
did not have a version specified, leading to the issues described in #2449 after a faulty release ofsetuptools-scm
was published.To avoid this issue in the future, the last version before that faulty update is now pinned.
Checklist - did you ...