diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 9529a6f76..ba24b3a32 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -21,7 +21,8 @@ jobs: strategy: matrix: python3-minor-version: [7, 8, 9, 10, 11, 12] - os: [macos-latest, ubuntu-latest, windows-latest] + # TODO: Figure out macos-14/macos-latest + os: [macos-13, ubuntu-latest, windows-latest] defaults: run: shell: bash @@ -54,7 +55,7 @@ jobs: run: make version sdist - name: Install cibuildwheel - run: python -m pip install cibuildwheel + run: python -m pip install 'cibuildwheel<2.20.0' - name: Building and testing wheels run: python -m cibuildwheel --output-dir dist @@ -79,9 +80,10 @@ jobs: CIBW_SKIP: "pp* *-musllinux_*" # Runs tests and checks for a numpy regression by upgrading numpy and running tests again CIBW_TEST_COMMAND: > - pytest --showlocals --durations=20 --pyargs pmdarima && - pip install --upgrade scipy numpy && pytest --showlocals --durations=20 --pyargs pmdarima +# TODO: Add these back +# pip install --upgrade scipy numpy && +# pytest --showlocals --durations=20 --pyargs pmdarima # Avoid testing on emulated architectures CIBW_TEST_SKIP: "*-*linux_{aarch64,ppc64le,s390x} *-macosx_arm64" diff --git a/doc/whats_new.rst b/doc/whats_new.rst index 06d319718..43daa830e 100644 --- a/doc/whats_new.rst +++ b/doc/whats_new.rst @@ -7,6 +7,11 @@ What's new in pmdarima As new releases of pmdarima are pushed out, the following list (introduced in v0.8.1) will document the latest features. +`v2.0.4 `_ +------------------------------------------------- + +* Pin numpy to ``<2.0.0`` while work is done to support numpy ``>=2.0.0`` + `v2.0.3 `_ ------------------------------------------------- diff --git a/requirements.txt b/requirements.txt index f7a69fd49..0e09ebda9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ joblib>=0.11 Cython>=0.29,!=0.29.18,!=0.29.31 -numpy>=1.21.2 +numpy>=1.21.2,<2.0.0 pandas>=0.19 scikit-learn>=0.22 scipy>=1.3.2