diff options
author | RĂ©mi Flamary <remi.flamary@gmail.com> | 2021-11-05 17:13:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-05 17:13:14 +0100 |
commit | cec41d3817067a2eb3031092735347efe4184237 (patch) | |
tree | e5af7c2e72fd6f50590b2dd1c5f1f6f47dceebc3 /.github | |
parent | 0eac835c70cc1a13bb998f3b6cdb0515fafc05e1 (diff) |
[MRG] Release 0.8 (#289)
* working on release
* test circleci
* try again
* cleanup circle ci run
* add all PR and releant Issues
* update doc
* thanks idris
* update version + add pyproject.toml
* test pyproject.toml
* revert tests
* build wheels
* use windows-latest for tests
* add tests python 3.10
* build all whels
* all versions
* build all wheels
* build all wheels
* cleanup pep8 and minimal acions
* forst shot text release
* bettr text
* stuff
* release text updated
* update manifest to allow build from source
* update doc again
* update release
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build_tests.yml | 26 | ||||
-rw-r--r-- | .github/workflows/build_wheels.yml | 13 | ||||
-rw-r--r-- | .github/workflows/build_wheels_weekly.yml | 5 |
3 files changed, 16 insertions, 28 deletions
diff --git a/.github/workflows/build_tests.yml b/.github/workflows/build_tests.yml index 91631b4..ee5a435 100644 --- a/.github/workflows/build_tests.yml +++ b/.github/workflows/build_tests.yml @@ -22,7 +22,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [ 3.6, 3.7, 3.8, 3.9] + python-version: [ "3.6", "3.7", "3.8", "3.9"] steps: - uses: actions/checkout@v1 @@ -48,17 +48,12 @@ jobs: pep8: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'no pep8')" - strategy: - max-parallel: 4 - matrix: - python-version: [3.8] - steps: - uses: actions/checkout@v1 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v1 with: - python-version: ${{ matrix.python-version }} + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip @@ -74,17 +69,12 @@ jobs: runs-on: ubuntu-latest if: "!contains(github.event.head_commit.message, 'no ci')" - strategy: - max-parallel: 4 - matrix: - python-version: [3.8] - steps: - uses: actions/checkout@v1 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v1 with: - python-version: ${{ matrix.python-version }} + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip @@ -103,7 +93,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.7, 3.8, 3.9] + python-version: ["3.7", "3.8", "3.9"] steps: - uses: actions/checkout@v1 @@ -125,12 +115,12 @@ jobs: windows: - runs-on: windows-2019 + runs-on: windows-latest if: "!contains(github.event.head_commit.message, 'no ci')" strategy: max-parallel: 4 matrix: - python-version: [3.7, 3.8, 3.9] + python-version: ["3.7", "3.8", "3.9"] steps: - uses: actions/checkout@v1 diff --git a/.github/workflows/build_wheels.yml b/.github/workflows/build_wheels.yml index 53246ce..a935a5e 100644 --- a/.github/workflows/build_wheels.yml +++ b/.github/workflows/build_wheels.yml @@ -3,6 +3,7 @@ name: Build wheels on: workflow_dispatch: release: + pull_request: push: branches: - "*" @@ -31,7 +32,7 @@ jobs: - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==1.10.0 + python -m pip install cibuildwheel==2.2.2 - name: Build wheels env: @@ -69,12 +70,7 @@ jobs: - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==1.10.0 - - - name: Install Visual C++ for Python 2.7 - if: startsWith(matrix.os, 'windows') - run: | - choco install vcpython27 -f -y + python -m pip install cibuildwheel==2.2.2 - name: Set up QEMU if: runner.os == 'Linux' @@ -84,9 +80,10 @@ jobs: - name: Build wheels env: - CIBW_SKIP: "pp*-win* pp*-macosx* cp2* pp*" # remove pypy on mac and win (wrong version) + CIBW_SKIP: "pp*-win* pp*-macosx* cp2* pp* cp*musl*" # remove pypy on mac and win (wrong version) CIBW_BEFORE_BUILD: "pip install numpy cython" CIBW_ARCHS_LINUX: auto aarch64 # force aarch64 with QEMU + CIBW_ARCHS_MACOS: x86_64 universal2 arm64 run: | python -m cibuildwheel --output-dir wheelhouse diff --git a/.github/workflows/build_wheels_weekly.yml b/.github/workflows/build_wheels_weekly.yml index 32b697f..2964844 100644 --- a/.github/workflows/build_wheels_weekly.yml +++ b/.github/workflows/build_wheels_weekly.yml @@ -31,7 +31,7 @@ jobs: - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==1.10.0 + python -m pip install cibuildwheel==2.2.2 - name: Set up QEMU if: runner.os == 'Linux' @@ -41,9 +41,10 @@ jobs: - name: Build wheels env: - CIBW_SKIP: "pp*-win* pp*-macosx* cp2* pp*" # remove pypy on mac and win (wrong version) + CIBW_SKIP: "pp*-win* pp*-macosx* cp2* pp* cp*musl*" # remove pypy on mac and win (wrong version) CIBW_BEFORE_BUILD: "pip install numpy cython" CIBW_ARCHS_LINUX: auto aarch64 # force aarch64 with QEMU + CIBW_ARCHS_MACOS: x86_64 universal2 arm64 run: | python -m cibuildwheel --output-dir wheelhouse |