File tree Expand file tree Collapse file tree 2 files changed +68
-1
lines changed
Expand file tree Collapse file tree 2 files changed +68
-1
lines changed Original file line number Diff line number Diff line change 1+ name : No Fortran compiler build
2+
3+ on :
4+ pull_request :
5+
6+ permissions :
7+ contents : read # to fetch code (actions/checkout)
8+
9+ jobs :
10+ no_fortran :
11+ runs-on : macos-latest
12+ steps :
13+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
14+ with :
15+ submodules : recursive
16+
17+ - uses : prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659 # v0.8.1
18+ with :
19+ pixi-version : v0.62.0
20+ run-install : false
21+
22+ - name : Install test environment
23+ run : pixi global install --with=pyyaml --environment=test python pytest
24+
25+ - name : Build and install SciPy
26+ run : pixi global install --environment=test --path .
27+
28+ - name : Show SciPy config
29+ run : python -c 'import scipy; scipy.show_config()'
30+
31+ - name : Test `scipy.linalg`
32+ run : |
33+ python -c "
34+ import scipy, pytest
35+ from pathlib import Path
36+ linalg = Path(scipy.linalg.__file__).parent
37+ pytest.main(linalg)
38+ "
Original file line number Diff line number Diff line change @@ -3,8 +3,37 @@ name = "scipy"
33description = " Fundamental algorithms for scientific computing in Python."
44authors = [" SciPy Developers <scipy-dev@python.org>" ]
55channels = [" https://prefix.dev/conda-forge" ]
6- platforms = [" linux-64" , " osx-arm64" , " win-64" ]
6+ # platforms = ["linux-64", "osx-arm64", "win-64"]
7+ platforms = [" osx-arm64" ]
8+ preview = [" pixi-build" ]
9+
10+ [package ]
11+ license = " BSD-3-Clause"
12+
13+ [package .build .backend ]
14+ name = " pixi-build-python"
15+ version = " *"
16+
17+ [package .build .config ]
18+ compilers = [" c" , " cxx" ]
19+ env.BUILD_EDITABLE_PYTHON = " false"
20+ env.CXXFLAGS = " ${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"
21+
22+ [package .host-dependencies ]
23+ python = " *"
24+ meson = " *"
25+ meson-python = " *"
26+ pkg-config = " *"
27+ cmake = " *"
28+ numpy = " *"
29+ cython = " *"
30+ pythran = " *"
31+ openblas = " *"
32+ pybind11 = " *"
33+ uv = " *"
734
35+ [package .run-dependencies ]
36+ numpy = " *"
837
938# ## Environments ###
1039# We include one build task (and a corresponding environment) per solve group
You can’t perform that action at this time.
0 commit comments