Skip to content

Commit

Permalink
Add pypy 3.10 wheels, bump maturin version
Browse files Browse the repository at this point in the history
  • Loading branch information
gi0baro committed Sep 1, 2023
1 parent 4eb8049 commit 0d1cbc1
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 16 deletions.
25 changes: 11 additions & 14 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ on:
types: [published]

env:
MATURIN_VERSION: 1.1.0
PY_ALL: 3.8 3.9 3.10 3.11 pypy3.8 pypy3.9
MATURIN_VERSION: 1.2.3
PY_ALL: 3.8 3.9 3.10 3.11 pypy3.8 pypy3.9 pypy3.10

jobs:
sdist:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand All @@ -27,7 +27,7 @@ jobs:
manylinux: off
container: off
- name: Upload sdist
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: wheels
path: target/wheels/*.tar.gz
Expand All @@ -45,7 +45,7 @@ jobs:
- os: ubuntu
platform: linux
- os: macos
interpreter: 3.8 3.9 3.10 3.11 pypy3.9
interpreter: 3.8 3.9 3.10 3.11 pypy3.9 pypy3.10
- os: ubuntu
platform: linux
target: aarch64
Expand All @@ -62,7 +62,7 @@ jobs:
- os: windows
target: aarch64
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: pyo3/maturin-action@v1
with:
maturin-version: v${{ env.MATURIN_VERSION }}
Expand All @@ -72,20 +72,17 @@ jobs:
manylinux: ${{ matrix.manylinux || 'auto' }}
container: ${{ matrix.container }}
- name: Upload wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: wheels
path: target/wheels

wheel-win:
runs-on: windows-latest
env:
PY_ALL: 3.8 3.9 3.10 3.11 C:\hostedtoolcache\windows\PyPy\3.9.17\x86\python3.exe
PY_ALL: 3.8 3.9 3.10 3.11 C:\hostedtoolcache\windows\PyPy\3.9.17\x86\python3.exe C:\hostedtoolcache\windows\PyPy\3.10.12\x86\python3.exe
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v4
with:
python-version: pypy3.9
- uses: actions/checkout@v3
- uses: pyo3/maturin-action@v1
with:
maturin-version: v${{ env.MATURIN_VERSION }}
Expand All @@ -94,7 +91,7 @@ jobs:
target: x86_64
manylinux: auto
- name: Upload wheels
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v3
with:
name: wheels
path: target/wheels
Expand All @@ -103,7 +100,7 @@ jobs:
runs-on: ubuntu-latest
needs: [ sdist, wheel-unix, wheel-win ]
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v3
with:
name: wheels
- uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
- master

env:
MATURIN_VERSION: 1.1.0
MATURIN_VERSION: 1.2.3

jobs:
linux:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Funding = "https://github.com/sponsors/gi0baro"
Source = "https://github.com/gi0baro/geohashr"

[build-system]
requires = ["maturin>=1.1.0,<1.2.0"]
requires = ["maturin>=1.1.0,<1.3.0"]
build-backend = "maturin"

[tool.maturin]
Expand Down

0 comments on commit 0d1cbc1

Please sign in to comment.