Skip to content

Commit

Permalink
Drop Python 3.7 support, add Python 3.12 support
Browse files Browse the repository at this point in the history
  • Loading branch information
jordemort committed Aug 5, 2024
1 parent 0b92353 commit 51c7cc8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: "3.10"
python-version: "3.12"

- name: Build sdist
run: |
python3.10 -m pip install --upgrade wheel
python3.10 setup.py sdist
python3.12 -m pip install --upgrade setuptools wheel
python3.12 setup.py sdist
- uses: actions/upload-artifact@v3
with:
Expand All @@ -40,7 +40,7 @@ jobs:
matrix:
# Windows isn't working right now: https://github.com/caketop/python-starlark-go/issues/4
os: [ubuntu-latest, macos-latest]
cibw_python: ["cp37-*", "cp38-*", "cp39-*", "cp310-*", "cp311-*"]
cibw_python: ["cp38-*", "cp39-*", "cp310-*", "cp311-*", "cp312-*", "cp313-*"]
cibw_arch: ["i686", "x86_64", "aarch64", "arm64"]
include:
- cibw_arch: arm64
Expand All @@ -66,14 +66,16 @@ jobs:
fetch-depth: 0

- uses: actions/setup-go@v5
with:
go-version: 'stable'
if: runner.os != 'Linux'

- name: Set up QEMU
if: runner.os == 'Linux'
uses: docker/[email protected]

- name: Build wheels
uses: pypa/cibuildwheel@v2.13.1
uses: pypa/cibuildwheel@v2.20.0
env:
CIBW_BUILD_VERBOSITY: 1
CIBW_BUILD: ${{ matrix.cibw_python }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:

strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
experimental: [false]
include:
- python-version: '3.12-dev'
- python-version: '3.13-dev'
# sets continue-on-error automatically
experimental: true

Expand Down

0 comments on commit 51c7cc8

Please sign in to comment.