File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change 6565 # Clean the build directory between builds
6666 CIBW_BEFORE_BUILD : >-
6767 rm -rf {package}/osqp_sources/build
68- CIBW_TEST_COMMAND : " python -m pytest -s {project}/src/osqp/tests"
68+ CIBW_TEST_COMMAND : >-
69+ if [[ "${{ matrix.python-version }}" == "3.13" ]]; then
70+ python -m pytest -s {project}/src/osqp/tests --ignore={project}/src/osqp/tests/nn_test.py;
71+ else
72+ python -m pytest -s {project}/src/osqp/tests;
73+ fi
6974 CIBW_ENVIRONMENT_MACOS : CMAKE_OSX_ARCHITECTURES=${{ matrix.cibw_archs }}
7075 CIBW_BUILD_VERBOSITY : 1
7176
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ cuda = [
2828dev = [
2929 " pre-commit" ,
3030 " pytest>=6" ,
31- " torch" ,
31+ " torch; python_version < '3.13' " ,
3232
3333 # Exclude scipy 1.12 because the random sparse array function started returning
3434 # the transpose of the original, breaking the unit tests. This was fixed in 1.13.0.
You can’t perform that action at this time.
0 commit comments