Skip editable package in pip-audit; require setuptools>=83.0.0
CI / lint:ruff (push) Successful in 8s
CI / format:ruff (push) Successful in 7s
CI / typecheck:ty (push) Successful in 8s
CI / vulnerabilities:pip-audit (push) Failing after 9s
CI / test:pytest (push) Has been skipped

pip-audit can't look up the local editable "gallery" package on PyPI,
so skip it explicitly. Also bump the setuptools build requirement to
pull in recent security fixes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
2026-07-23 13:18:16 +02:00
parent f7294909a2
commit 2a7d3d244a
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ jobs:
cache: pip cache: pip
cache-dependency-path: pyproject.toml cache-dependency-path: pyproject.toml
- run: pip install -e ".[dev,plotting]" - run: pip install -e ".[dev,plotting]"
- run: pip-audit - run: pip-audit --skip-editable
test: test:
name: test:pytest name: test:pytest
+1 -1
View File
@@ -52,7 +52,7 @@ Code style: ruff (lint + format), `line-length = 120`. Type-checked with `ty`.
ruff check gallery plotstyle tests ruff check gallery plotstyle tests
ruff format gallery plotstyle tests ruff format gallery plotstyle tests
ty check gallery plotstyle ty check gallery plotstyle
pip-audit pip-audit --skip-editable
``` ```
**Before committing**, run the same checks CI (`.gitea/workflows/ci.yml`) runs and make sure they pass — `ruff check`, `ruff format --check`, `ty check`, `pip-audit`, and `pytest tests/`. Catching a failure locally is faster than waiting on the pipeline. **Before committing**, run the same checks CI (`.gitea/workflows/ci.yml`) runs and make sure they pass — `ruff check`, `ruff format --check`, `ty check`, `pip-audit`, and `pytest tests/`. Catching a failure locally is faster than waiting on the pipeline.
+1 -1
View File
@@ -1,5 +1,5 @@
[build-system] [build-system]
requires = ["setuptools>=65.0", "wheel"] requires = ["setuptools>=83.0.0", "wheel"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[project] [project]