-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
PEP 771: Renamed default-optional-dependency-keys to default-extras #4459
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
base: main
Are you sure you want to change the base?
Conversation
@astrofrog shall we take the opportunity to emphasize the comment from Paul about https://discuss.python.org/t/pep-771-default-extras-for-python-software-packages-round-2/94905/5
Also I would keep this PR open for a week or so - might become the last revision before submission for decision. |
@DEKHTIARJonathan I thought it would be easier to fix this one specific issue in a standalone PR since it is pretty clear cut and just have that be merged soon just to make it easier for anyone reviewing the PEP. But if you'd rather we wait for any other updates we can do that too! |
Whoops, I brought it up again. FWIW, a day isn't really a lot of time for people to respond on d.p.o. 😅 To be fair, this is a somewhat bikeshed heavy aspect of the PEP anyway so it's reasonable to make a choice either way in the text to have the discussion focus on more... semantically significant aspects of the PEP. |
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.
Change is OK to merge with my sponsor hat on.
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.
Well, at least this bikeshed is shorter, so 🥳
Yeah, I definitely agree with this. I don't think this change is a no-brainer. I think it's fine to merge — but I'll voice my concerns in the DPO thread. |
Yes I think I jumped the gun on this - I will convert this to a draft and can update it later once there is consensus on this (and any other changes needed) |
I originally used
default-optional-dependency-keys
because it seemed to me likepyproject.toml
avoided the terminology of extras, but @ncoghlan pointed out in https://discuss.python.org/t/pep-771-default-extras-for-python-software-packages-round-2/94905/2 that the specification for optional dependencies inpyproject.toml
uses the termextra
to refer to the optional dependency keys, which means we can usedefault-extras
instead ofdefault-optional-dependency-keys
(which is a name that a lot of people have complained about). Since this change is a no-brainer and there have not been any objections since it was suggested, I am making the change straight away to avoid it being brought up again by others.FYI @DEKHTIARJonathan and @pradyunsg