-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drop Python 3.7 support, add Python 3.12 support
- Loading branch information
Showing
4 changed files
with
17 additions
and
18 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 |
---|---|---|
|
@@ -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: | ||
|
@@ -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 | ||
|
@@ -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 }} | ||
|
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
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
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