fix: update vulnerable dependencies - #2793
Merged
Merged
Conversation
- lxml: ^5.1.0 -> ^6.1.0 (CVE fix, earliest fixed version 6.1.0) - pytest: ^8.4.2 -> ^9.0.3 (CVE fix, earliest fixed version 9.0.3) - werkzeug: add >=3.1.6 (CVE fix, earliest fixed version 3.1.6) - openapi-core: ^0.19.5 -> ^0.20.0 (unblock werkzeug update) - pytest-nhsd-apim: ^5.0.6 -> ^6.0.0 (unblock lxml and pytest updates)
EdwardWills-nhs
requested review from
csaw-nhs,
daniel-mcadam-nhs,
georgeCraftReferrals,
kevinmason-nhs and
petkopetkov2
as code owners
May 29, 2026 14:42
There was a problem hiding this comment.
Pull request overview
Routine dependency bump to address known CVEs in lxml, pytest, and werkzeug, with two transitive upgrades (openapi-core, pytest-nhsd-apim) required to unblock those updates. Changes are limited to pyproject.toml and the corresponding poetry.lock.
Changes:
- Bump
lxmlto^6.1.0andpytestto^9.0.3for CVE remediation. - Add an explicit
werkzeug >=3.1.6constraint and bumpopenapi-coreto^0.20.0to permit it. - Bump
pytest-nhsd-apimto^6.0.0to satisfy the newlxmlandpytestranges.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| pyproject.toml | Updates dependency version constraints for the CVE fixes and unblockers. |
| poetry.lock | Regenerated lock file reflecting the new resolved versions. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add any other relevant notes or explanations here. Remove this line if you have nothing to add.
Reviews Required
Review Checklist
ℹ️ This section is to be filled in by the reviewer.