Skip to content

Commit 34c193e

Browse files
committed
CI: Attempt to fix CI on 32 bit linux
[wheel build] Let's try only installing orjson in the mypy job.
1 parent a1d8b17 commit 34c193e

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.github/workflows/mypy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,9 @@ jobs:
6060
- name: Install dependencies
6161
run: |
6262
pip install -r requirements/build_requirements.txt
63+
# orjson makes mypy faster but the default requirements.txt
64+
# can't install it because orjson doesn't support 32 bit Linux
65+
pip install orjson
6366
pip install -r requirements/test_requirements.txt
6467
- name: Build
6568
run: |

requirements/test_requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cffi; python_version < '3.10'
1414
# For testing types. Notes on the restrictions:
1515
# - Mypy relies on C API features not present in PyPy
1616
# NOTE: Keep mypy in sync with environment.yml
17-
mypy[faster-cache]==1.13.0; platform_python_implementation != "PyPy"
17+
mypy==1.13.0; platform_python_implementation != "PyPy"
1818
typing_extensions>=4.2.0
1919
# for optional f2py encoding detection
2020
charset-normalizer

0 commit comments

Comments
 (0)