Skip to content

Commit

Permalink
Add support for python 3.12 and drop python 2.7 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jameshilliard committed Oct 3, 2023
1 parent 84e9a76 commit 0450b6c
Show file tree
Hide file tree
Showing 7 changed files with 17,992 additions and 9,823 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build_and_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
with:
submodules: true
- name: "Build wheels"
uses: "pypa/cibuildwheel@v2.12.0"
uses: "pypa/cibuildwheel@v2.16.1"
env:
CIBW_SKIP: "pp* cp311-win32 cp311-win_amd64" # FIXME
CIBW_SKIP: "pp*" # FIXME
CIBW_BEFORE_BUILD: "pip install -U cython && ./update_cpp.sh"
CIBW_BEFORE_BUILD_WINDOWS: "pip install -U cython && update_cpp.sh"
CIBW_TEST_REQUIRES: "pytest"
Expand All @@ -35,7 +35,7 @@ jobs:
name: "Build source distribution"
runs-on: ubuntu-latest
steps:
- uses: "actions/checkout@v3"
- uses: "actions/checkout@v4"
with:
submodules: true
- name: "Install dependencies"
Expand All @@ -60,7 +60,7 @@ jobs:
with:
name: artifact
path: dist
- uses: "pypa/gh-action-pypi-publish@v1.5.0"
- uses: "pypa/gh-action-pypi-publish@v1.8.10"
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,18 @@ jobs:

strategy:
matrix:
python-version: ["2.7", "3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12"]
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- os: windows-latest
python-version: "2.7"
- os: ubuntu-latest
python-version: "3.6"
fail-fast: false

steps:
- uses: "actions/checkout@v2"
- uses: "actions/checkout@v4"
with:
submodules: true
- uses: "actions/setup-python@v2"
- uses: "actions/setup-python@v4"
with:
python-version: "${{ matrix.python-version }}"
- name: "Install dependencies"
Expand Down
Loading

0 comments on commit 0450b6c

Please sign in to comment.