Skip to content

Conversation

@jamesbraza
Copy link
Collaborator

Working around kevin1024/vcrpy#962

@jamesbraza jamesbraza self-assigned this Dec 18, 2025
@jamesbraza jamesbraza added the bug Something isn't working label Dec 18, 2025
Copilot AI review requested due to automatic review settings December 18, 2025 00:52
@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Dec 18, 2025
@dosubot
Copy link

dosubot bot commented Dec 18, 2025

Related Documentation

Checked 1 published document(s) in 1 knowledge base(s). No updates required.

How did I do? Any feedback?  Join Discord

Copy link
Collaborator

@maykcaldas maykcaldas left a comment

Choose a reason for hiding this comment

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

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Dec 18, 2025
Copy link
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 httpx-aiohttp package from version 0.1.9 to 0.1.12 to resolve compatibility issues with vcrpy. The update includes a new patch in the test configuration to handle raw headers in aiohttp responses.

  • Updates httpx-aiohttp dependency to version 0.1.12
  • Adds version constraint >=0.1.11 for the dev extra to ensure the raw headers fix is present
  • Implements a workaround patch for vcrpy's aiohttp stub to properly set _raw_headers on mock responses

Reviewed changes

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

File Description
pyproject.toml Adds version constraint >=0.1.11 for httpx-aiohttp in dev dependencies with comment explaining the raw headers fix
uv.lock Updates httpx-aiohttp from 0.1.9 to 0.1.12, adds the package to dev optional dependencies, and updates metadata
tests/conftest.py Adds import for vcr.stubs.aiohttp_stubs and implements a patch function that ensures _raw_headers is properly set on mock responses when _headers exists

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jamesbraza jamesbraza merged commit 148e74a into main Dec 18, 2025
13 checks passed
@jamesbraza jamesbraza deleted the newer-httpx-aiohttp branch December 18, 2025 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working lgtm This PR has been approved by a maintainer size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants