Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
7340a02
ci: use uv for test dependency installation + add timeout safety net
RonShakutai Jul 12, 2026
a4a9d91
ci: run tests via uv run inside the uv-managed venv
RonShakutai Jul 12, 2026
abdff65
ci: install uv via pip instead of the setup-uv action
RonShakutai Jul 12, 2026
7d085b6
ci: add pip to the uv venv for spaCy model downloads
RonShakutai Jul 12, 2026
04d3d6a
ci: pre-install tomli for the wheel build on Python < 3.11
RonShakutai Jul 12, 2026
470db8a
ci: build service Docker images with uv to fix the E2E resolve hang
RonShakutai Jul 12, 2026
ed64f1b
fix: run gunicorn directly in container entrypoints (drop poetry run)
RonShakutai Jul 12, 2026
2c95fd8
ci: keep uv's wheel cache on the /mnt ephemeral disk
RonShakutai Jul 12, 2026
078eff5
docs: broaden CHANGELOG/CI comment to cover the Docker image changes
RonShakutai Jul 12, 2026
157082d
build: adopt PEP 735 dependency groups and commit uv.lock files
RonShakutai Jul 12, 2026
27907e2
ci: install from the committed uv.lock in CI and Docker builds
RonShakutai Jul 12, 2026
c00abf0
ci: allow pre-existing transformers advisories in dependency review
RonShakutai Jul 12, 2026
448fa13
docs: require uv.lock review and commits alongside pyproject changes
RonShakutai Jul 12, 2026
2897687
ci: reference UV_CACHE_DIR in cache path; align dev-docs to uv
RonShakutai Jul 12, 2026
1bae43e
Potential fix for pull request finding
RonShakutai Jul 12, 2026
226f81a
fix(structured): bump transitive cryptography to patched >=48.0.1
RonShakutai Jul 12, 2026
206ac36
ci: ignore unfixable transformers advisories in Trivy scans
RonShakutai Jul 12, 2026
078bdb4
ci: shorten workflow comments; move transformers allow-ghsas out
RonShakutai Jul 13, 2026
afe023a
Merge remote-tracking branch 'origin/ronshakutai/fix-ci-poetry-timeou…
RonShakutai Jul 13, 2026
11868a2
ci: allow-list unfixable transformers advisories in dependency review
RonShakutai Jul 13, 2026
bbb5545
Merge branch 'main' of https://github.com/data-privacy-stack/presidio…
RonShakutai Jul 13, 2026
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
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,9 @@ jobs:
with:
fail-on-severity: low
allow-licenses: MIT, Apache-2.0, BSD-3-Clause, 0BSD, 0BSD AND Apache-2.0 AND BSD-3-Clause AND MIT
# transformers advisories that cannot be remediated by a bump
# (spacy-huggingface-pipelines caps transformers <5); see .trivyignore.
allow-ghsas: GHSA-29pf-2h5f-8g72, GHSA-69w3-r845-3855
comment-summary-in-pr: on-failure

test:
Expand Down
17 changes: 17 additions & 0 deletions .trivyignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Trivy vulnerability ignore list.
#
# These entries suppress advisories that cannot currently be remediated by a
# version bump because a required dependency caps the vulnerable package below
# the first patched release. They are tracked for a proper fix (removing/replacing
# the capping dependency) in a follow-up PR and should be revisited then.
#
# transformers < 5.x (analyzer, optional `transformers` extra):
# The `spacy-huggingface-pipelines` package (all releases 0.0.1-0.0.4) pins
# `transformers <5.0.0`, while the fixes below require transformers
# >=5.0.0rc3 / >=5.3.0. No version satisfies both, so these are accepted until
# spacy-huggingface-pipelines is dropped or replaced.
# (Also allow-listed for the dependency-review job via allow-ghsas in ci.yml.)
CVE-2026-4372 # transformers RCE — fixed in 5.3.0
GHSA-29pf-2h5f-8g72
CVE-2026-1839 # transformers arbitrary code execution via malicious checkpoint — fixed in 5.0.0rc3
GHSA-69w3-r845-3855
6 changes: 6 additions & 0 deletions presidio-structured/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,9 @@ dev = [
[tool.coverage.run]
relative_files = true
source = ["."]

[tool.uv]
# cryptography is pulled in transitively (via presidio-anonymizer). Constrain it
# to the patched line to avoid GHSA-537c-gmf6-5ccf (vulnerable OpenSSL bundled in
# older cryptography wheels) without adding it as a direct dependency.
constraint-dependencies = ["cryptography>=48.0.1"]
Loading
Loading