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
matrix:
platform: [ubuntu-latest, ] # macos-12, windows-2019]
python-version: ["3.11", "3.12",]
python-version: ["3.12",]
runs-on: ${{ matrix.platform }}

View File

@ -9,7 +9,7 @@ jobs:
fail-fast: false
matrix:
platform: [ubuntu-latest, ] # macos-12, windows-2019]
python-version: ["3.11", "3.12", "3.13",]
python-version: ["3.12",]
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:
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:
path: ..
@ -13,14 +13,16 @@ build:
requirements:
build:
- python
- python {{python}}
- numpy {{ numpy }}
- {{ compiler('cxx') }}
- numpy >=2.0.0
host:
- cmake
- ninja
- python
- python {{python}}
- numpy {{ numpy }}
- pip
- scikit-build-core
- pybind11 >=2.13.0
@ -28,11 +30,10 @@ requirements:
- zeromq
- nlohmann_json
- catch2
- numpy >=2.0.0
run:
- python
- numpy >=2.0.0
- python {{python}}
- numpy {{ numpy }}
test:

View File

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