From df4b3aca8eade1359201779ec83dbc3e3b29a0d5 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Fri, 2 Oct 2020 15:05:52 -0400 Subject: [PATCH 1/2] BLD: certifi is not a run-time dependency Closes #18337 --- setup.py | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.py b/setup.py index 5fef78641607..3851ae75d44e 100644 --- a/setup.py +++ b/setup.py @@ -287,7 +287,6 @@ def build_extensions(self): "numpy>=1.15", ], install_requires=[ - "certifi>=2020.06.20", "cycler>=0.10", "kiwisolver>=1.0.1", "numpy>=1.16", From 6f3def532ecf57f95c21c2d45729c5663a1c0dd9 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Fri, 2 Oct 2020 17:01:48 -0400 Subject: [PATCH 2/2] BLD: pre-install certifi --- .github/workflows/cibuildwheel.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/cibuildwheel.yml b/.github/workflows/cibuildwheel.yml index 9ee39d0c7841..462be6d5a5b7 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 numpy==1.15 + CIBW_BEFORE_BUILD: pip install certifi numpy==1.15 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 numpy==1.15 + CIBW_BEFORE_BUILD: pip install certifi numpy==1.15 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 numpy==1.15 + CIBW_BEFORE_BUILD: pip install certifi numpy==1.15 if: > runner.os != 'Windows' && ( startsWith(github.ref, 'refs/heads/v3.3') ||