Skip to content

Raise Pillow minimum to 12.3.0#2188

Merged
RonShakutai merged 2 commits into
mainfrom
fix-recurring-dependency-alert
Jul 22, 2026
Merged

Raise Pillow minimum to 12.3.0#2188
RonShakutai merged 2 commits into
mainfrom
fix-recurring-dependency-alert

Conversation

@SharonHart

Copy link
Copy Markdown
Contributor

Summary

  • require Pillow 12.3.0 or newer for presidio-image-redactor
  • synchronize the published dependency constraint in uv.lock

Security impact

Pillow is the most recurring dependency in the current Dependabot backlog, accounting for 13 of 27 open alerts (10 high and 3 medium). All 13 advisories are patched in Pillow 12.3.0.

Validation

  • poetry -C presidio-image-redactor check --strict
  • locked dependency resolution for Python 3.10 and 3.14 with uv 0.11.6

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 2e86159d-80a9-4926-9378-c5dabe07a39f
Copilot AI review requested due to automatic review settings July 22, 2026 08:45
@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (presidio-cli)

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  presidio-cli/presidio_cli
  cli.py
Project Total  

This report was generated by python-coverage-comment-action

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR raises the minimum supported Pillow version for presidio-image-redactor to 12.3.0 to address multiple security advisories, and aligns the generated lockfile metadata with the published dependency constraint.

Changes:

  • Bump presidio-image-redactor runtime dependency constraint to pillow (>=12.3.0,<13.0.0) in pyproject.toml.
  • Update presidio-image-redactor/uv.lock metadata to reflect the new Pillow minimum while keeping the lock resolved to Pillow 12.3.0.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
presidio-image-redactor/pyproject.toml Raises the published Pillow minimum version constraint to 12.3.0 for the package.
presidio-image-redactor/uv.lock Synchronizes lockfile metadata with the new Pillow constraint (and lock already resolves Pillow 12.3.0).

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (presidio-anonymizer)

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  presidio-anonymizer/presidio_anonymizer
  __init__.py
  anonymizer_engine.py
  presidio-anonymizer/presidio_anonymizer/operators
  custom.py
Project Total  

This report was generated by python-coverage-comment-action

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (presidio-structured)

This PR does not seem to contain any modification to coverable code.

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (presidio-image-redactor)

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  presidio-image-redactor/presidio_image_redactor
  dicom_image_pii_verify_engine.py
  document_intelligence_ocr.py
  image_analyzer_engine.py
Project Total  

This report was generated by python-coverage-comment-action

@github-actions

Copy link
Copy Markdown
Contributor

Coverage report (presidio-analyzer)

Click to see where and how coverage changed

FileStatementsMissingCoverageCoverage
(new stmts)
Lines missing
  presidio-analyzer/presidio_analyzer
  analyzer_engine.py
  entity_recognizer.py
  presidio-analyzer/presidio_analyzer/context_aware_enhancers
  lemma_context_aware_enhancer.py
  presidio-analyzer/presidio_analyzer/input_validation
  schemas.py
  yaml_recognizer_models.py
  presidio-analyzer/presidio_analyzer/nlp_engine
  __init__.py
  nlp_engine_provider.py
  presidio-analyzer/presidio_analyzer/predefined_recognizers
  __init__.py
  presidio-analyzer/presidio_analyzer/predefined_recognizers/country_specific
  __init__.py
  presidio-analyzer/presidio_analyzer/predefined_recognizers/country_specific/finland
  fi_personal_identity_code_recognizer.py
  presidio-analyzer/presidio_analyzer/predefined_recognizers/country_specific/germany
  de_bsnr_recognizer.py
  de_id_card_recognizer.py
  de_lanr_recognizer.py
  de_passport_recognizer.py
  de_social_security_recognizer.py
  de_tax_id_recognizer.py
  de_vat_id_recognizer.py
  presidio-analyzer/presidio_analyzer/predefined_recognizers/country_specific/india
  in_vehicle_registration_recognizer.py
  presidio-analyzer/presidio_analyzer/predefined_recognizers/country_specific/poland
  pl_pesel_recognizer.py
  presidio-analyzer/presidio_analyzer/predefined_recognizers/country_specific/singapore
  sg_uen_recognizer.py
  presidio-analyzer/presidio_analyzer/predefined_recognizers/country_specific/us
  us_ssn_recognizer.py
  presidio-analyzer/presidio_analyzer/predefined_recognizers/generic
  phone_recognizer.py
  presidio-analyzer/presidio_analyzer/recognizer_registry
  recognizer_registry.py
  recognizer_registry_provider.py
  recognizers_loader_utils.py
Project Total  

The report is truncated to 25 files out of 72. To see the full report, please visit the workflow summary page.

This report was generated by python-coverage-comment-action

@RonShakutai
RonShakutai merged commit 88ebae3 into main Jul 22, 2026
38 checks passed
@RonShakutai
RonShakutai deleted the fix-recurring-dependency-alert branch July 22, 2026 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants