Skip to content

Commit c8e7835

Browse files
committed
ci: only binary numpy, wait on pypy 3.8
1 parent 4866433 commit c8e7835

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ concurrency:
1313
group: test-${{ github.ref }}
1414
cancel-in-progress: true
1515

16+
env: PIP_ONLY_BINARY=numpy
17+
1618
jobs:
1719
# This is the "main" test suite, which tests a large number of different
1820
# versions of default compilers and Python versions in GitHub Actions.
@@ -29,7 +31,7 @@ jobs:
2931
- '3.10'
3032
# - '3.11-dev'
3133
- 'pypy-3.7-v7.3.5'
32-
- 'pypy-3.8'
34+
# - 'pypy-3.8'
3335

3436
# Items in here will either be added to the build matrix (if not
3537
# present), or add new keys to an existing matrix element if all the
@@ -85,7 +87,7 @@ jobs:
8587

8688
- name: Prepare env
8789
run: |
88-
python -m pip install -r tests/requirements.txt --only-binary=:all:
90+
python -m pip install -r tests/requirements.txt
8991
9092
- name: Setup annotations on Linux
9193
if: runner.os == 'Linux'
@@ -238,7 +240,7 @@ jobs:
238240
239241
- name: Prepare env
240242
run: |
241-
python -m pip install -r tests/requirements.txt --only-binary=:all:
243+
python -m pip install -r tests/requirements.txt
242244
243245
- name: Configure
244246
run: >
@@ -515,7 +517,7 @@ jobs:
515517
- name: Install dependencies
516518
run: |
517519
set +e; source /opt/intel/oneapi/setvars.sh; set -e
518-
python3 -m pip install -r tests/requirements.txt --only-binary=:all:
520+
python3 -m pip install -r tests/requirements.txt
519521
520522
- name: Configure C++11
521523
run: |
@@ -607,7 +609,7 @@ jobs:
607609

608610
- name: Install dependencies
609611
run: |
610-
python3 -m pip install cmake -r tests/requirements.txt --only-binary=:all:
612+
python3 -m pip install cmake -r tests/requirements.txt
611613
612614
- name: VAR_BUILD_TYPE 7
613615
if: matrix.centos == 7
@@ -764,7 +766,7 @@ jobs:
764766

765767
- name: Prepare env
766768
run: |
767-
python -m pip install -r tests/requirements.txt --only-binary=:all:
769+
python -m pip install -r tests/requirements.txt
768770
769771
# First build - C++11 mode and inplace
770772
- name: Configure ${{ matrix.args }}
@@ -811,7 +813,7 @@ jobs:
811813

812814
- name: Prepare env
813815
run: |
814-
python -m pip install -r tests/requirements.txt --only-binary=:all:
816+
python -m pip install -r tests/requirements.txt
815817
816818
# First build - C++11 mode and inplace
817819
- name: Configure
@@ -861,7 +863,7 @@ jobs:
861863

862864
- name: Prepare env
863865
run: |
864-
python -m pip install -r tests/requirements.txt --only-binary=:all:
866+
python -m pip install -r tests/requirements.txt
865867
866868
# First build - C++11 mode and inplace
867869
- name: Configure

.github/workflows/pip.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ on:
1212
types:
1313
- published
1414

15+
env:
16+
PIP_ONLY_BINARY: numpy
17+
1518
jobs:
1619
# This builds the sdists and wheels and makes sure the files are exactly as
1720
# expected. Using Windows and Python 2.7, since that is often the most
@@ -30,7 +33,7 @@ jobs:
3033

3134
- name: Prepare env
3235
run: |
33-
python -m pip install -r tests/requirements.txt --only-binary=:all:
36+
python -m pip install -r tests/requirements.txt
3437
3538
- name: Python Packaging tests
3639
run: pytest tests/extra_python_package/
@@ -52,7 +55,7 @@ jobs:
5255

5356
- name: Prepare env
5457
run: |
55-
python -m pip install -r tests/requirements.txt build twine --only-binary=:all:
58+
python -m pip install -r tests/requirements.txt build twine
5659
5760
- name: Python Packaging tests
5861
run: pytest tests/extra_python_package/

0 commit comments

Comments
 (0)