Skip to content

Commit b96bac5

Browse files
authored
Merge pull request #469 from grlee77/rtd_fix_backport
MAINT 1.0.x backport #452 (bump minimum supported Cython version)
2 parents 4fb378f + f597b43 commit b96bac5

4 files changed

Lines changed: 13 additions & 4 deletions

File tree

.travis.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,30 +29,35 @@ matrix:
2929
env:
3030
- NUMPYSPEC=numpy
3131
- MATPLOTLIBSPEC=matplotlib
32+
- CYTHONSPEC=cython
3233
- USE_WHEEL=1
3334
- os: linux
3435
python: 3.7-dev
3536
env:
3637
- NUMPYSPEC=numpy
3738
- MATPLOTLIBSPEC=matplotlib
39+
- CYTHONSPEC=cython
3840
- USE_SDIST=1
3941
- os: linux
4042
python: 2.7
4143
env:
4244
- NUMPYSPEC="numpy==1.9.3"
4345
- MATPLOTLIBSPEC="matplotlib<=2.2.2" # 2.2.3 requires numpy >= 1.10
46+
- CYTHONSPEC=cython
4447
- os: linux
4548
python: 3.5
4649
env:
4750
- NUMPYSPEC=numpy
4851
- MATPLOTLIBSPEC=matplotlib
52+
- CYTHONSPEC="cython==0.23.5"
4953
- REFGUIDE_CHECK=1 # run doctests only
5054
- os: osx
5155
osx_image: xcode7.3
5256
language: objective-c
5357
env:
5458
- NUMPYSPEC=numpy
5559
- MATPLOTLIBSPEC=matplotlib
60+
- CYTHONSPEC=cython
5661
- TRAVIS_PYTHON_VERSION=3.5
5762

5863
cache: pip
@@ -69,7 +74,8 @@ before_install:
6974
# Set numpy version first, other packages link against it
7075
- pip install $NUMPYSPEC
7176
- pip install $MATPLOTLIBSPEC
72-
- pip install Cython nose coverage codecov futures
77+
- pip install $CYTHONSPEC
78+
- pip install nose coverage codecov futures
7379
- set -o pipefail
7480
- if [ "${USE_WHEEL}" == "1" ]; then pip install wheel; fi
7581
- |

doc/release/1.0.2-notes.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ can be returned by ``pywt.cwt``.
2727

2828
Cython language compatibility has been pinned to ``language_level = '2'``. This
2929
is in contrast to the `master` branch which is now using
30-
``language_level = '3'``.
30+
``language_level = '3'``. To support this, the minimum supported Cython version
31+
has been raised to 0.23.5.
3132

3233
Authors
3334
=======
@@ -58,6 +59,7 @@ Pull requests for v1.0.2
5859
- `#458 <https://github.com/PyWavelets/pywt/issues/458>`__: MAINT: 1.0.x Fix deprecated import for Iterable
5960
- `#464 <https://github.com/PyWavelets/pywt/issues/464>`__: backport of #448 (fix coefficient shape mismatch in WaveletPacket reconstruction)
6061
- `#465 <https://github.com/PyWavelets/pywt/issues/465>`__: backport of gh-462 (iswtn axis fix)
62+
- `#469 <https://github.com/PyWavelets/pywt/issues/469>`__: MAINT 1.0.x backport #452 (bump minimum supported Cython version)
6163

6264
The backports listed above correspond to the following PRs from the master branch
6365

@@ -66,6 +68,7 @@ The backports listed above correspond to the following PRs from the master branc
6668
- `#446 <https://github.com/PyWavelets/pywt/issues/446>`__: Spelling correction
6769
- `#448 <https://github.com/PyWavelets/pywt/issues/448>`__: Properly trim wavelet packet node coefficients during reconstruction
6870
- `#450 <https://github.com/PyWavelets/pywt/issues/450>`__: handle mixed dtype cofficients correctly across inverse transforms
71+
- `#452 <https://github.com/PyWavelets/pywt/issues/452>`__: bump minimum supported Cython version
6972
- `#462 <https://github.com/PyWavelets/pywt/issues/462>`__: fix bug in iswtn for data of arbitrary shape when using user-specified axes
7073

7174

doc/source/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The requirements needed to build from source are:
4040

4141
- Python_ 2.7 or >=3.4
4242
- Numpy_ >= 1.9.1
43-
- Cython_ >= 0.20.2 (if installing from git, not from a PyPI source release)
43+
- Cython_ >= 0.23.5 (if installing from git, not from a PyPI source release)
4444

4545
To run all the tests for PyWavelets, you will also need to install the
4646
Matplotlib_ package.

util/readthedocs/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
numpy
2-
Cython==0.20.2
2+
cython
33
nose
44
wheel
55
numpydoc

0 commit comments

Comments
 (0)