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
24 changes: 2 additions & 22 deletions .github/workflows/python-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ jobs:
target: x86_64
- runner: ubuntu-latest
target: x86
- runner: ubuntu-latest
target: aarch64
steps:
- uses: actions/checkout@v4
with:
Expand All @@ -112,35 +110,17 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i 3.13 --features abi3-py311 --features extension-module --manifest-path python/Cargo.toml
args: --release --out dist -i 3.13 --no-default-features --features abi3-py311 --features extension-module --manifest-path python/Cargo.toml
sccache: "true"
manylinux: musllinux_1_2
before-script-linux: |
# Install libclang for bindgen (required by lerc-sys)
if command -v apk &> /dev/null; then
apk add clang-dev
elif command -v yum &> /dev/null; then
yum install -y clang-devel
elif command -v apt-get &> /dev/null; then
apt-get update && apt-get install -y libclang-dev
fi

- name: Build version-specific wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist -i 3.10 -i pypy3.11 --features extension-module --manifest-path python/Cargo.toml
args: --release --out dist -i 3.10 -i pypy3.11 --no-default-features --features extension-module --manifest-path python/Cargo.toml
sccache: "true"
manylinux: musllinux_1_2
before-script-linux: |
# Install libclang for bindgen (required by lerc-sys)
if command -v apk &> /dev/null; then
apk add clang-dev
elif command -v yum &> /dev/null; then
yum install -y clang-devel
elif command -v apt-get &> /dev/null; then
apt-get update && apt-get install -y libclang-dev
fi

- name: Upload wheels
uses: actions/upload-artifact@v4
Expand Down
4 changes: 3 additions & 1 deletion python/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,11 @@ crate-type = ["cdylib"]
[features]
abi3-py311 = ["pyo3/abi3-py311"]
extension-module = ["pyo3/extension-module"]
lerc = ["async-tiff/lerc"]
default = ["lerc"]

[dependencies]
async-tiff = { path = "../", features = ["jpeg2k", "webp", "lerc", "lzma"] }
async-tiff = { path = "../", features = ["jpeg2k", "webp", "lzma"] }
async-trait = "0.1.89"
bytes = "1.10.1"
futures = "0.3.31"
Expand Down
Loading