@@ -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 }}
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
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
0 commit comments