diff --git a/.circleci/config.yml b/.circleci/config.yml index c608268f6..725281166 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -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 diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index c88e1d2c4..3b050b7e6 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -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: @@ -76,7 +76,7 @@ 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 @@ -84,7 +84,7 @@ jobs: - 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 diff --git a/.github/workflows/nightly_cron.yml b/.github/workflows/nightly_cron.yml index 0e4b50306..22f87d01f 100644 --- a/.github/workflows/nightly_cron.yml +++ b/.github/workflows/nightly_cron.yml @@ -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 @@ -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 diff --git a/build_tools/build_requirements.txt b/build_tools/build_requirements.txt index b90fdfeb2..c992fd6f6 100644 --- a/build_tools/build_requirements.txt +++ b/build_tools/build_requirements.txt @@ -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 diff --git a/doc/whats_new.rst b/doc/whats_new.rst index 774ae33f8..e9f078369 100644 --- a/doc/whats_new.rst +++ b/doc/whats_new.rst @@ -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 `_ @@ -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 `_ ------------------------------------------------- diff --git a/requirements.txt b/requirements.txt index 17a5155d2..262d3e36b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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