added numpy variants

This commit is contained in:
Erik Fröjdh 2024-11-07 09:16:49 +01:00
parent 9c220bff51
commit d5fb823ae4
5 changed files with 39 additions and 10 deletions

View File

@ -13,7 +13,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
platform: [ubuntu-latest, ] # macos-12, windows-2019] platform: [ubuntu-latest, ] # macos-12, windows-2019]
python-version: ["3.11", "3.12",] python-version: ["3.12",]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}

View File

@ -9,7 +9,7 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
platform: [ubuntu-latest, ] # macos-12, windows-2019] platform: [ubuntu-latest, ] # macos-12, windows-2019]
python-version: ["3.11", "3.12", "3.13",] python-version: ["3.12",]
runs-on: ${{ matrix.platform }} runs-on: ${{ matrix.platform }}

View File

@ -0,0 +1,28 @@
python:
- 3.11
- 3.11
- 3.11
- 3.12
- 3.12
- 3.12
- 3.13
numpy:
- 1.26
- 2.0
- 2.1
- 1.26
- 2.0
- 2.1
- 2.1
zip_keys:
- python
- numpy
pin_run_as_build:
numpy: x.x
python: x.x

View File

@ -1,6 +1,6 @@
package: package:
name: aare name: aare
version: 2024.10.30.dev1 #TODO! how to not duplicate this? version: 2024.11.07.dev0 #TODO! how to not duplicate this?
source: source:
path: .. path: ..
@ -13,14 +13,16 @@ build:
requirements: requirements:
build: build:
- python - python {{python}}
- numpy {{ numpy }}
- {{ compiler('cxx') }} - {{ compiler('cxx') }}
- numpy >=2.0.0
host: host:
- cmake - cmake
- ninja - ninja
- python - python {{python}}
- numpy {{ numpy }}
- pip - pip
- scikit-build-core - scikit-build-core
- pybind11 >=2.13.0 - pybind11 >=2.13.0
@ -28,11 +30,10 @@ requirements:
- zeromq - zeromq
- nlohmann_json - nlohmann_json
- catch2 - catch2
- numpy >=2.0.0
run: run:
- python - python {{python}}
- numpy >=2.0.0 - numpy {{ numpy }}
test: test:

View File

@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"
[project] [project]
name = "aare" name = "aare"
version = "2024.10.30.dev1" version = "2024.11.07.dev0"
[tool.scikit-build] [tool.scikit-build]
cmake.verbose = true cmake.verbose = true