forked from inveniosoftware-contrib/intbitset
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support to build on Python 3.11, drop 3.6
Reference: inveniosoftware-contrib#81 Signed-off-by: Philippe Ombredanne <[email protected]>
- Loading branch information
1 parent
fc9e3c8
commit 9f175ab
Showing
1 changed file
with
16 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,15 +36,15 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [macos-10.15, windows-2019] | ||
os: [macos-latest, windows-latest] | ||
arch: [auto64] | ||
build: ["cp{36,37,38,39}-*"] | ||
build: ["cp{37,38,39}-*"] | ||
|
||
include: | ||
- os: ubuntu-latest | ||
arch: auto | ||
type: manylinux1 | ||
build: "cp{36,37,38,39}-*" | ||
build: "cp{37,38,39}-*" | ||
CIBW_MANYLINUX_X86_64_IMAGE: manylinux1 | ||
|
||
- os: ubuntu-latest | ||
|
@@ -53,13 +53,20 @@ jobs: | |
build: "cp310-*" | ||
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2010 | ||
|
||
# the manylinux2014 image also contains python 3.11 and pypy3.9 | ||
- os: ubuntu-latest | ||
arch: auto | ||
type: manylinux2014 | ||
build: "cp311-*" | ||
CIBW_MANYLINUX_X86_64_IMAGE: manylinux2014 | ||
|
||
- os: macos-latest | ||
arch: universal2 | ||
build: "cp{36,37,38,39,310}-*" | ||
build: "cp{37,38,39,310,311}-*" | ||
|
||
- os: windows-latest | ||
arch: auto64 | ||
build: "cp{36,37,38,39,310}-*" | ||
build: "cp{37,38,39,310,311}-*" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -68,11 +75,10 @@ jobs: | |
uses: pypa/[email protected] | ||
env: | ||
CIBW_BUILD: ${{ matrix.build }} | ||
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.CIBW_MANYLINUX_I686_IMAGE }} | ||
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.CIBW_MANYLINUX_X86_64_IMAGE }} | ||
CIBW_ARCHS: ${{ matrix.arch }} | ||
CIBW_TEST_REQUIRES: pytest pytest-xdist | ||
CIBW_TEST_COMMAND: pytest {package}/tests -n6 | ||
CIBW_TEST_COMMAND: pytest {package}/tests -n4 | ||
# Skip PyPy wheels | ||
CIBW_SKIP: "pp*" | ||
|
||
|
@@ -112,8 +118,8 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-18.04, ubuntu-20.04, macos-10.15, macos-11, windows-2019, windows-2022] | ||
python: ["3.6", "3.7", "3.8", "3.9", "3.10"] | ||
os: [ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, macos-10.15, macos-11, macos-12, windows-2019, windows-2022] | ||
python: [3.7", "3.8", "3.9", "3.10", "3.11"] | ||
|
||
steps: | ||
- name: Set up Python | ||
|
@@ -127,4 +133,4 @@ jobs: | |
run: pip install -e .[tests] | ||
|
||
- name: Run tests | ||
run: pytest -vs tests -n6 | ||
run: pytest -vs tests -n4 |