Python: builds for Python 12 and pypy on Linux

pull/681/head
Tpt 1 year ago committed by Thomas Tanon
parent 6d1d752e01
commit aa82fc8157
  1. 5
      .github/workflows/manylinux_build.sh
  2. 2
      .github/workflows/musllinux_build.sh

@ -15,7 +15,10 @@ maturin develop --release -m Cargo.toml
python generate_stubs.py pyoxigraph pyoxigraph.pyi --black python generate_stubs.py pyoxigraph pyoxigraph.pyi --black
maturin build --release -m Cargo.toml --features abi3 --compatibility manylinux2014 maturin build --release -m Cargo.toml --features abi3 --compatibility manylinux2014
if [ %for_each_version% ]; then if [ %for_each_version% ]; then
for VERSION in 7 8 9 10 11; do for VERSION in 7 8 9 10 11 12; do
maturin build --release -m Cargo.toml --interpreter "python3.$VERSION" --compatibility manylinux2014 maturin build --release -m Cargo.toml --interpreter "python3.$VERSION" --compatibility manylinux2014
done done
for VERSION in 9 10; do
maturin build --release -m Cargo.toml --interpreter "pypy3.$VERSION" --compatibility manylinux2014
done
fi fi

@ -13,7 +13,7 @@ maturin develop --release -m Cargo.toml
python generate_stubs.py pyoxigraph pyoxigraph.pyi --black python generate_stubs.py pyoxigraph pyoxigraph.pyi --black
maturin build --release -m Cargo.toml --features abi3 --compatibility musllinux_1_1 maturin build --release -m Cargo.toml --features abi3 --compatibility musllinux_1_1
if [ %for_each_version% ]; then if [ %for_each_version% ]; then
for VERSION in 7 8 9 10 11; do for VERSION in 7 8 9 10 11 12; do
maturin build --release -m Cargo.toml --interpreter "python3.$VERSION" --compatibility musllinux_1_1 maturin build --release -m Cargo.toml --interpreter "python3.$VERSION" --compatibility musllinux_1_1
done done
fi fi

Loading…
Cancel
Save