Skip to content

Commit

Permalink
CI: Install numpy 1.X when testing wheels
Browse files Browse the repository at this point in the history
osqp wheels are broken with numpy 2

see osqp/osqp-python#146
  • Loading branch information
sebp committed Jun 22, 2024
1 parent a7980b8 commit 7541329
Showing 1 changed file with 1 addition and 1 deletion.
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
CIBW_TEST_REQUIRES: pytest numpy~=1.26.4
# 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

0 comments on commit 7541329

Please sign in to comment.