From 9d54e0b81c23704b94d9445f2d9d02028546dddb Mon Sep 17 00:00:00 2001
From: tqtg <tuantq.vnu@gmail.com>
Date: Mon, 12 Jul 2021 14:47:31 +0800
Subject: [PATCH] pin numpy~=1.19.0

---
 .appveyor.yml                        | 2 +-
 .circleci/config.yml                 | 2 +-
 .github/workflows/python-package.yml | 2 +-
 .github/workflows/python-publish.yml | 2 +-
 4 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/.appveyor.yml b/.appveyor.yml
index 72aa6bda..1801b025 100644
--- a/.appveyor.yml
+++ b/.appveyor.yml
@@ -25,7 +25,7 @@ install:
   - set PATH=%MINICONDA%;%MINICONDA%\\Scripts;%PATH%
   - conda config --set always_yes yes --set changeps1 no
   - conda info -a
-  - conda create -q -n test-environment python=%PYTHON_VERSION% numpy<1.20 scipy Cython
+  - conda create -q -n test-environment python=%PYTHON_VERSION% numpy~=1.19.0 scipy Cython
   - activate test-environment
   - python -m pip install --upgrade pip
   - pip install wheel twine pytest
diff --git a/.circleci/config.yml b/.circleci/config.yml
index fc50702b..c5c24c47 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -18,7 +18,7 @@ jobs:
           no_output_timeout: 30m
           command: |
             sudo pip install --upgrade pip
-            sudo pip install --only-binary=numpy,scipy numpy<1.20 scipy Cython pytest pytest-cov codecov
+            sudo pip install --only-binary=numpy,scipy numpy~=1.19.0 scipy Cython pytest pytest-cov codecov
             sudo pip install -e .[tests]
       - save_cache:
           key: deps9-{{ .Branch }}
diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml
index 59531d2f..854cc753 100644
--- a/.github/workflows/python-package.yml
+++ b/.github/workflows/python-package.yml
@@ -29,7 +29,7 @@ jobs:
     - name: Install dependencies
       run: |
         python -m pip install --upgrade pip
-        python -m pip install --only-binary=numpy,scipy numpy<1.20 scipy Cython pytest pytest-cov codecov flake8
+        python -m pip install --only-binary=numpy,scipy numpy~=1.19.0 scipy Cython pytest pytest-cov codecov flake8
         python -m pip install -e .[tests]
         if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
     - name: Lint with flake8
diff --git a/.github/workflows/python-publish.yml b/.github/workflows/python-publish.yml
index da509fad..26cac21f 100644
--- a/.github/workflows/python-publish.yml
+++ b/.github/workflows/python-publish.yml
@@ -80,7 +80,7 @@ jobs:
     - name: Install dependencies
       run: |
         python -m pip install --upgrade pip
-        python -m pip install --only-binary=numpy,scipy numpy<1.20 scipy Cython wheel
+        python -m pip install --only-binary=numpy,scipy numpy~=1.19.0 scipy Cython wheel
 
     - name: Build source tar file
       run: python setup.py sdist
-- 
GitLab