Skip to content

Commit

Permalink
CI: Test with numpy 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sebp committed Jun 29, 2024
1 parent 3fc07d6 commit 43dfc48
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/wheels-workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
CIBW_ENVIRONMENT_MACOS: MACOSX_DEPLOYMENT_TARGET=${{ runner.arch == 'ARM64' && '11.0' || '10.13' }}
CIBW_TEST_COMMAND: pytest --strict-markers -m 'not slow' -k 'not test_fit_and_predict_linear_regression' {project}/tests
CIBW_TEST_COMMAND_WINDOWS: pytest --strict-markers -m "not slow" -k "not test_fit_and_predict_linear_regression" {project}\\tests
CIBW_TEST_REQUIRES: pytest numpy~=1.26.4
CIBW_TEST_REQUIRES: pytest
# Skip trying to test arm64 builds on Intel Macs, and vice versa
CIBW_TEST_SKIP: "*-macosx_${{ runner.arch == 'ARM64' && 'x86_64' || 'arm64' }} *-macosx_universal2:arm64"
- uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion ci/appveyor/py311.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$env:CI_PYTHON_VERSION="3.11.*"
$env:CI_PANDAS_VERSION="2.0.*"
$env:CI_NUMPY_VERSION="1.25.*"
$env:CI_NUMPY_VERSION="1.26.*"
$env:CI_SKLEARN_VERSION="1.5.*"
2 changes: 1 addition & 1 deletion ci/appveyor/py312.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$env:CI_PYTHON_VERSION="3.12.*"
$env:CI_PANDAS_VERSION="2.2.*"
$env:CI_NUMPY_VERSION="1.26.*"
$env:CI_NUMPY_VERSION="2.0.*"
$env:CI_SKLEARN_VERSION="1.5.*"
2 changes: 1 addition & 1 deletion ci/deps/py311.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# shellcheck shell=sh
export CI_PYTHON_VERSION='3.11.*'
export CI_PANDAS_VERSION='2.0.*'
export CI_NUMPY_VERSION='1.25.*'
export CI_NUMPY_VERSION='1.26.*'
export CI_SKLEARN_VERSION='1.5.*'
export CI_NO_SLOW=true
2 changes: 1 addition & 1 deletion ci/deps/py312.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# shellcheck shell=sh
export CI_PYTHON_VERSION='3.12.*'
export CI_PANDAS_VERSION='2.2.*'
export CI_NUMPY_VERSION='1.26.*'
export CI_NUMPY_VERSION='2.0.*'
export CI_SKLEARN_VERSION='1.5.*'
export CI_NO_SLOW=false
4 changes: 2 additions & 2 deletions ci/deps/requirements.yaml.tmpl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: sksurv-test
channels:
- sebp
- conda-forge
- defaults
dependencies:
- coverage
Expand All @@ -16,6 +16,7 @@ dependencies:
- pip
- pytest
- python={CI_PYTHON_VERSION}
- scikit-learn=={CI_SKLEARN_VERSION}
- scipy>=1.6.0
- seaborn>=0.11.2,<0.12
- setuptools-scm
Expand All @@ -24,5 +25,4 @@ dependencies:
- black[jupyter]>=23.3.0,<23.4
- build
- nbval>=0.10.0
- scikit-learn=={CI_SKLEARN_VERSION}
- tomli

0 comments on commit 43dfc48

Please sign in to comment.