Skip to content

Commit

Permalink
feat: build pypy3.11 wheels (#2)
Browse files Browse the repository at this point in the history
* feat: build pypy3.11 wheels

* fix: update pyo3
  • Loading branch information
Ravencentric authored Mar 2, 2025
1 parent 10cbfb5 commit 50fa487
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 16 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
tags:
- 'v*.*.*'
workflow_dispatch:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

jobs:
build_wheels:
Expand All @@ -22,7 +27,7 @@ jobs:
uses: astral-sh/setup-uv@v5

- name: Build wheels
uses: pypa/cibuildwheel@v2.22.0
uses: pypa/cibuildwheel@v2.23.0

- uses: actions/upload-artifact@v4
with:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ on:

env:
FORCE_COLOR: 1
UV_LOCKED: 1

# https://learn.scientific-python.org/development/guides/gha-basic/#cancel-existing-runs
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true

jobs:
Expand All @@ -48,6 +48,7 @@ jobs:
3.13
pypy3.9
pypy3.10
pypy3.11
- uses: astral-sh/setup-uv@v5
- run: uv run nox
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ codegen-units = 1
lto = "fat"

[dependencies]
pyo3 = { version = "=0.23.4", features = [
pyo3 = { version = "0.23.5", features = [
"extension-module",
"generate-import-lib",
] }
tempfile = "=3.17.1"
tempfile = "3.17.1"
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
nox.needs_version = ">=2024.10.9"
nox.options.default_venv_backend = "uv"

PYTHON_VERSIONS = ("3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9", "pypy3.10")
PYTHON_VERSIONS = ("3.9", "3.10", "3.11", "3.12", "3.13", "pypy3.9", "pypy3.10", "pypy3.11")


def cargo(session: nox.Session, *args: str) -> None:
Expand Down

0 comments on commit 50fa487

Please sign in to comment.