Skip to content

Commit 4869c43

Browse files
[MRG] Update macOS version we build on and update Cython pin (#511)
* Add cython exclusion * Move off of deprecated 10.15 * Update whats new
1 parent df4fb4d commit 4869c43

File tree

6 files changed

+13
-9
lines changed

6 files changed

+13
-9
lines changed

.circleci/config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ jobs:
122122
123123
# we'll need numpy and cython to build this. let install_requires do all the
124124
# rest of the work. We build with our lowest supported numpy version to make sure there is no regression
125-
pip install "numpy~=1.19.3" "cython>=0.29,!=0.29.18"
125+
pip install "numpy~=1.19.3" "cython>=0.29,!=0.29.18,!=0.29.31"
126126
python setup.py sdist
127127
128128
cd dist

.github/workflows/build_and_deploy.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
name: Build and Deploy
2222
strategy:
2323
matrix:
24-
os: [windows-latest, macos-10.15]
24+
os: [windows-latest, macos-latest]
2525
python-version: ['3.7', '3.8', '3.9', '3.10']
2626
defaults:
2727
run:
@@ -76,15 +76,15 @@ jobs:
7676

7777
- name: Running unit tests
7878
run: |
79-
if [ "${{ matrix.os }}" == "macos-10.15" ]; then
79+
if [ "${{ matrix.os }}" == "macos-latest" ]; then
8080
export PMD_MPL_BACKEND=TkAgg
8181
fi
8282
pytest --showlocals --durations=20 --pyargs pmdarima
8383
8484
- name: Checking for numpy regression
8585
run: |
8686
pip install --upgrade numpy
87-
if [ "${{ matrix.os }}" == "macos-10.15" ]; then
87+
if [ "${{ matrix.os }}" == "macos-latest" ]; then
8888
export PMD_MPL_BACKEND=TkAgg
8989
fi
9090
pytest --showlocals --durations=20 --pyargs pmdarima

.github/workflows/nightly_cron.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
os: [windows-latest, macos-10.15, ubuntu-latest]
26+
os: [windows-latest, macos-latest, ubuntu-latest]
2727
python-version: ['3.9']
2828
architecture: ['x86', 'x64']
2929
exclude:
3030
# Don't build 32-bit on Mac or Linux
31-
- os: macos-10.15
31+
- os: macos-latest
3232
architecture: x86
3333

3434
- os: ubuntu-latest
@@ -114,7 +114,7 @@ jobs:
114114
- name: Running unit tests
115115
if: steps.pip-cache.outputs.cache-hit != 'true'
116116
run: |
117-
if [ "${{ matrix.os }}" == "macos-10.15" ]; then
117+
if [ "${{ matrix.os }}" == "macos-latest" ]; then
118118
export PMD_MPL_BACKEND=TkAgg
119119
fi
120120
pytest --showlocals --durations=20 --pyargs pmdarima

build_tools/build_requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
numpy~=1.21.2
22
scipy>=1.3.2
3-
cython>=0.29,!=0.29.18
3+
cython>=0.29,!=0.29.18,!=0.29.31
44
scikit-learn>=0.22
55
pandas>=0.19
66
statsmodels>=0.11,!=0.12.0

doc/whats_new.rst

+4
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ v0.8.1) will document the latest features.
2222

2323
- ``pmdarima`` is no longer built for 32-bit architectures
2424

25+
- macOS images are built using macOS 11 instead of macOS 10.15
26+
2527
* Bump numpy dependency to >= 1.21
2628

2729
* Expose ``fittedvalues`` in the public API. See `#493 <https://github.com/alkaline-ml/pmdarima/issues/493>`_
@@ -31,6 +33,8 @@ v0.8.1) will document the latest features.
3133
* Introduce new arg, ``preserve_series``, to ``pmdarima.utils.check_endog`` that will preserve or squeeze
3234
a Pandas ``Series`` object to preserve index information.
3335

36+
* Update Cython pinned version to include ``!=0.29.31``
37+
3438
`v1.8.5 <http://alkaline-ml.com/pmdarima/1.8.5>`_
3539
-------------------------------------------------
3640

requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
joblib>=0.11
2-
Cython>=0.29,!=0.29.18
2+
Cython>=0.29,!=0.29.18,!=0.29.31
33
numpy>=1.21
44
pandas>=0.19
55
scikit-learn>=0.22

0 commit comments

Comments
 (0)