Skip to content

Commit

Permalink
Make wheels for newest python.
Browse files Browse the repository at this point in the history
  • Loading branch information
matham committed Mar 15, 2024
1 parent 1e8a16d commit 06fdbe0
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 17 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/pythonapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ jobs:
lint_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.x
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Lint with pycodestyle
Expand All @@ -20,7 +20,7 @@ jobs:
name: Build wheels on ${{ matrix.os }} for ${{ matrix.arch }}
runs-on: ${{ matrix.os }}
env:
CIBW_BUILD: cp3{7,8,9,10}-*
CIBW_BUILD: cp3{8,9,10,11,12}-*
CIBW_ARCHS: ${{ matrix.arch }}
CIBW_BUILD_VERBOSITY: 3
CIBW_TEST_SKIP: "*macosx*arm64*"
Expand All @@ -39,9 +39,9 @@ jobs:
os: windows-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- uses: actions/setup-python@v2
- uses: actions/setup-python@v4
name: Install Python
with:
python-version: '3.x'
Expand All @@ -52,7 +52,7 @@ jobs:
python -m pip install build
python -m build --sdist
- uses: docker/setup-qemu-action@v1
- uses: docker/setup-qemu-action@v3
if: ${{ matrix.arch == 'aarch64' }}
name: Set up QEMU

Expand All @@ -63,13 +63,13 @@ jobs:
run: python -m cibuildwheel --output-dir dist

- name: Upload wheels as artifact
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist

- name: Upload to GitHub Release
uses: softprops/action-gh-release@v0.1.14
uses: softprops/action-gh-release@v2
if: startsWith(github.ref, 'refs/tags/')
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -82,9 +82,9 @@ jobs:
KIVY_GL_BACKEND: angle_sdl2

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.x

Expand All @@ -99,9 +99,9 @@ jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.x
uses: actions/setup-python@v2
uses: actions/setup-python@v4
with:
python-version: 3.x
- name: Install dependencies
Expand All @@ -114,7 +114,7 @@ jobs:
cd doc
make html
- name: Upload docs as artifact
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: docs
path: doc/build/html
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[build-system]
requires = [
"setuptools", "wheel", "cython",
"setuptools", "wheel", "cython", "packaging",
]
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,11 @@ def build_extensions(self):
'Intended Audience :: Developers',
'Topic :: Software Development :: Libraries',
'License :: OSI Approved :: MIT License',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
],
keywords='Kivy kivy-garden',

Expand Down

0 comments on commit 06fdbe0

Please sign in to comment.