Skip to content

py313 with h5py #13

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jul 8, 2025
Merged
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
20 changes: 18 additions & 2 deletions .github/workflows/windows-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,28 @@ jobs:
TMPDIR: ${{ runner.TEMP }}
CONDA_BLD_PATH: env.TMPDIR

- name: Install dependencies and set channels
- name: install packages into base environment
run: |
(
mamba install -n base "conda>=23.7" conda-build conda-verify anaconda-client rattler-build twine
)

- name: create test environments environment for python < 3.13
if: ${{ matrix.python-version < '3.13' }}
run: |
(
mamba create -n test-wheels python=${{ matrix.python-version }} numpy
mamba create -n test-conda python=${{ matrix.python-version }} numpy pytest-cov
)

- name: create test environments for python >= 3.13
if: ${{ matrix.python-version >= '3.13' }}
run: |
(
mamba create -n test-wheels python-gil python=${{ matrix.python-version }} numpy
mamba create -n test-conda python-gil python=${{ matrix.python-version }} numpy pytest-cov
)

- name: build cythonarrays for python version
env:
CONDA_BLD_PATH: ${{ runner.TEMP }}
Expand Down Expand Up @@ -86,6 +100,8 @@ jobs:
cd cythonarrays
echo "build cythonarrays from folder %CD%"
pip install pytest-cov build
pip debug --verbose
pip install --debug --only-binary h5py h5py
pip install -r requirements.txt
pip install .
python -m pytest --pyargs cythonarrays
Expand All @@ -97,7 +113,7 @@ jobs:
if: ${{ matrix.python-version == '3.13' }}
run: |
(
conda activate test-wheels
mamba activate test-wheels
cd cythonarrays
pip install -e .
python setup.py build_ext --force --inplace --define CYTHON_TRACE_NOGIL
Expand Down
2 changes: 2 additions & 0 deletions cythonarrays/conda.recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ requirements:
- setuptools>=61
- cython
- numpy>=2
- python-gil

run:
- setuptools>=61
Expand All @@ -26,6 +27,7 @@ requirements:
- numpy>=2
- xarray>=2022
- h5netcdf>=1.6
- python-gil

test:
requires:
Expand Down