Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/conda-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,14 @@ jobs:
echo "Testing Python import..."
conda run -n test-install python -c "import simcoon; import simcoon._core; print('✓ Import successful')"

- name: Test compatibility with common packages (Unix)
if: runner.os != 'Windows'
shell: bash -l {0}
run: |
echo "=== Testing simcoon + matplotlib coinstallation ==="
conda install -n test-install -y matplotlib -c conda-forge
conda run -n test-install python -c "import simcoon; import matplotlib; print('✓ simcoon + matplotlib compatible')"

- name: Install and verify package structure (Windows)
if: runner.os == 'Windows'
shell: pwsh
Expand Down Expand Up @@ -182,6 +190,14 @@ jobs:
Write-Host "Testing Python import..."
conda run -n test-install python -c "import simcoon; import simcoon._core; print('Import successful')"

- name: Test compatibility with common packages (Windows)
if: runner.os == 'Windows'
shell: pwsh
run: |
Write-Host "=== Testing simcoon + matplotlib coinstallation ==="
conda install -n test-install -y matplotlib -c conda-forge
conda run -n test-install python -c "import simcoon; import matplotlib; print('simcoon + matplotlib compatible')"

- name: Upload to Anaconda
if: inputs.upload
shell: bash -l {0}
Expand Down
6 changes: 6 additions & 0 deletions conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ build:
script_env:
- CXXFLAGS=-D_LIBCPP_DISABLE_AVAILABILITY
- CONDA_BUILD_LOCAL
ignore_run_exports:
- libblas
- liblapack
- libcblas

requirements:
build:
Expand All @@ -33,6 +37,7 @@ requirements:
- carma
- pybind11
- python
- python_abi {{ python }} *_cp{{ python | replace(".", "") }} # Could be removed when https://github.com/conda/conda-build/issues/5843 is solved
- numpy >=2.0
- libblas
- liblapack
Expand All @@ -52,3 +57,4 @@ test:
imports:
- simcoon
- simcoon._core

Loading