diff --git a/conda-recipe/conda_build_config.yaml b/conda-recipe/conda_build_config.yaml index 42408d6..48e8092 100644 --- a/conda-recipe/conda_build_config.yaml +++ b/conda-recipe/conda_build_config.yaml @@ -5,12 +5,16 @@ python: c_compiler: - gcc # [linux] + - clang # [osx] c_stdlib: - sysroot # [linux] + - macosx_deployment_target # [osx] cxx_compiler: - gxx # [linux] + - clangxx # [osx] -c_stdlib_version: # [linux] +c_stdlib_version: - 2.17 # [linux] + - "11.0" # [osx] diff --git a/conda-recipe/meta.yaml b/conda-recipe/meta.yaml index 6e60d07..9843ce7 100644 --- a/conda-recipe/meta.yaml +++ b/conda-recipe/meta.yaml @@ -25,7 +25,7 @@ requirements: host: - python - pip - - numpy=2.1 + - numpy >=2.1 - scikit-build-core - pybind11 >=2.13.0 - matplotlib # needed in host to solve the environment for run @@ -42,6 +42,7 @@ test: - aare requires: - pytest + - pytest_check - boost-histogram source_files: - python/tests diff --git a/pyproject.toml b/pyproject.toml index d156e90..483aa32 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,11 +19,13 @@ dependencies = [ license = { file = "LICENSE" } -[tool.cibuildwheel] +[tool.cibuildwheel.linux] build = "cp{312,313,314}-manylinux_x86_64" - +[tool.cibuildwheel.macos] +build = "cp{312,313,314}-macosx_*" +archs = ["arm64"] [tool.scikit-build] @@ -39,4 +41,4 @@ AARE_INSTALL_PYTHONEXT = "ON" [tool.pytest.ini_options] markers = [ "files: marks tests that need additional data (deselect with '-m \"not files\"')", -] \ No newline at end of file +]