summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorRĂ©mi Flamary <remi.flamary@gmail.com>2022-02-23 09:53:13 +0100
committerGitHub <noreply@github.com>2022-02-23 09:53:13 +0100
commit3302cd48cdcc5d4832997bae921952cc3917fb59 (patch)
tree10181dc0e65e8eb72306cccc22d7a88a81250fcd /.github
parent50c0f17d00e3492c4d56a356af30cf00d6d07913 (diff)
[MRG] Build POT against oldest-supported-numpy (local PR) (#349)
* Configure setup to compile against oldest supported numpy version using the meta-package: https://pypi.org/project/oldest-supported-numpy/ - * Set minimum Python requirement to `>=3.7` in setup.py since !328 removed Python 3.6 support * Fix typo in pyproject.toml - * Update setup.py * Update setup.py and * build wheels * remove install dependencies for wheels building and build wheels * Apply suggestions from code review Co-authored-by: David M. Ghiurco <9147386+davidghiurco@users.noreply.github.com> * correct timing test add info in release file and build wheels * pep8 and Co-authored-by: David Ghiurco <9147386+davidghiurco@users.noreply.github.com>
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build_wheels.yml8
-rw-r--r--.github/workflows/build_wheels_weekly.yml2
2 files changed, 1 insertions, 9 deletions
diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml
index c746eb8..475058c 100644
--- a/.github/workflows/build_wheels.yml
+++ b/.github/workflows/build_wheels.yml
@@ -27,8 +27,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- pip install -r requirements.txt
- pip install -U "cython"
- name: Install cibuildwheel
run: |
@@ -37,7 +35,6 @@ jobs:
- name: Build wheels
env:
CIBW_SKIP: "pp*-win* pp*-macosx* cp2* pp* cp36*" # remove pypy on mac and win (wrong version)
- CIBW_BEFORE_BUILD: "pip install numpy cython"
run: |
python -m cibuildwheel --output-dir wheelhouse
@@ -65,8 +62,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- pip install -r requirements.txt
- pip install -U "cython"
- name: Install cibuildwheel
run: |
@@ -80,8 +75,7 @@ jobs:
- name: Build wheels
env:
- CIBW_SKIP: "pp*-win* pp*-macosx* cp2* pp* cp*musl* cp36*" # remove pypy on mac and win (wrong version)
- CIBW_BEFORE_BUILD: "pip install numpy cython"
+ CIBW_SKIP: "pp*-win* pp*-macosx* cp2* pp* cp*musl*" # remove pypy on mac and win (wrong version)
CIBW_ARCHS_LINUX: auto aarch64 # force aarch64 with QEMU
CIBW_ARCHS_MACOS: x86_64 universal2 arm64
run: |
diff --git a/.github/workflows/build_wheels_weekly.yml b/.github/workflows/build_wheels_weekly.yml
index dbf342f..b9154c5 100644
--- a/.github/workflows/build_wheels_weekly.yml
+++ b/.github/workflows/build_wheels_weekly.yml
@@ -26,8 +26,6 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
- pip install -r requirements.txt
- pip install -U "cython"
- name: Install cibuildwheel
run: |