Skip to content

Commit 8daa54a

Browse files
committed
Pin numpy to < 1.22
1 parent d1216c2 commit 8daa54a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/tests.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
158158
# Install dependencies from PyPI.
159159
python -m pip install --upgrade $PRE \
160-
cycler fonttools kiwisolver numpy packaging pillow pyparsing \
160+
cycler fonttools kiwisolver numpy<1.22 packaging pillow pyparsing \
161161
python-dateutil setuptools-scm \
162162
-r requirements/testing/all.txt \
163163
${{ matrix.extra-requirements }}

setup.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -308,15 +308,15 @@ def make_release_tree(self, base_dir, files):
308308
python_requires='>={}'.format('.'.join(str(n) for n in py_min_version)),
309309
setup_requires=[
310310
"certifi>=2020.06.20",
311-
"numpy>=1.17",
311+
"numpy>=1.17,<1.22",
312312
"setuptools_scm>=4",
313313
"setuptools_scm_git_archive",
314314
],
315315
install_requires=[
316316
"cycler>=0.10",
317317
"fonttools>=4.22.0",
318318
"kiwisolver>=1.0.1",
319-
"numpy>=1.17",
319+
"numpy>=1.17,<1.22",
320320
"packaging>=20.0",
321321
"pillow>=6.2.0",
322322
"pyparsing>=2.2.1,<3.0.0",

0 commit comments

Comments
 (0)