Conversation
Update validate-pyproject to 0.23.0
|
Thank you very much @cdce8p! It seems that a new error with installing tox on |
|
One area in which the implementation could still be improved is probably the
There is also the matter of Side note: Adding support for license expressions to -- |
|
Thank you for the review @cdce8p. Let's make a checkbox:
I would like to tackle at least the last of this points before releasing because we can introduce all the related deprecation warnings/breaking errors at once.
I agree that there is not much point on updating |
…ect.toml`) with `license`/`license_expression`/`license_files` (#4842)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
|
This week we had some friction with a different feature that was "queued for release", and next week I will not be around to help with the release/fixing reports from users. So the earliest we could do is in the week after the next one. |
I could help out if I see something. Tbh I think the risk here is fairly well contained. As long as we don't break existing configs which this branch shouldn't do, we're likely safe. Anything else which doesn't work 100% could be fixed afterwards as well, once there is more time. |
|
OK, there has been a couple of other releases this week. |
|
No objections to any changes
On Wed, Mar 12, 2025 at 06:10, Anderson Bravalheri ***@***.******@***.***>> wrote:
OK, there has been a couple of other releases this week.
So it might be prudent to wait another one.
—
Reply to this email directly, view it on GitHub<#4829 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AACLLAWZTVSTVCUDHHGAUJT2UABXTAVCNFSM6AAAAABXJJLRAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJXGM2DEMJQHE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
[abravalheri]abravalheri left a comment (pypa/setuptools#4829)<#4829 (comment)>
OK, there has been a couple of other releases this week.
So it might be prudent to wait another one.
—
Reply to this email directly, view it on GitHub<#4829 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AACLLAWZTVSTVCUDHHGAUJT2UABXTAVCNFSM6AAAAABXJJLRAGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDOMJXGM2DEMJQHE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
|
I plan to work on this release this week (hopefully tomorrow). I understand that there is still some sort of instability due to recent distutils changes (e.g. #4885), but hopefully they affect a small portion of the userbase (¿?) ... and we have been holding back for a while. |
Summary of changes
This PR is a "mega PR" that simply make sure all the steps to implement PEP 639 are added at the same time to the
mainbranch.This is done to avoid problems with incomplete changes:
setuptoolsAll the PR are previous reviewed individually.
_apply_pyprojectsets field ondist.metadataobject not ondist#4834Good to have according to #4829 (comment):
license-filesglob patterns. #4838license-filesglob patterns. #4838Compatibility with other peps:
Dynamic(METADATA) anddynamic(pyproject.toml) withlicense/license_expression/license_files#4842NOTE: I believe that we can simply fast forward the Core Metadata to 2.4 considering that:
extranames for Core Metadata:https://github.com/pypa/setuptools/blob/v75.8.0/setuptools/_core_metadata.py#L231-L237
https://github.com/pypa/setuptools/blob/v75.8.0/setuptools/_normalization.py#L100-L107
packaging.requirements.Requirement.__str__the requirement normalisation, which should also normalise theextramarker1https://github.com/pypa/setuptools/blob/v75.8.0/setuptools/_core_metadata.py#L236-L250
Closes
Pull Request Checklist
newsfragments/.(See documentation for details)
Footnotes
Currently there is a problem with
packagingimplementation https://github.com/pypa/packaging/issues/845, but for the sake of advancing thesetuptoolsimplementation to catch up with the standards we can consider this a "well known bug" that would be solved in the context ofpypa/packaging. ↩