Repository navigation
Enable support of Python 3.15 #169
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Editable build using pip and pre-release NumPy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| shell: bash -el {0} | |
| strategy: | |
| matrix: | |
| # TODO: add "3.15" back once mkl-service publishes a Python 3.15 wheel on PyPI | |
| python: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| use_pre: ["", "--pre"] | |
| include: | |
| - python: "3.14" | |
| python_spec: "3.14.* *_cp314" | |
| use_pre: "" | |
| - python: "3.14" | |
| python_spec: "3.14.* *_cp314" | |
| use_pre: "--pre" | |
| - python: "3.14" | |
| python_spec: "3.14.* *_cp314t" | |
| use_pre: "" | |
| # - python: "3.14" | |
| # python_spec: "3.14.* *_cp314t" | |
| # use_pre: "--pre" | |
| steps: | |
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | |
| with: | |
| persist-credentials: false | |
| fetch-depth: 0 | |
| - uses: conda-incubator/setup-miniconda@be893c923ea9cf1cf7cd510fbdde27c7e18cbdcb # v4.1.0 | |
| with: | |
| miniforge-version: latest | |
| # conda-forge/label/python_rc carries the 3.15 release candidate | |
| channels: conda-forge,conda-forge/label/python_rc | |
| activate-environment: test | |
| python-version: ${{ matrix.python }} | |
| - name: Install MKL | |
| run: | | |
| conda install mkl-devel "python=${{ matrix.python_spec || matrix.python }}" | |
| - name: Build conda package | |
| run: | | |
| pip install --no-cache-dir meson-python ninja cmake "cython>=3.1.0" | |
| pip install --no-cache-dir numpy ${{ matrix.use_pre }} | |
| pip install -e ".[test]" --no-build-isolation --verbose | |
| pip list | |
| python -m pytest -v mkl_fft/tests |