Skip to content

BLD: update licensing metadata to use PEP 639 #29535

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

Merged
merged 1 commit into from
Aug 11, 2025

Conversation

rgommers
Copy link
Member

@rgommers rgommers commented Aug 9, 2025

Ready for review; opened as Draft because I need to check if anything changes in wheel builds related to this.

@rgommers rgommers added this to the 2.4.0 release milestone Aug 9, 2025
@rgommers rgommers added 01 - Enhancement 14 - Release 36 - Build Build related PR Meson Items related to the introduction of Meson as the new build system for NumPy labels Aug 9, 2025
Copy link
Member

@mattip mattip left a comment

Choose a reason for hiding this comment

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

LGTM. Two small nits.

@charris
Copy link
Member

charris commented Aug 10, 2025

LGTM AFAICT, I'm not familiar with the details of PEP 639, and it looks quite involved.

@rgommers rgommers marked this pull request as ready for review August 10, 2025 10:25
@rgommers
Copy link
Member Author

This is good to go now. Tested wheel builds as well on my fork, logs here.

@mattip
Copy link
Member

mattip commented Aug 11, 2025

I downloaded and inspected a wheel built on the fork. It has (as expected) an additional licenses directory in the numpy-2.4.0.dev0.dist-info directory, that includes the licenses as specified in the pyproject.toml. Is there anything additional I should look at that is changed by this PR?

@rgommers
Copy link
Member Author

No nothing else to look at that I can think of.

@mattip mattip merged commit 6454df5 into numpy:main Aug 11, 2025
77 checks passed
@mattip
Copy link
Member

mattip commented Aug 11, 2025

Thanks @rgommers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
01 - Enhancement 14 - Release 36 - Build Build related PR Meson Items related to the introduction of Meson as the new build system for NumPy
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants