Skip to content

Commit

Permalink
added numpy variants
Browse files Browse the repository at this point in the history
  • Loading branch information
erikfrojdh committed Nov 7, 2024
1 parent 9c220bf commit d5fb823
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_pkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
28 changes: 28 additions & 0 deletions conda-recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -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
15 changes: 8 additions & 7 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -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: ..
Expand All @@ -13,26 +13,27 @@ 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
- fmt
- zeromq
- nlohmann_json
- catch2
- numpy >=2.0.0

run:
- python
- numpy >=2.0.0
- python {{python}}
- numpy {{ numpy }}


test:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5fb823

Please sign in to comment.