From 27b8a6952a5c25fc9148acb10490842eb81486d3 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Fri, 2 Oct 2020 15:10:28 -0400 Subject: [PATCH] BLD: sync build and run time numpy pinning As of 60b03f1571c775f60bbd701d3381357a31eaf8bb the minimum version is 1.16. This got missed as part of that PR. --- .github/workflows/cibuildwheel.yml | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 462be6d5a5b7..984222266871 100644 --- a/.github/workflows/cibuildwheel.yml +++ b/.github/workflows/cibuildwheel.yml @@ -42,7 +42,7 @@ jobs: CIBW_SKIP: "cp35-* cp36-*" CIBW_MANYLINUX_X86_64_IMAGE: manylinux1 CIBW_MANYLINUX_I686_IMAGE: manylinux1 - CIBW_BEFORE_BUILD: pip install certifi numpy==1.15 + CIBW_BEFORE_BUILD: pip install certifi numpy==1.16 MPL_DISABLE_FH4: "yes" - name: Build wheels for CPython 3.6 @@ -52,7 +52,7 @@ jobs: CIBW_BUILD: "cp36-*" CIBW_MANYLINUX_X86_64_IMAGE: manylinux1 CIBW_MANYLINUX_I686_IMAGE: manylinux1 - CIBW_BEFORE_BUILD: pip install certifi numpy==1.15 + CIBW_BEFORE_BUILD: pip install certifi numpy==1.16 MPL_DISABLE_FH4: "yes" if: > startsWith(github.ref, 'refs/heads/v3.3') || @@ -63,7 +63,7 @@ jobs: python -m cibuildwheel --output-dir dist env: CIBW_BUILD: "pp3?-*" - CIBW_BEFORE_BUILD: pip install certifi numpy==1.15 + CIBW_BEFORE_BUILD: pip install certifi numpy==1.16 if: > runner.os != 'Windows' && ( startsWith(github.ref, 'refs/heads/v3.3') || diff --git a/setup.py b/setup.py index 3851ae75d44e..062732097e06 100644 --- a/setup.py +++ b/setup.py @@ -284,7 +284,7 @@ def build_extensions(self): python_requires='>={}'.format('.'.join(str(n) for n in min_version)), setup_requires=[ "certifi>=2020.06.20", - "numpy>=1.15", + "numpy>=1.16", ], install_requires=[ "cycler>=0.10",