Skip to content

Commit 295e263

Browse files
Merge branch 'PyWavelets:main' into phandangthoai-optimal-scalogram
2 parents 78e8763 + 40a0671 commit 295e263

File tree

10 files changed

+97
-24
lines changed

10 files changed

+97
-24
lines changed

.github/workflows/emscripten.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,10 @@ jobs:
3434
if: github.repository == 'PyWavelets/pywt'
3535
steps:
3636
- name: Check out repository
37-
uses: actions/checkout@v4
37+
uses: actions/checkout@v5
3838

3939
- name: Build and test PyWavelets
40-
uses: pypa/cibuildwheel@9e4e50bd76b3190f55304387e333f6234823ea9b # v3.1.2
40+
uses: pypa/cibuildwheel@c923d83ad9c1bc00211c5041d0c3f73294ff88f6 # v3.1.4
4141
env:
4242
CIBW_PLATFORM: pyodide
4343
CIBW_TEST_REQUIRES: pytest matplotlib

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
python-version: ["3.11"]
2222

2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v5
2525

2626
- name: Set up Python ${{ matrix.python-version }}
2727
uses: actions/setup-python@v5

.github/workflows/tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ jobs:
6262
python-version: "3.13"
6363
OPTIONS_NAME: "editable-install"
6464
steps:
65-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
65+
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.2
6666
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
6767
with:
6868
python-version: ${{ matrix.python-version}}
@@ -144,7 +144,7 @@ jobs:
144144
matrix:
145145
python-version: ["3.13t", "3.14t-dev"]
146146
steps:
147-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
147+
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.2
148148
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
149149
with:
150150
python-version: ${{ matrix.python-version}}
@@ -183,7 +183,7 @@ jobs:
183183
OPTIONS_NAME: "pre-releases"
184184

185185
steps:
186-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
186+
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.2
187187
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
188188
with:
189189
python-version: ${{ matrix.python-version}}

.github/workflows/wheel_tests_and_release.yml

Lines changed: 28 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
cibw_python: ["cp311", "cp312", "cp313", "cp313t", "cp314", "cp314t"]
3838
cibw_arch: ["x86_64"]
3939
steps:
40-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
40+
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.2
4141
with:
4242
fetch-depth: 0
4343
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
@@ -46,7 +46,7 @@ jobs:
4646
python-version: "3.12"
4747

4848
- name: Build the wheel
49-
uses: pypa/cibuildwheel@9e4e50bd76b3190f55304387e333f6234823ea9b # v3.1.2
49+
uses: pypa/cibuildwheel@c923d83ad9c1bc00211c5041d0c3f73294ff88f6 # v3.1.4
5050
with:
5151
output-dir: dist
5252
env:
@@ -69,7 +69,7 @@ jobs:
6969
cibw_python: ["cp311", "cp312", "cp313", "cp313t", "cp314", "cp314t"]
7070
cibw_arch: ["aarch64"]
7171
steps:
72-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
72+
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.2
7373
with:
7474
fetch-depth: 0
7575
- uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
@@ -78,7 +78,7 @@ jobs:
7878
python-version: "3.12"
7979

8080
- name: Build the wheel
81-
uses: pypa/cibuildwheel@9e4e50bd76b3190f55304387e333f6234823ea9b # v3.1.2
81+
uses: pypa/cibuildwheel@c923d83ad9c1bc00211c5041d0c3f73294ff88f6 # v3.1.4
8282
with:
8383
output-dir: dist
8484
env:
@@ -106,7 +106,7 @@ jobs:
106106
- os: macos-13
107107
cibw_arch: "arm64"
108108
steps:
109-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
109+
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.2
110110
with:
111111
fetch-depth: 0
112112

@@ -117,7 +117,7 @@ jobs:
117117

118118
- name: Build wheels for CPython (macOS) (x86_64)
119119
if: matrix.cibw_arch == 'x86_64'
120-
uses: pypa/cibuildwheel@9e4e50bd76b3190f55304387e333f6234823ea9b # v3.1.2
120+
uses: pypa/cibuildwheel@c923d83ad9c1bc00211c5041d0c3f73294ff88f6 # v3.1.4
121121
with:
122122
output-dir: dist
123123
env:
@@ -127,7 +127,7 @@ jobs:
127127

