Skip to content

Commit

Permalink
Merge pull request #128 from flacjacket/new_python
Browse files Browse the repository at this point in the history
Update to include CPython 3.12 and PyPy in CI and release
  • Loading branch information
flacjacket authored Oct 7, 2023
2 parents fb7e7d0 + e422ff6 commit 78af2ec
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,13 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "pypy-3.8"
- "pypy-3.9"
- "pypy-3.10"
wlroots-version: ["0.16.2"]
include:
- python-version: "3.11"
- python-version: "3.12"
wlroots-version: master
steps:
- name: Download wayland libraries
Expand Down Expand Up @@ -215,7 +216,7 @@ jobs:
name: mypy tests
runs-on: ubuntu-22.04
env:
python-version: "3.11"
python-version: "3.12"
steps:
- name: Install dependencies
run: |
Expand All @@ -242,7 +243,7 @@ jobs:
name: black tests
runs-on: ubuntu-22.04
env:
python-version: "3.11"
python-version: "3.12"
steps:
- name: Checkout repo
uses: actions/checkout@v3
Expand All @@ -260,7 +261,7 @@ jobs:
runs-on: ubuntu-22.04
needs: build-wayland
env:
python-version: "3.11"
python-version: "3.12"
wlroots-version: "0.16.2"
steps:
- name: Download wayland libraries
Expand Down Expand Up @@ -296,7 +297,7 @@ jobs:
runs-on: ubuntu-22.04
needs: build-wayland
env:
python-version: "3.11"
python-version: "3.12"
wlroots-version: "0.16.2"
steps:
- name: Download wayland libraries
Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
steps:
- name: Download wayland libraries
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -176,7 +176,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9"]
python-version: ["3.8", "3.9", "3.10"]
pypy-version: ["7.3"]
steps:
- name: Download wayland libraries
Expand Down Expand Up @@ -233,8 +233,10 @@ jobs:
- "3.9"
- "3.10"
- "3.11"
- "3.12"
- "pypy-3.8"
- "pypy-3.9"
- "pypy-3.10"
steps:
- name: Install dependencies
run: |
Expand Down Expand Up @@ -264,7 +266,7 @@ jobs:
container: quay.io/pypa/manylinux_2_28_x86_64
needs: build-wayland
env:
python-version: "3.11"
python-version: "3.12"
steps:
- name: Download wayland libraries
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -329,6 +331,11 @@ jobs:
with:
name: wheels-3.11
path: dist/
- name: Download wheels CPython 3.12
uses: actions/download-artifact@v3
with:
name: wheels-3.12
path: dist/
- name: Download wheels PyPy 3.8
uses: actions/download-artifact@v3
with:
Expand All @@ -339,6 +346,11 @@ jobs:
with:
name: wheels-pypy-3.9
path: dist
- name: Download wheels PyPy 3.10
uses: actions/download-artifact@v3
with:
name: wheels-pypy-3.10
path: dist
- name: Download source
uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 78af2ec

Please sign in to comment.