Skip to content

Bump requests to ~=2.33.0#6

Merged
marc-queiroz merged 1 commit into
masterfrom
marc-queiroz/cve/granulate-utils-requests-2.33.0
May 12, 2026
Merged

Bump requests to ~=2.33.0#6
marc-queiroz merged 1 commit into
masterfrom
marc-queiroz/cve/granulate-utils-requests-2.33.0

Conversation

@marc-queiroz
Copy link
Copy Markdown

Summary

Bumps requests from ~=2.32.4 to ~=2.33.0 on this fork's master,
matching what intel/granulate-utils@master already pins.

Why

  • intel/granulate-utils@master has shipped requests~=2.33.0 for a
    while; this fork has been carrying the older ~=2.32.4 and is now
    behind on this pin.
  • requests==2.33.0 ships the upstream fix for CVE-2024-47081
    (.netrc credential leak via crafted URLs).
  • Downstream consumers (e.g. pinterest/gprofiler) want to pin
    requests==2.33.0 at the top level. They currently can't, because
    this package's ~=2.32.4 specifier excludes the 2.33.x line and
    pip reports a resolver conflict.

Scope

  • requirements.txt only. One line, version specifier change.
  • No code changes; the requests 2.32 → 2.33 jump is API-compatible at
    every call site used here (Sender, metadata.cloud, test stubs).

Test plan

  • pip install -r requirements.txt resolves cleanly in a fresh venv.
  • Existing pytest tests collection still passes (no behavior change).

Downstream

Once this lands on master, a follow-up PR in pinterest/gprofiler will
advance the submodule pointer to the merge commit produced here. That
unblocks pinterest/gprofiler#70 (currently Draft due to the resolver
conflict).

Aligns granulate-utils with the runtime requests pin used by consumers,
unblocking environments that need to install both this package and a
top-level project pinning requests==2.33.0.

requests 2.33.0 carries the upstream fixes for CVE-2024-47081
(.netrc credential leak via malicious URLs).

Made-with: Cursor
Copy link
Copy Markdown

@artursarlo artursarlo left a comment

Choose a reason for hiding this comment

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

LGTM. Tested locally with local backend build. Working as expected. Used pinterest/gprofiler#70 alongside this one to validate.

@marc-queiroz marc-queiroz merged commit 094d411 into master May 12, 2026
4 of 9 checks passed
marc-queiroz added a commit to pinterest/gprofiler that referenced this pull request May 13, 2026
Pins requests==2.33.0 (was ==2.32.4) to pick up the upstream fix for
CVE-2024-47081 (.netrc credential leak via crafted URLs).

This PR is self-contained: a fresh `pip install -r requirements.txt`
resolves cleanly after merge.

Changes:

- requirements.txt: requests==2.32.4 -> 2.33.0

- granulate-utils submodule pointer: d57bcd0 -> 094d4116
  Advances to pinterest/granulate-utils@master following
  pinterest/granulate-utils#6, which bumped granulate-utils to
  `requests~=2.33.0`. Without this advance the submodule would
  continue to pin `~=2.32.4` and pip would report a resolver
  conflict against the new top-level pin.

- .gitmodules: corrects the URL to pinterest/granulate-utils.
  The pinned commit (and every Pinterest-only commit since this
  fork diverged from intel) lives on pinterest/granulate-utils,
  not intel. Before this fix, a fresh
  `git clone --recurse-submodules` of master could not check out
  the submodule, since the pinned commit isn't reachable from
  intel's master.

Co-authored-by: Cursor <[email protected]>
marc-queiroz added a commit to pinterest/gprofiler that referenced this pull request May 13, 2026
Pins requests==2.33.0 (was ==2.32.4) to pick up the upstream fix for
CVE-2024-47081 (.netrc credential leak via crafted URLs).

This PR is self-contained: a fresh `pip install -r requirements.txt`
resolves cleanly after merge.

Changes:

- requirements.txt: requests==2.32.4 -> 2.33.0

- granulate-utils submodule pointer: d57bcd0 -> 094d4116
  Advances to pinterest/granulate-utils@master following
  pinterest/granulate-utils#6, which bumped granulate-utils to
  `requests~=2.33.0`. Without this advance the submodule would
  continue to pin `~=2.32.4` and pip would report a resolver
  conflict against the new top-level pin.

- .gitmodules: corrects the URL to pinterest/granulate-utils.
  The pinned commit (and every Pinterest-only commit since this
  fork diverged from intel) lives on pinterest/granulate-utils,
  not intel. Before this fix, a fresh
  `git clone --recurse-submodules` of master could not check out
  the submodule, since the pinned commit isn't reachable from
  intel's master.

Co-authored-by: Cursor <[email protected]>
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.

2 participants