Skip to content

Commit

Permalink
[MRG] Update macOS version we build on and update Cython pin (#511)
Browse files Browse the repository at this point in the history
* Add cython exclusion

* Move off of deprecated 10.15

* Update whats new
  • Loading branch information
aaronreidsmith authored Aug 20, 2022
1 parent df4fb4d commit 4869c43
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
# we'll need numpy and cython to build this. let install_requires do all the
# rest of the work. We build with our lowest supported numpy version to make sure there is no regression
pip install "numpy~=1.19.3" "cython>=0.29,!=0.29.18"
pip install "numpy~=1.19.3" "cython>=0.29,!=0.29.18,!=0.29.31"
python setup.py sdist
cd dist
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build_and_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: Build and Deploy
strategy:
matrix:
os: [windows-latest, macos-10.15]
os: [windows-latest, macos-latest]
python-version: ['3.7', '3.8', '3.9', '3.10']
defaults:
run:
Expand Down Expand Up @@ -76,15 +76,15 @@ jobs:

- name: Running unit tests
run: |
if [ "${{ matrix.os }}" == "macos-10.15" ]; then
if [ "${{ matrix.os }}" == "macos-latest" ]; then
export PMD_MPL_BACKEND=TkAgg
fi
pytest --showlocals --durations=20 --pyargs pmdarima
- name: Checking for numpy regression
run: |
pip install --upgrade numpy
if [ "${{ matrix.os }}" == "macos-10.15" ]; then
if [ "${{ matrix.os }}" == "macos-latest" ]; then
export PMD_MPL_BACKEND=TkAgg
fi
pytest --showlocals --durations=20 --pyargs pmdarima
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/nightly_cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [windows-latest, macos-10.15, ubuntu-latest]
os: [windows-latest, macos-latest, ubuntu-latest]
python-version: ['3.9']
architecture: ['x86', 'x64']
exclude:
# Don't build 32-bit on Mac or Linux
- os: macos-10.15
- os: macos-latest
architecture: x86

- os: ubuntu-latest
Expand Down Expand Up @@ -114,7 +114,7 @@ jobs:
- name: Running unit tests
if: steps.pip-cache.outputs.cache-hit != 'true'
run: |
if [ "${{ matrix.os }}" == "macos-10.15" ]; then
if [ "${{ matrix.os }}" == "macos-latest" ]; then
export PMD_MPL_BACKEND=TkAgg
fi
pytest --showlocals --durations=20 --pyargs pmdarima
Expand Down
2 changes: 1 addition & 1 deletion build_tools/build_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
numpy~=1.21.2
scipy>=1.3.2
cython>=0.29,!=0.29.18
cython>=0.29,!=0.29.18,!=0.29.31
scikit-learn>=0.22
pandas>=0.19
statsmodels>=0.11,!=0.12.0
Expand Down
4 changes: 4 additions & 0 deletions doc/whats_new.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ v0.8.1) will document the latest features.

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

- macOS images are built using macOS 11 instead of macOS 10.15

* Bump numpy dependency to >= 1.21

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

* Update Cython pinned version to include ``!=0.29.31``

`v1.8.5 <http://alkaline-ml.com/pmdarima/1.8.5>`_
-------------------------------------------------

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
joblib>=0.11
Cython>=0.29,!=0.29.18
Cython>=0.29,!=0.29.18,!=0.29.31
numpy>=1.21
pandas>=0.19
scikit-learn>=0.22
Expand Down

0 comments on commit 4869c43

Please sign in to comment.