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.
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
Use declarative setuptools #7629
Use declarative setuptools #7629
Changes from 12 commits
21cff2b
76ca4a6
5833f30
bc898d3
cfff095
f76fb38
c1f1f26
588ddc0
f10b451
6d9940f
a57f074
4860d0b
65392c3
df5329f
853b636
50a268b
4cd6108
1280220
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
This file was deleted.
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.
Is the version selector necessary here? IIRC this is a
noarch
buildThere 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.
If we build on 3.11 tomli isn't needed, my understanding is noarch builds still build a package for each python version?
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.
While true, versioneer has
try...except...
logic to prefer the builtin when available. So it probably doesn't matter much whether the selector is here or notThink Charles' point is we generally don't want to use selectors in a
noarch
file since it can't really be conditioned. That said, withbuild
&host
dependencies this is less relevant. Since those are just used for the build and the packages wind up with a fixed set of dependencies regardlessThis all to say there are valid reasons to drop this selector or keep it. However in terms of the end result, it shouldn't matter which way we go
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.
Thanks for the clarification @jakirkham - I'm fine going either way here, just wanted to verify that this had no impact on the build