CI: Python: Installs Black for stubs formatting

pull/444/head
Tpt 2 years ago committed by Thomas Tanon
parent 0c407cd041
commit 51c896fe03
  1. 4
      .github/workflows/artifacts.yml
  2. 2
      .github/workflows/manylinux_build.sh
  3. 2
      .github/workflows/musllinux_build.sh

@ -180,7 +180,7 @@ jobs:
python-version: "3.10"
cache: pip
cache-dependency-path: '**/requirements.dev.txt'
- run: pip install "maturin~=0.14.0"
- run: pip install -r python/requirements.dev.txt
- run: maturin build --release -m python/Cargo.toml --features abi3
- run: pip install --no-index --find-links=target/wheels/ pyoxigraph
- run: rm -r target/wheels
@ -215,7 +215,7 @@ jobs:
cache: pip
cache-dependency-path: '**/requirements.dev.txt'
- run: Remove-Item -LiteralPath "C:\msys64\" -Force -Recurse
- run: pip install "maturin~=0.14.0"
- run: pip install -r python/requirements.dev.txt
- run: maturin build --release -m python/Cargo.toml --features abi3
- run: pip install --no-index --find-links=target/wheels/ pyoxigraph
- run: rm -r target/wheels

@ -10,7 +10,7 @@ export PATH="${PATH}:/opt/python/cp37-cp37m/bin:/opt/python/cp38-cp38/bin:/opt/p
cd python
python3.10 -m venv venv
source venv/bin/activate
pip install "maturin~=0.14.0"
pip install -r requirements.dev.txt
maturin develop --release -m Cargo.toml
python generate_stubs.py pyoxigraph pyoxigraph.pyi --black
maturin build --release -m Cargo.toml --features abi3 --compatibility manylinux2014

@ -8,7 +8,7 @@ export PATH="${PATH}:/opt/python/cp37-cp37m/bin:/opt/python/cp38-cp38/bin:/opt/p
cd python
python3.10 -m venv venv
source venv/bin/activate
pip install "maturin~=0.14.0"
pip install -r requirements.dev.txt
maturin develop --release -m Cargo.toml
python generate_stubs.py pyoxigraph pyoxigraph.pyi --black
maturin build --release -m Cargo.toml --features abi3 --compatibility musllinux_1_1

Loading…
Cancel
Save