Skip to content

Commit 64be527

Browse files
committed
don't install numpy via conda
1 parent a63a0db commit 64be527

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

.github/workflows/linux-conda.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929
- name: Install dependencies and set channels
3030
run: |
3131
conda install conda-build conda-verify anaconda-client twine readme_renderer
32-
conda create -q -n test-environment python=${{ matrix.python-version }} numpy pytest-cov
32+
conda create -q -n test-environment python=${{ matrix.python-version }}
3333
3434
- name: Build wheel and run tests for cythonarrays
3535
run: |
3636
(
3737
eval "$($CONDA_EXE shell.bash activate test-environment)"
3838
which python
3939
cd cythonarrays
40-
pip install build
40+
pip install build pytest-cov
4141
pip install -r requirements.txt
4242
pip install .
4343
python -m pytest --pyargs cythonarrays
@@ -77,4 +77,4 @@ jobs:
7777
run: |
7878
/usr/share/miniconda/bin/conda shell.bash activate test-environment
7979
export PATH=$HOME/.local/bin:$PATH
80-
anaconda -t $ANACONDA_TOKEN upload --skip-existing --user $ANACONDA_USERNAME $CONDA_BLD_PATH/linux-64/cythonarrays-*.tar.bz2
80+
anaconda -t $ANACONDA_TOKEN upload --skip-existing --user $ANACONDA_USERNAME $CONDA_BLD_PATH/linux-64/cythonarrays-*.conda

cythonarrays/conda.recipe/meta.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,12 @@ requirements:
1717
- python
1818
- setuptools>=61
1919
- cython
20-
- numpy>=1.12
2120

2221
run:
2322
- python
2423
- cython
25-
- numpy>=1.12
2624
- xarray
27-
- h5netcdf>=1.6
25+
- h5netcdf
2826

2927
test:
3028
requires:

0 commit comments

Comments
 (0)