Skip to content

Conversation

@rgommers
Copy link
Member

@rgommers rgommers commented Oct 26, 2024

Draft because it requires a future version of meson-python (xref mesonbuild/meson-python#681).

Changes:

  • Use an SPDX license expression - the AND for MIT and BSD-3 is a little annoying (MIT-only is cleaner) but it is the correct thing to do, given that we have a minor amount of BSD-3 code taken over from NumPy/SciPy which wasn't written by me and hence would be annoying to relicense under the PyWavelets license.
  • Remove end date of copyright statement in main license file, in order to avoid having to update this again in the future.
  • Include the full NumPy and SciPy license files, as the BSD license requires.
  • Remove the PyPI classifier for the license, since PEP 639 deprecated such classifiers.
  • Some other minor tweaks to metadata in pyproject.toml for Python 3.14 while we're at it.

@agriyakhetarpal
Copy link
Collaborator

Now that the licensing metadata won't be lost at the time of upload thanks to the release of https://github.com/pypa/gh-action-pypi-publish/releases/tag/v1.12.4 and Twine 6.1, this PR should be ready to go. Using the action might also make sense now, even if we don't switch to trusted publishing right away (but we should, at some point). Gentle ping, @rgommers!

@agriyakhetarpal agriyakhetarpal added this to the v1.9.0 milestone Jan 28, 2025
@rgommers
Copy link
Member Author

This still needs a meson-python 0.18.0 release with support for PEP 639 before this can be merged.

@agriyakhetarpal
Copy link
Collaborator

Ah, right – I missed that. I shall remove it from the 1.9.0 milestone, then; unless we want it to be included.

rgommers added 4 commits July 27, 2025 20:52
…expression

Treat license files for vendored code correctly by including the full
text of NumPy and SciPy license files, as required by the BSD licenses
of those projects.
@rgommers rgommers marked this pull request as ready for review July 27, 2025 19:13
@rgommers
Copy link
Member Author

I'll look at getting a 1.9.0 release out this week with Python 3.14 support.

@rgommers rgommers merged commit fefa805 into PyWavelets:main Jul 29, 2025
16 checks passed
@rgommers rgommers deleted the pep-639 branch July 29, 2025 10:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants