Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,4 @@ jobs:
run: cargo test

- name: Build wheel smoke test
run: python -m maturin build --interpreter python

run: python -m maturin build --interpreter python --compatibility pypi
40 changes: 2 additions & 38 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
path: dist/*

wheels:
name: Build wheel ${{ matrix.os }} Python ${{ matrix.python-version }}
name: Build wheel ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -47,50 +47,14 @@ jobs:
python-version: "3.10"
target: x86_64
args: --release --out dist -i python3.10 --compatibility pypi
- os: ubuntu-latest
python-version: "3.11"
target: x86_64
args: --release --out dist -i python3.11 --compatibility pypi
- os: ubuntu-latest
python-version: "3.12"
target: x86_64
args: --release --out dist -i python3.12 --compatibility pypi
- os: ubuntu-latest
python-version: "3.13"
target: x86_64
args: --release --out dist -i python3.13 --compatibility pypi
- os: macos-14
python-version: "3.10"
target: aarch64-apple-darwin
args: --release --out dist --interpreter python --compatibility pypi
- os: macos-14
python-version: "3.11"
target: aarch64-apple-darwin
args: --release --out dist --interpreter python --compatibility pypi
- os: macos-14
python-version: "3.12"
target: aarch64-apple-darwin
args: --release --out dist --interpreter python --compatibility pypi
- os: macos-14
python-version: "3.13"
target: aarch64-apple-darwin
args: --release --out dist --interpreter python --compatibility pypi
- os: windows-latest
python-version: "3.10"
target: x86_64-pc-windows-msvc
args: --release --out dist --interpreter python --compatibility pypi
- os: windows-latest
python-version: "3.11"
target: x86_64-pc-windows-msvc
args: --release --out dist --interpreter python --compatibility pypi
- os: windows-latest
python-version: "3.12"
target: x86_64-pc-windows-msvc
args: --release --out dist --interpreter python --compatibility pypi
- os: windows-latest
python-version: "3.13"
target: x86_64-pc-windows-msvc
args: --release --out dist --interpreter python --compatibility pypi

steps:
- name: Check out repository
Expand All @@ -117,7 +81,7 @@ jobs:
- name: Upload wheel
uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-${{ matrix.python-version }}
name: wheels-${{ matrix.os }}
path: dist/*

publish:
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ crate-type = ["cdylib"]

[dependencies]
hangulang-engine = { package = "hangulang", path = "vendor/hangulang", features = ["serde"] }
pyo3 = { version = "0.23.5", features = ["extension-module"] }
pyo3 = { version = "0.23.5", features = ["extension-module", "abi3-py310"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Issues = "https://github.com/myeolinmalchi/hangulang-python/issues"
[tool.maturin]
python-source = "python"
module-name = "hangulang._native"
features = ["pyo3/extension-module"]
features = ["pyo3/extension-module", "pyo3/abi3-py310"]

[tool.pytest.ini_options]
testpaths = ["tests"]
Expand Down
Loading