Skip to content
Merged
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: 17 additions & 0 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,23 @@ jobs:
miniforge-version: latest
conda-solver: libmamba

- name: Upgrade pip and setuptools
# conda-created environments often ship an old bootstrap pip/setuptools
# that pip-audit flags regardless of any application dependency --
# keep those current so the audit reflects real findings, not noise
# from the toolchain itself.
run: pip install --upgrade pip setuptools

- name: Upgrade click (PYSEC-2026-2132)
# click is a transitive dependency of mkdocs/dash/black -- not
# declared anywhere in this project directly -- and conda-forge's
# mkdocs build still caps it below the patched version, so this
# job (always Python 3.11) upgrades it via pip after conda's solve.
# Scoped to this job only: click>=8.3.3 requires Python >=3.10,
# which would break environment.yml's Python 3.9 entry in the test
# matrix if pinned there instead.
run: pip install --upgrade "click>=8.3.3"

- name: Audit dependencies for known CVEs
run: pip-audit --format=markdown --output=pip-audit-report.md || true

Expand Down
Loading