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

Backport patch to fix test failures with Python 3.12: AttributeError: type object 'VCRHTTPConnection[…]' has no attribute 'debuglevel' #781

Closed
evschlobnik opened this issue Nov 17, 2023 · 1 comment

Comments

@evschlobnik
Copy link

This issue was found and supposedly fixed here https://packages.fedoraproject.org/pkgs/python-vcrpy/python3-vcrpy/fedora-39.html on 2023-07-04

We have automated testing on 3.8, 3.9, 3.10, and 3.11.
The problem only occurs when we attend testing for python 3.12. The complete error message I'm getting is
"AttributeError: type object 'VCRHTTPSConnectiontests/fixtures/vcr_cassettes/build_radar_test/test_add_radar_to_cache.yaml' has no attribute 'debuglevel'. Did you mean: 'set_debuglevel'?"

@hartwork
Copy link
Collaborator

hartwork commented Dec 8, 2023

@evschlobnik this seems to be referring to patch https://src.fedoraproject.org/rpms/python-vcrpy/blob/rawhide/f/backport-patch-to-fix-AttributeError-type-object-VCR.patch of which we have a bigger version from pull request #754 merged into master as commit 69621c6. I'm closing this as "fixed on master", happy to re-open as needed.

CC #707

@hartwork hartwork closed this as completed Dec 8, 2023
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

No branches or pull requests

2 participants