VCRPy 2.0.0 doesn't work on 3.4 anymore
See original GitHub issueMy Travis job is now failing on 3.4:
import vcr
../../../virtualenv/python3.4.6/lib/python3.4/site-packages/vcr/__init__.py:2: in <module>
from .config import VCR
../../../virtualenv/python3.4.6/lib/python3.4/site-packages/vcr/config.py:10: in <module>
from .cassette import Cassette
../../../virtualenv/python3.4.6/lib/python3.4/site-packages/vcr/cassette.py:19: in <module>
from ._handle_coroutine import handle_coroutine
E File "/home/travis/virtualenv/python3.4.6/lib/python3.4/site-packages/vcr/_handle_coroutine.py", line 1
E async def handle_coroutine(vcr, fn): # noqa: E999
E ^
E SyntaxError: invalid syntax
I did nothing else than installing the 2.0.0 and starting the same job as usual (requests based recording).
Does VCRPy 2.0.0 still supports 3.4? The 2.7 job works as expected, so my guess is there is condition a little loose on loading async code.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Changelog — vcrpy 4.2.1 documentation - Read the Docs
Fix bug when using vcrpy with python 3.4. 2.0.0. Support python 3.7 (fix ... doesn't support python it anymore); Fix aiohttp stub to...
Read more >vcrpy 1.7.3 - PyPI
VCR.py simplifies and speeds up tests that make HTTP requests. The first time you run code that is inside a VCR.py context manager...
Read more >flixel (4.6.1) - Haxelib
fixed rendering with Haxe 3.4.0 and OpenFL Next ... toggleKeys and FlxG.vcr.cancelKeys not working on native (470c8e8); FlxMouse : fixed FlxButton presses ...
Read more >vcrpy record cassettes doesn't record in a test using test_client ...
But when I run the test the cassette was not generated. The thing is that if I change client.post by requests.post the response...
Read more >ESP-AT User Guide - Login
It makes an ESP board work as a slave, and an MCU as a host. ... v2.2.0.0 ESP8266-IDF-AT_V2.2.0.0.zip (Recommended).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lamenezes I don’t use aiohttp at all, just requests. If you look closely, this stacktrace comes from
import vcr
, so there is nothing I can do.If VCRPy as a whole is not compatible with 3.4 I have no trouble with that, but then make it clear in ChangeLog: VCRPy does not support 3.4 anymore. And on PyPi as well (3.4 descriptor is still there).
@lamenezes Sure, PR https://github.com/kevin1024/vcrpy/pull/409 is up. 😄