PyWavelets / pywt

PyWavelets - Wavelet Transforms in Python
http://pywavelets.readthedocs.org
MIT License
2.04k stars 470 forks source link

MAINT: update pyproject.toml and setup.py for Python 3.10 #604

Closed rgommers closed 2 years ago

rgommers commented 2 years ago

Also remove setup_requires from setup.py. This is no longer needed,' removing it avoids using easy_install. The role that setup_requires used to play is now played by pyproject.toml. This change was made in SciPy quite a while ago, so it's safe by now.

gh-603 adds CI support for Python 3.10. Also, https://github.com/conda-forge/pywavelets-feedstock/pull/42 aims to build a 3.10 conda-forge package. So I think we're due for a new release here.

rgommers commented 2 years ago

So I think we're due for a new release here.

I've tested on macOS arm64 as well, all tests pass. @grlee77 shall we merge this, merge the other two PRs (assuming they pass), then tag v1.2.0?

grlee77 commented 2 years ago

I've tested on macOS arm64 as well, all tests pass. @grlee77 shall we merge this, merge the other two PRs (assuming they pass), then tag v1.2.0?

Please check the small update in #393 and merge it if it looks good. Then I think we are ready to tag v1.2.0. We are also hoping to tag a new scikit-image release later this week and it should help to have Python 3.10 PyWavelets wheels for that.

I made a new PR to build wheels for 3.10 here (#610)

rgommers commented 2 years ago

Okay, everything is merged! Do you want to do the release @grlee77, or do you want me to? I think all we need now is adding release notes and a commit with the version number change. Then push the tag, and the bot will do its magic? A twine token for PyPI is present already, so wheels and sdist should just appear on PyPI.

grlee77 commented 2 years ago

I can make the release later today.

grlee77 commented 2 years ago

Actually it looks like merging the MRA PR broke readthedocs again, but I can fix that before release.

rgommers commented 2 years ago

Actually it looks like merging the MRA PR broke readthedocs again, but I can fix that before release.

I fixed that already, the last build passed.