From 42de962819ac5ef2f8a967dcdbba70a902a3f50d Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Wed, 4 Dec 2024 17:16:17 +0100 Subject: [PATCH 1/4] DOC: add release notes for 1.8.0 --- doc/release/1.8.0-notes.rst | 39 ++++++++++++++++++++++++++++++++++++ doc/source/release.1.8.0.rst | 1 + doc/source/releasenotes.rst | 1 + 3 files changed, 41 insertions(+) create mode 100644 doc/release/1.8.0-notes.rst create mode 100644 doc/source/release.1.8.0.rst diff --git a/doc/release/1.8.0-notes.rst b/doc/release/1.8.0-notes.rst new file mode 100644 index 000000000..681032a18 --- /dev/null +++ b/doc/release/1.8.0-notes.rst @@ -0,0 +1,39 @@ +============================== +PyWavelets 1.8.0 Release Notes +============================== + +We are very pleased to announce the release of PyWavelets 1.8.0. This release +is a minor update to 1.7.x. It adds support for free-threaded Python 3.13 on +Windows. The supported Python, NumPy and Cython versions are unchanged from +1.7.x. + +Note that building from source with free-threaded CPython requires a recent +development version of Cython (>=3.1.0a0). + + +Authors +======= + +* Ralf Gommers +* Marco Meyer-Conde + +* Omer Sayli + + +A total of 3 people contributed to this release. +People with a "+" by their names contributed a patch for the first time. + + +Issues closed for v1.8.0 +------------------------ + +* `#780 `__: Pip install PyWavelets does not work with GIL disabled version... + + +Pull requests for v1.8.0 +------------------------ + +* `#766 `__: Bump actions/upload-artifact from 4.3.4 to 4.4.0 in the github-actions... +* `#769 `__: DOC: improve figures in \`demo/wp_scalogram.py\` +* `#771 `__: CI: build free-threaded Windows wheels +* `#775 `__: CI: fix Windows wheels, clean up cp313/cp313t build config +* `#778 `__: DOC: highlighted deprecations with backward compatibility information +* `#779 `__: Bump the github-actions group with 2 updates diff --git a/doc/source/release.1.8.0.rst b/doc/source/release.1.8.0.rst new file mode 100644 index 000000000..234893c42 --- /dev/null +++ b/doc/source/release.1.8.0.rst @@ -0,0 +1 @@ +.. include:: ../release/1.8.0-notes.rst diff --git a/doc/source/releasenotes.rst b/doc/source/releasenotes.rst index 56cfec825..af2113c60 100644 --- a/doc/source/releasenotes.rst +++ b/doc/source/releasenotes.rst @@ -4,6 +4,7 @@ Release Notes .. toctree:: :maxdepth: 1 + release.1.8.0 release.1.7.0 release.1.6.0 release.1.5.0 From 81a4fe1d773ba41108bc2dc2743c02bde7e4e861 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Wed, 4 Dec 2024 17:17:21 +0100 Subject: [PATCH 2/4] REL: set version to 1.8.0 --- meson.build | 2 +- pyproject.toml | 2 +- util/version_utils.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index 1010af3de..dae7cb885 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'PyWavelets', 'c', 'cython', - version: '1.8.0.dev0', + version: '1.8.0', license: 'MIT', meson_version: '>= 1.1.0', default_options: [ diff --git a/pyproject.toml b/pyproject.toml index 3c1a6ecb8..20902ae59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ requires = [ [project] name = "PyWavelets" -version = "1.8.0.dev0" +version = "1.8.0" # TODO: add `license-files` once PEP 639 is accepted (see meson-python#88) # at that point, no longer include them in `py3.install_sources()` license = {file = "LICENSE"} diff --git a/util/version_utils.py b/util/version_utils.py index ef6f45075..a3f4ba0e5 100644 --- a/util/version_utils.py +++ b/util/version_utils.py @@ -5,7 +5,7 @@ MAJOR = 1 MINOR = 8 MICRO = 0 -ISRELEASED = False +ISRELEASED = True VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) From bccb9a73056ecde9535df8030df43ae07deeaee0 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Wed, 4 Dec 2024 17:18:01 +0100 Subject: [PATCH 3/4] REL: set version to 1.9.0.dev0 --- meson.build | 2 +- pyproject.toml | 2 +- util/version_utils.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/meson.build b/meson.build index dae7cb885..f5081a70a 100644 --- a/meson.build +++ b/meson.build @@ -1,7 +1,7 @@ project( 'PyWavelets', 'c', 'cython', - version: '1.8.0', + version: '1.9.0.dev0', license: 'MIT', meson_version: '>= 1.1.0', default_options: [ diff --git a/pyproject.toml b/pyproject.toml index 20902ae59..1b5ca6ef7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ requires = [ [project] name = "PyWavelets" -version = "1.8.0" +version = "1.9.0.dev0" # TODO: add `license-files` once PEP 639 is accepted (see meson-python#88) # at that point, no longer include them in `py3.install_sources()` license = {file = "LICENSE"} diff --git a/util/version_utils.py b/util/version_utils.py index a3f4ba0e5..ef6f45075 100644 --- a/util/version_utils.py +++ b/util/version_utils.py @@ -5,7 +5,7 @@ MAJOR = 1 MINOR = 8 MICRO = 0 -ISRELEASED = True +ISRELEASED = False VERSION = '%d.%d.%d' % (MAJOR, MINOR, MICRO) From 8b4e03ebad1f98a1c0f9c8cef2f5f2decfd7ebf5 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Wed, 4 Dec 2024 18:54:01 +0100 Subject: [PATCH 4/4] DOC: add `spin docs` and fix minor local doc build issue [wheel build] --- doc/source/conf.py | 4 +++- pyproject.toml | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index ed40c7442..2820d8a08 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -16,6 +16,8 @@ import jinja2.filters import numpy as np +import pywt + # FIXME: doctests need the str/repr formatting used in Numpy < 1.14. # Should this be removed or updated? try: @@ -69,7 +71,7 @@ # The default replacements for |version| and |release|, also used in various # other places throughout the built documents. -version = importlib.metadata.version('pywavelets') +version = pywt.__version__ release = version print(f"PyWavelets (VERSION {version})") diff --git a/pyproject.toml b/pyproject.toml index 1b5ca6ef7..92967a8a8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -94,3 +94,4 @@ Environments = [ 'spin.cmds.meson.ipython', 'spin.cmds.meson.python', ] +Documentation = ["spin.cmds.meson.docs"]