mirror of
https://github.com/maziggy/bambuddy.git
synced 2026-09-30 19:21:33 +02:00
ci: upgrade setuptools in pip-audit jobs to clear PYSEC-2026-3447
The GitHub runner's Python toolcache ships setuptools 79.0.1, which pip-audit flags for PYSEC-2026-3447 (fixed in 83.0.0), failing the blocking Backend Security job. A fix version exists, so upgrade setuptools in the install step rather than --ignore-vuln. Applied to both ci.yml (blocking) and security.yml (scheduled scan).
This commit is contained in:
@@ -65,7 +65,10 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
# Upgrade setuptools too: the runner's Python toolcache ships an old
|
||||
# setuptools that trips pip-audit (PYSEC-2026-3447, fixed in 83.0.0).
|
||||
# A fix exists, so we upgrade rather than --ignore-vuln.
|
||||
python -m pip install --upgrade pip setuptools
|
||||
pip install -r requirements.txt
|
||||
pip install pip-audit
|
||||
|
||||
|
||||
@@ -125,7 +125,10 @@ jobs:
|
||||
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
# Upgrade setuptools too: the runner's Python toolcache ships an old
|
||||
# setuptools that trips pip-audit (PYSEC-2026-3447, fixed in 83.0.0).
|
||||
# A fix exists, so we upgrade rather than --ignore-vuln.
|
||||
python -m pip install --upgrade pip setuptools
|
||||
pip install -r requirements.txt
|
||||
pip install pip-audit
|
||||
|
||||
|
||||
Reference in New Issue
Block a user