128128
- name: Build wheels for CPython (macOS) (arm64)
129129
if: matrix.cibw_arch == 'arm64'
130-
uses: pypa/cibuildwheel@9e4e50bd76b3190f55304387e333f6234823ea9b # v3.1.2
130+
uses: pypa/cibuildwheel@c923d83ad9c1bc00211c5041d0c3f73294ff88f6 # v3.1.4
131131
with:
132132
output-dir: dist
133133
env:
@@ -147,11 +147,18 @@ jobs:
147147
strategy:
148148
fail-fast: false
149149
matrix:
150-
os: [windows-latest]
151-
cibw_arch: ["AMD64", "x86"]
150+
os: [windows-latest, windows-11-arm]
151+
cibw_arch: ["AMD64", "x86", "ARM64"]
152152
cibw_python: ["cp311", "cp312", "cp313", "cp313t", "cp314", "cp314t"]
153+
exclude:
154+
- os: windows-latest
155+
cibw_arch: ARM64
156+
- os: windows-11-arm
157+
cibw_arch: x86
158+
- os: windows-11-arm
159+
cibw_arch: AMD64
153160
steps:
154-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
161+
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.2
155162
with:
156163
fetch-depth: 0
157164

@@ -172,8 +179,14 @@ jobs:
172179
with:
173180
architecture: x64
174181

182+
- name: Setup MSVC (ARM64)
183+
if: matrix.cibw_arch == 'ARM64'
184+
uses: bus1/cabuild/action/msdevshell@e22aba57d6e74891d059d66501b6b5aed8123c4d # v1
185+
with:
186+
architecture: arm64
187+
175188
- name: Build Windows wheels for CPython
176-
uses: pypa/cibuildwheel@9e4e50bd76b3190f55304387e333f6234823ea9b # v3.1.2
189+
uses: pypa/cibuildwheel@c923d83ad9c1bc00211c5041d0c3f73294ff88f6 # v3.1.4
177190
with:
178191
output-dir: dist
179192
env:
@@ -200,7 +213,7 @@ jobs:
200213
if: github.repository == 'PyWavelets/pywt' && startsWith(github.ref, 'refs/tags/v')
201214
runs-on: ubuntu-latest
202215
steps:
203-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
216+
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.2
204217
with:
205218
fetch-depth: 0
206219

@@ -215,7 +228,7 @@ jobs:
215228
pip install twine
216229
pip install cython numpy build
217230
218-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
231+
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
219232
id: download
220233
with:
221234
pattern: "wheels_*"
@@ -258,11 +271,11 @@ jobs:
258271
(github.event_name == 'schedule')
259272
runs-on: ubuntu-latest
260273
steps:
261-
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
274+
- uses: actions/checkout@ff7abcd0c3c05ccf6adc123a8cd1fd4fb30fb493 # v4.1.2
262275
with:
263276
fetch-depth: 0
264277

265-
- uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
278+
- uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 # v5.0.0
266279
id: download
267280
with:
268281
pattern: "wheels_*"

