Skip to content

Commit bd08046

Browse files
authored
Merge pull request #13 from MaxBo/feature/py313
py313 with h5py
2 parents a2f3cc4 + 9c581c1 commit bd08046

File tree

2 files changed

+20
-2
lines changed

2 files changed

+20
-2
lines changed

.github/workflows/windows-conda.yml

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,28 @@ jobs:
3535
TMPDIR: ${{ runner.TEMP }}
3636
CONDA_BLD_PATH: env.TMPDIR
3737

38-
- name: Install dependencies and set channels
38+
- name: install packages into base environment
3939
run: |
4040
(
4141
mamba install -n base "conda>=23.7" conda-build conda-verify anaconda-client rattler-build twine
42+
)
43+
44+
- name: create test environments environment for python < 3.13
45+
if: ${{ matrix.python-version < '3.13' }}
46+
run: |
47+
(
4248
mamba create -n test-wheels python=${{ matrix.python-version }} numpy
4349
mamba create -n test-conda python=${{ matrix.python-version }} numpy pytest-cov
4450
)
4551
52+
- name: create test environments for python >= 3.13
53+
if: ${{ matrix.python-version >= '3.13' }}
54+
run: |
55+
(
56+
mamba create -n test-wheels python-gil python=${{ matrix.python-version }} numpy
57+
mamba create -n test-conda python-gil python=${{ matrix.python-version }} numpy pytest-cov
58+
)
59+
4660
- name: build cythonarrays for python version
4761
env:
4862
CONDA_BLD_PATH: ${{ runner.TEMP }}
@@ -86,6 +100,8 @@ jobs:
86100
cd cythonarrays
87101
echo "build cythonarrays from folder %CD%"
88102
pip install pytest-cov build
103+
pip debug --verbose
104+
pip install --debug --only-binary h5py h5py
89105
pip install -r requirements.txt
90106
pip install .
91107
python -m pytest --pyargs cythonarrays
@@ -97,7 +113,7 @@ jobs:
97113
if: ${{ matrix.python-version == '3.13' }}
98114
run: |
99115
(
100-
conda activate test-wheels
116+
mamba activate test-wheels
101117
cd cythonarrays
102118
pip install -e .
103119
python setup.py build_ext --force --inplace --define CYTHON_TRACE_NOGIL

cythonarrays/conda.recipe/meta.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ requirements:
1818
- setuptools>=61
1919
- cython
2020
- numpy>=2
21+
- python-gil
2122

2223
run:
2324
- setuptools>=61
@@ -26,6 +27,7 @@ requirements:
2627
- numpy>=2
2728
- xarray>=2022
2829
- h5netcdf>=1.6
30+
- python-gil
2931

3032
test:
3133
requires:

0 commit comments

Comments
 (0)