Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed missing version_string attribute when used with urllib3>=2.3.0 #889

Conversation

exslim
Copy link
Contributor

@exslim exslim commented Dec 23, 2024

urllib3 in v2.3.0 introduced attribute version_string (https://github.com/urllib3/urllib3/pull/3316/files). This attribute is missing in VCRHTTPResponse which causes errors like AttributeError: 'VCRHTTPResponse' object has no attribute 'version_string'

This fixes #888

urllib3 in v2.3.0 introduced attribute `version_string` (https://github.com/urllib3/urllib3/pull/3316/files). This attribute  is missing in `VCRHTTPResponse` which causes errors like AttributeError: 'VCRHTTPResponse' object has no attribute 'version_string'

This fixes kevin1024#888
@jairhenrique jairhenrique merged commit 48d0a2e into kevin1024:master Dec 28, 2024
2 of 13 checks passed
@mihalt
Copy link

mihalt commented Dec 29, 2024

When will it be part of official build in pypi?

@kevin1024
Copy link
Owner

Once I find the time to make a release :)

@jerry-reevo
Copy link

@kevin1024 Is there anything contributors can do to help get this released sooner?

@kevin1024
Copy link
Owner

OK new release just dropped that should resolve this issue. Thanks everyone for your patience and have a happy new year!

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.

missing request.version_string attribute with urllib3 == 2.3.0
5 participants