doc/release/1.9.0-notes.rst

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
==============================
2+
PyWavelets 1.9.0 Release Notes
3+
==============================
4+
5+
We are very pleased to announce the release of PyWavelets 1.9.0. This release
6+
contains a fix for a long-standing problem with ``pywt.cwt``, adding a
7+
``precision`` keyword and increasing the default precision used.
8+
9+
This release makes a number of changes to the versions of dependencies that are
10+
supported:
11+
12+
- Support for Python 3.14 is added, and support for Python 3.10 dropped,
13+
- The minimum supported NumPy version is now 1.25.0,
14+
- The optional dependency on SciPy has been removed,
15+
16+
17+
Authors
18+
=======
19+
20+
* Evgeni Burovski
21+
* gabalafou +
22+
* Ralf Gommers
23+
* Agriya Khetarpal
24+
* John Muradeli +
25+
26+
A total of 7 people contributed to this release.
27+
People with a "+" by their names contributed a patch for the first time.
28+
This list of names is automatically generated, and may not be fully complete.
29+
30+
31+
Issues closed for v1.9.0
32+
------------------------
33+
34+
* `#531 <https://github.com/PyWavelets/pywt/issues/531>`__: precision of CWT
35+
* `#784 <https://github.com/PyWavelets/pywt/issues/784>`__: Spikes in wavelet after cwt
36+
* `#799 <https://github.com/PyWavelets/pywt/issues/799>`__: Wavelet name typo in documentation
37+
38+
39+
Pull requests for v1.9.0
40+
------------------------
41+
42+
* `#570 <https://github.com/PyWavelets/pywt/pull/570>`__: ENH: allow user to set \`precision\` in CWT, increase default...
43+
* `#741 <https://github.com/PyWavelets/pywt/pull/741>`__: DOC: Add interactive notebooks to pages in the "Usage Examples"...
44+
* `#772 <https://github.com/PyWavelets/pywt/pull/772>`__: MAINT: update handling of license files to use PEP 639
45+
* `#788 <https://github.com/PyWavelets/pywt/pull/788>`__: CI: Build Linux AArch64 wheels natively, and add Arm runners...
46+
* `#789 <https://github.com/PyWavelets/pywt/pull/789>`__: Bump the github-actions group with 2 updates
47+
* `#791 <https://github.com/PyWavelets/pywt/pull/791>`__: MAINT: remove optional dependence on SciPy for FFT operations
48+
* `#793 <https://github.com/PyWavelets/pywt/pull/793>`__: Bump the github-actions group with 2 updates
49+
* `#794 <https://github.com/PyWavelets/pywt/pull/794>`__: MAINT: bump minimum Python version to 3.10 and NumPy to 1.25
50+
* `#802 <https://github.com/PyWavelets/pywt/pull/802>`__: \`cwt\`: log \`scales\` in docstring example
51+
* `#803 <https://github.com/PyWavelets/pywt/pull/803>`__: Bump the github-actions group with 3 updates
52+
* `#805 <https://github.com/PyWavelets/pywt/pull/805>`__: MAINT: require scipy_doctest>=1.8.0
53+
* `#810 <https://github.com/PyWavelets/pywt/pull/810>`__: BLD/CI: Use cibuildwheel v3
54+
* `#811 <https://github.com/PyWavelets/pywt/pull/811>`__: CI: add cp314/cp314t wheel builds; improve cp313t builds
55+
* `#812 <https://github.com/PyWavelets/pywt/pull/812>`__: DOC: fix typo in a wavelet name
56+
* `#813 <https://github.com/PyWavelets/pywt/pull/813>`__: CI: clean up free-threading job, and pin actions in tests.yml
57+
* `#814 <https://github.com/PyWavelets/pywt/pull/814>`__: Bump the github-actions group with 2 updates
58+
* `#815 <https://github.com/PyWavelets/pywt/pull/815>`__: CI: test Python 3.14 and 3.14t in regular CI jobs

doc/source/release.1.9.0.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.. include:: ../release/1.9.0-notes.rst

doc/source/releasenotes.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ Release Notes
44
.. toctree::
55
:maxdepth: 1
66

7+
release.1.9.0
78
release.1.8.0
89
release.1.7.0
910
release.1.6.0

meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project(
22
'PyWavelets',
33
'c', 'cython',
4-
version: '1.9.0.dev0',
4+
version: '1.10.0.dev0',
55
license: 'MIT',
66
meson_version: '>= 1.1.0',
77
default_options: [

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ requires = [
2323

2424
[project]
2525
name = "PyWavelets"
26-
version = "1.9.0.dev0"
26+
version = "1.10.0.dev0"
2727
license = "MIT and BSD-3-Clause"
2828
license-files = [
2929
"LICENSE",

pywt/_cwt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ def cwt(data, scales, wavelet, sampling_period=1., method='conv', axis=-1, *, pr
142142
>>> axes[1].set_title("Scalogram with hop size")
143143
"""
144144

145-
# accept array_like input; make a copy to ensure a contiguous array
145+
# accept array-like input; make a copy to ensure a contiguous array
146146
dt = _check_dtype(data)
147147
data = np.asarray(data, dtype=dt)
148148
dt_cplx = np.result_type(dt, np.complex64)

0 commit comments

Comments
 (0)