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
17 changes: 15 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,21 @@ jobs:
name: cibw-sdist
path: sdist

- name: Ensure Ninja not present on the system
run: if which ninja; then false; fi
- name: Remove ninja
shell: bash
run: |
# Remove ninja
set -euxo pipefail
# https://github.com/scikit-build/scikit-build-core/blob/3943920fa267dc83f9295279bea1c774c0916f13/src/scikit_build_core/program_search.py#L70
for TOOL in ninja-build ninja samu; do
while which ${TOOL}; do
if [ "$RUNNER_OS" == "Windows" ]; then
rm -f "$(which ${TOOL})"
else
sudo rm -f $(which -a ${TOOL})
fi
done
done
- name: Install SDist
run: pip install --no-binary=ninja $(ls sdist/*.tar.gz)[test]
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repos:
- id: trailing-whitespace

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: "v0.9.9"
rev: "v0.9.10"
hooks:
- id: ruff
args: [--fix, --show-fixes]
Expand All @@ -33,7 +33,7 @@ repos:
additional_dependencies: ["validate-pyproject-schema-store[all]>=2024.10.21"]

- repo: https://github.com/python-jsonschema/check-jsonschema
rev: "0.31.2"
rev: "0.31.3"
hooks:
- id: check-dependabot
- id: check-github-workflows
Expand Down
Loading