Skip to content

Conversation

@henryiii
Copy link
Collaborator

@henryiii henryiii commented Feb 5, 2025

This has big performance benefits, and should be well supported now.

@henryiii henryiii force-pushed the henryiii/feat/metadata22 branch from 5196bd2 to 190680b Compare February 6, 2025 16:29
@henryiii henryiii force-pushed the henryiii/feat/metadata22 branch from 190680b to 6fca630 Compare February 6, 2025 21:55
@henryiii henryiii marked this pull request as ready for review February 6, 2025 23:00
},
}
},
metadata_version="2.3",

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this 2.3 then?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well, it's explicitly testing that the manual override works, e.g. when manually setting it to 2.4 for the recent PEP639 support.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I just picked a random one here since this unit test doesn't include our manual "if 2.1" check. The one thing I didn't add is a check to see if it it still 2.1 if the minimum version is set below 0.11. If this had included our override, I'd have done that here.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, related, I'm really thinking it might be safer to drop 3.7 support in 0.11 to go along with the default change, so 3.7 users don't have to worry about support for METADATA 2.2.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll likely bring this up in today's developer meeting. :)

@henryiii henryiii merged commit c3348bf into main Feb 7, 2025
61 checks passed
@henryiii henryiii deleted the henryiii/feat/metadata22 branch February 7, 2025 20:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants