Skip to content

Commit

Permalink
chore: use abi3 wheels (#36)
Browse files Browse the repository at this point in the history
- Closes #35
  • Loading branch information
gadomski authored Feb 7, 2025
1 parent bbc5db9 commit 09646be
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/pypi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@ jobs:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- name: Install Pythons
run: uv python install 3.10 3.11 3.12 3.13 pypy3.10
run: uv python install 3.10
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10
args: --release --out dist -i 3.10
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: ${{ matrix.platform.manylinux }}
- name: Upload wheels
Expand All @@ -74,12 +74,12 @@ jobs:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- name: Install Pythons
run: uv python install 3.10 3.11 3.12 3.13 pypy3.10
run: uv python install 3.10
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10
args: --release --out dist -i 3.10
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: musllinux_1_2
- name: Upload wheels
Expand Down Expand Up @@ -128,12 +128,12 @@ jobs:
- uses: actions/checkout@v4
- uses: astral-sh/setup-uv@v5
- name: Install Pythons
run: uv python install 3.10 3.11 3.12 3.13 pypy3.10
run: uv python install 3.10
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i 3.10 -i 3.11 -i 3.12 -i 3.13 -i pypy3.10
args: --release --out dist -i 3.10
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## [Unreleased]

### Changed

- Use only abi3 wheels ([#36](https://github.com/gadomski/stacrs/pull/36))

## [0.5.2] - 2025-02-07

### Changed
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ duckdb-bundled = ["duckdb/bundled"]
[dependencies]
duckdb = { version = "1.1.1" }
geojson = "0.24.1"
pyo3 = { version = "0.23.4", features = ["extension-module"] }
pyo3 = { version = "0.23.4", features = ["abi3-py310"] }
pyo3-async-runtimes = { version = "0.23.0", features = [
"tokio",
"tokio-runtime",
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dynamic = ["version"]

[project.urls]
Repository = "https://github.com/gadomski/stacrs"
Documentation = "https://gadom.ski/stacrs"
Documentation = "https://www.gadom.ski/stacrs"
Issues = "https://github.com/gadomski/stacrs/issues"

[tool.mypy]
Expand Down

0 comments on commit 09646be

Please sign in to comment.