Skip to content

Add Requests version constraint to image build#768

Merged
tammy-baylis-swi merged 1 commit into
mainfrom
NH-137758-requests-image-constraint
May 26, 2026
Merged

Add Requests version constraint to image build#768
tammy-baylis-swi merged 1 commit into
mainfrom
NH-137758-requests-image-constraint

Conversation

@tammy-baylis-swi
Copy link
Copy Markdown
Contributor

Adds a requests version constraint to image build, to work around Insecure Temporary File vulnerability and upstream instrumentor's too-open project.optional-dependencies.

Copilot AI review requested due to automatic review settings May 15, 2026 17:50
@tammy-baylis-swi tammy-baylis-swi requested review from a team as code owners May 15, 2026 17:50
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

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 updates the container image dependency set by adding an explicit requests version constraint in image/requirements.txt, intended to avoid pulling vulnerable/undesired requests versions due to overly broad upstream optional dependency ranges.

Changes:

  • Add requests >= 2.33.0, < 3.0 to the image build requirements to constrain the resolved requests version.

Copy link
Copy Markdown
Contributor

@cheempz cheempz left a comment

Choose a reason for hiding this comment

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

LGTM

@tammy-baylis-swi tammy-baylis-swi merged commit 6de4c6f into main May 26, 2026
73 checks passed
@tammy-baylis-swi tammy-baylis-swi deleted the NH-137758-requests-image-constraint branch May 26, 2026 17:04
Copilot AI mentioned this pull request May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants