diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cb83b5c..95eae6b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: - name: Install run: | python -m pip install --require-hashes -r requirements-ci.txt - python -m pip install --no-deps -e . + python -m pip install --no-deps --no-build-isolation -e . - name: Test offline run: python -m pytest - name: Smoke test gate, CSV, and inventory check diff --git a/CHANGELOG.md b/CHANGELOG.md index c8266c2..1a776ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- CI: the setuptools build backend is in the hash-pinned `requirements-ci.txt`, and the project is installed with `--no-build-isolation`, so the build no longer downloads an unhashed setuptools. - Dependabot: weekly Python updates (uv ecosystem) for `pyproject.toml`, `requirements-ci.in` and the hash-pinned `requirements-ci.txt`. `requirements-ci.txt` is now compiled from `requirements-ci.in` so Dependabot can recompile it with hashes. - Demo: fictional Oracle Java SE rows for CVE-2026-114938 (Java4Shell) with a recorded NVD document (status Received, official Oracle CVSS 3.1 8.1, CNA affected versions, no invented CPE ranges or EPSS). The CVE is not in the demo KEV catalog. `from_nvd_cve` now reads NVD `affected` / `affectedData` when present; CPE `configurations` still win when both exist. - Dependencies: runtime, dev and build requirements in `pyproject.toml` are pinned to exact versions (`==`). CI installs from the hash-pinned `requirements-ci.txt` (`pip install --require-hashes`), then the project itself with `--no-deps`. Prompted by the malicious `agent-framework` 1.26.1/1.26.2 releases on PyPI ([MAL-2026-20101](https://osv.dev/vulnerability/MAL-2026-20101)); none of these projects depend on it. diff --git a/requirements-ci.in b/requirements-ci.in index 8a06c67..f33bb6c 100644 --- a/requirements-ci.in +++ b/requirements-ci.in @@ -1,4 +1,5 @@ -# Direct CI dependencies, same exact pins as pyproject.toml (runtime + dev extra). +# Direct CI dependencies, same exact pins as pyproject.toml (runtime, dev extra and the setuptools build backend). # requirements-ci.txt is compiled from this file with uv; Dependabot (uv ecosystem) updates both. PyYAML==6.0.3 pytest==9.2.0 +setuptools==84.2.1 diff --git a/requirements-ci.txt b/requirements-ci.txt index 4817774..93af25b 100644 --- a/requirements-ci.txt +++ b/requirements-ci.txt @@ -99,3 +99,7 @@ pyyaml==6.0.3 \ --hash=sha256:fa160448684b4e94d80416c0fa4aac48967a969efe22931448d853ada8baf926 \ --hash=sha256:fc09d0aa354569bc501d4e787133afc08552722d3ab34836a80547331bb5d4a0 # via -r requirements-ci.in +setuptools==84.2.1 \ + --hash=sha256:3ff8b3b5492a0aa66960f4419365a86b84e013070d4313e4d4a6894f5d64d6bc \ + --hash=sha256:ca140b45d5325a9478f880e351484f62fef15f336462e449ca0c03c873d589c2 + # via -r requirements-ci.in