Skip to content

Commit c75f0ef

Browse files
committed
Prefery binary wheels for older versions over sdists for newer ones
1 parent a389ff0 commit c75f0ef

File tree

5 files changed

+18
-0
lines changed

5 files changed

+18
-0
lines changed

.github/workflows/mypy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ jobs:
4848
python -m site
4949
python -m pip install --upgrade pip setuptools wheel
5050
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
51+
pip config set global.prefer-binary true
5152
5253
- name: "Run mypy"
5354
if: steps.changes.outputs.code == 'true'

.github/workflows/python_ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
python -m site
6565
python -m pip install --upgrade pip setuptools wheel
6666
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
67+
pip config set global.prefer-binary true
6768
6869
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
6970
if: steps.setup-python.outcome == 'success'

.github/workflows/python_ci_linux.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ jobs:
6565
python -m site
6666
python -m pip install --upgrade pip setuptools wheel
6767
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
68+
pip config set global.prefer-binary true
6869
6970
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
7071
if: steps.setup-python.outcome == 'success'

.github/workflows/python_ci_macos.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ jobs:
6464
python -m site
6565
python -m pip install --upgrade pip setuptools wheel
6666
python -m pip install --upgrade tox~=3.0 virtualenv!=20.16.0
67+
pip config set global.prefer-binary true
6768
6869
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
6970
if: steps.setup-python.outcome == 'success'

repo_helper.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,3 +40,17 @@ classifiers:
4040
- 'Topic :: Software Development :: Version Control :: Git'
4141

4242
mypy_version: "0.800"
43+
44+
github_ci_requirements:
45+
Linux:
46+
post:
47+
# Prefery binary wheels for older versions over sdists for newer ones
48+
- pip config set global.prefer-binary true
49+
Windows:
50+
post:
51+
# Prefery binary wheels for older versions over sdists for newer ones
52+
- pip config set global.prefer-binary true
53+
macOS:
54+
post:
55+
# Prefery binary wheels for older versions over sdists for newer ones
56+
- pip config set global.prefer-binary true

0 commit comments

Comments
 (0)