diff --git a/.github/workflows/tests-cibw.yml b/.github/workflows/tests-cibw.yml index 0abddd0be0..19fdf85fdb 100644 --- a/.github/workflows/tests-cibw.yml +++ b/.github/workflows/tests-cibw.yml @@ -27,7 +27,7 @@ jobs: PYODIDE_BUILD_EXPORTS: whole_archive with: package-dir: tests - only: cp312-pyodide_wasm32 + only: cp313-pyodide_wasm32 build-ios: name: iOS wheel ${{ matrix.runs-on }} @@ -47,7 +47,6 @@ jobs: - uses: pypa/cibuildwheel@v3.1 env: CIBW_PLATFORM: ios - CIBW_SKIP: cp314-* # https://github.com/pypa/cibuildwheel/issues/2494 with: package-dir: tests diff --git a/tests/pyproject.toml b/tests/pyproject.toml index fa478122d3..d759d0b519 100644 --- a/tests/pyproject.toml +++ b/tests/pyproject.toml @@ -9,12 +9,10 @@ build-backend = "scikit_build_core.build" [project] name = "pybind11_tests" version = "0.0.1" -dependencies = ["pytest", "pytest-timeout"] - - -[dependency-groups] -numpy = ["numpy"] -scipy = ["scipy"] +dependencies = [ + "pytest", + "pytest-timeout", +] [tool.scikit-build] @@ -28,11 +26,8 @@ PYBIND11_FINDPYTHON = true [tool.cibuildwheel] test-sources = ["tests", "pyproject.toml"] test-command = "python -m pytest -o timeout=0 -p no:cacheprovider tests" -environment.PIP_ONLY_BINARY = "numpy" +environment.PIP_ONLY_BINARY = "numpy,scipy" environment.PIP_PREFER_BINARY = "1" - android.environment.ANDROID_API_LEVEL = "24" # Needed to include libc++ in the wheel. -pyodide.test-groups = ["numpy", "scipy"] -ios.test-groups = ["numpy"] ios.xbuild-tools = ["cmake", "ninja"] -ios.environment.PIP_EXTRA_INDEX_URL = "https://pypi.anaconda.org/beeware/simple" +pyodide.test-requires = ["numpy", "scipy"]