Skip to content

Commit 0450b6c

Browse files
committed
Add support for python 3.12 and drop python 2.7 support
1 parent 84e9a76 commit 0450b6c

File tree

7 files changed

+17992
-9823
lines changed

7 files changed

+17992
-9823
lines changed

.github/workflows/build_and_upload.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ jobs:
1616
matrix:
1717
os: [ubuntu-latest, macos-latest, windows-latest]
1818
steps:
19-
- uses: "actions/checkout@v3"
19+
- uses: "actions/checkout@v4"
2020
with:
2121
submodules: true
2222
- name: "Build wheels"
23-
uses: "pypa/cibuildwheel@v2.12.0"
23+
uses: "pypa/cibuildwheel@v2.16.1"
2424
env:
25-
CIBW_SKIP: "pp* cp311-win32 cp311-win_amd64" # FIXME
25+
CIBW_SKIP: "pp*" # FIXME
2626
CIBW_BEFORE_BUILD: "pip install -U cython && ./update_cpp.sh"
2727
CIBW_BEFORE_BUILD_WINDOWS: "pip install -U cython && update_cpp.sh"
2828
CIBW_TEST_REQUIRES: "pytest"
@@ -35,7 +35,7 @@ jobs:
3535
name: "Build source distribution"
3636
runs-on: ubuntu-latest
3737
steps:
38-
- uses: "actions/checkout@v3"
38+
- uses: "actions/checkout@v4"
3939
with:
4040
submodules: true
4141
- name: "Install dependencies"
@@ -60,7 +60,7 @@ jobs:
6060
with:
6161
name: artifact
6262
path: dist
63-
- uses: "pypa/gh-action-pypi-publish@v1.5.0"
63+
- uses: "pypa/gh-action-pypi-publish@v1.8.10"
6464
with:
6565
user: __token__
6666
password: ${{ secrets.PYPI_TOKEN }}

.github/workflows/tests.yml

+3-5
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,18 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
16+
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
1717
os: [ubuntu-latest, macos-latest, windows-latest]
1818
exclude:
19-
- os: windows-latest
20-
python-version: "2.7"
2119
- os: ubuntu-latest
2220
python-version: "3.6"
2321
fail-fast: false
2422

2523
steps:
26-
- uses: "actions/checkout@v2"
24+
- uses: "actions/checkout@v4"
2725
with:
2826
submodules: true
29-
- uses: "actions/setup-python@v2"
27+
- uses: "actions/setup-python@v4"
3028
with:
3129
python-version: "${{ matrix.python-version }}"
3230
- name: "Install dependencies"

0 commit comments

Comments
 (0)