Kevin McCarthy
9b59e02374
Fix compat with requests 2.16 (unvendored urllib3)
...
The new version of requests un-vendors urllib3, with a nifty hack:
https://github.com/kennethreitz/requests/blob/master/requests/packages.py
Unfortunately messing directly with sys.modules causes some weird
behavior that I don't entirely understand. Avoiding the extra import to
requests.packages as part of VCR's initialization seems to sidestep the
issue.
Closes #311
2017-05-27 15:40:38 -10:00
Kevin McCarthy
ba290a32d2
Add new version of urllib3 to tox
...
Also remove ancient version in the interest of test speed
2017-05-27 15:38:42 -10:00
Kevin McCarthy
420c2ceb6f
add new requests version
2017-05-27 10:57:41 -10:00
Kevin McCarthy
ec786f2fd9
pass all args to runtests
2017-05-27 10:57:25 -10:00
Thomas Grainger
0c4020df7d
version bump 1.11.0
v1.11.0
2017-05-02 11:36:16 +01:00
Thomas Grainger
204cb8f2ac
Merge pull request #303 from graingert/support-3.6
...
support 3.6
2017-05-02 11:17:39 +01:00
Thomas Grainger
0e421b5327
Merge pull request #301 from graingert/handle-pytest-asyncio-coroutines
...
handle pytest-asyncio async def coroutines
2017-05-02 11:17:06 +01:00
Thomas Grainger
dc2dc306d5
pytest-httpbin doesn't support chunked requests on Python 3.6
2017-04-04 11:30:16 +01:00
Thomas Grainger
1092bcd1a1
add requests 2.13
2017-04-04 10:32:17 +01:00
Thomas Grainger
73dbc6f8cb
add missing _get_content_length static method
...
also add _is_textIO
2017-04-04 10:32:17 +01:00
Thomas Grainger
3e9fb10c11
Merge remote-tracking branch 'derekbekoe/fix-vcrconnection-3.6' into support-3.6
2017-04-04 10:32:17 +01:00
Thomas Grainger
3588ed6341
support 3.6
2017-04-04 10:32:16 +01:00
Kevin McCarthy
26326c3ef0
Merge pull request #305 from graingert/add-cache-to-gitignore
...
add .cache to gitignore
2017-04-03 06:40:21 -10:00
Thomas Grainger
7514d94262
handle pytest-asyncio async def coroutines
2017-04-03 15:49:49 +01:00
Thomas Grainger
1df577f0fc
add .cache to gitignore
2017-04-03 15:45:42 +01:00
Kevin McCarthy
70f4707063
Merge pull request #302 from AartGoossens/feature/before_record_docs_fix
...
Improves docs for before_record_request
2017-03-16 08:55:34 -10:00
Aart Goossens
521146d64e
Improves docs for before_record_request
2017-03-16 19:25:16 +01:00
Derek Bekoe
091b402594
Revert "Add Python 3.6 to CI"
...
This reverts commit 24b617a427 .
2017-01-24 16:26:02 -08:00
Derek Bekoe
24b617a427
Add Python 3.6 to CI
2017-01-24 13:57:37 -08:00
Derek Bekoe
97473bb8d8
Correctly patch HTTPConnection.request in Python 3.6
...
Fixes https://github.com/kevin1024/vcrpy/issues/293
2017-01-23 14:54:26 -08:00
Kevin McCarthy
ed35643c3e
Merge pull request #292 from j-funk/master
...
Allow injection of persistence methods
2017-01-22 08:29:52 -06:00
Julien Funk
2fb3b52c7e
add custom persister docs
2017-01-19 13:10:27 -05:00
Julien Funk
9e70993d57
substiture IOError with more appropriate ValueError
2017-01-19 13:10:08 -05:00
Julien Funk
6887e2cff9
remove unused imports
2017-01-15 15:04:20 -08:00
Julien Funk
ba38680402
Merge pull request #1 from IvanMalison/persistence_methods
...
Fix patch of FliesystemPersister.load_cassette
2017-01-14 15:59:13 -05:00
Ivan Malison
06b00837fc
Fix patch of FliesystemPersister.load_cassette
2017-01-13 15:29:45 -08:00
Julien Funk
a033bc729c
refactored, 1 failing test
2017-01-13 16:09:42 -05:00
Julien Funk
6f8486e0a2
allow injection of persistence methods
2017-01-12 16:41:26 -05:00
Kevin McCarthy
53c55b13e7
version bump
v1.10.5
2017-01-11 17:54:16 -10:00
MAA
365e7cb112
Removed duplicate mock triple.
2017-01-11 17:54:15 -10:00
Charly
e5d6327de9
added a fix to httplib2
2017-01-11 17:54:15 -10:00
Luiz Menezes
d86ffe7130
Add missing requirement yarl for python >= 3.4
2017-01-06 10:43:40 -02:00
Kevin McCarthy
d9fd563812
bump version
2016-12-15 08:47:01 -10:00
Kevin McCarthy
9e548718e5
fix whitespace
2016-12-15 08:47:01 -10:00
Kevin McCarthy
83720793fb
Merge pull request #280 from madninja/fix_aiohttp
...
Fix up to support aiohttp 1.x
2016-11-08 10:15:07 -10:00
Marc Nijdam
188326b10e
Fix flake errors
2016-11-07 12:03:21 -08:00
Marc Nijdam
ff90190660
Fix up to support aiohttp 1.x
2016-11-07 10:07:08 -08:00
Kevin McCarthy
1d9f8b5f7c
bump version to 1.10.3
v1.10.3
2016-10-02 12:15:12 -10:00
Kevin McCarthy
2454aa2eb0
Merge pull request #278 from kevin1024/empty_response_body
...
Empty response body
2016-10-02 12:10:04 -10:00
Kevin McCarthy
df5f6089af
Merge pull request #279 from kevin1024/fix_nonetype_encode_exception
...
Fix nonetype encode exception
2016-10-02 12:09:55 -10:00
Kevin McCarthy
5738547288
Merge pull request #277 from kevin1024/fix_asyncio
...
Fix asyncio
2016-10-02 12:09:48 -10:00
Kevin McCarthy
8274b660c6
fix flake8 failure
2016-10-02 12:08:02 -10:00
Gregory Roussac
a8f1a65d62
test serializers.compat.convert_to_bytes()
2016-10-02 12:07:37 -10:00
Gregory Roussac
9c275dd86a
VCR AttributeError: 'NoneType' object has no attribute 'encode'
...
Hi,
Using an old fork but may be usefull.
I think checking the string is required like on line 47.
Best regards
2016-10-02 12:07:37 -10:00
Kevin McCarthy
1fbd65a702
add test from @mbachry
2016-10-02 10:24:38 -10:00
Janez Troha
31b0e825b5
Handle empty body
2016-10-02 10:24:38 -10:00
Luiz Menezes
973d8339b3
add tests for aiohttp params fix
2016-10-02 10:22:29 -10:00
Alexander Novikov
c8db6cb731
Fix missing query string while params are passed in inside params argument
2016-10-02 10:22:29 -10:00
Kevin McCarthy
ecbc192fc4
bump version
2016-09-13 15:49:18 -10:00
Kevin McCarthy
76d365314a
bump version
v1.10.1
2016-09-11 18:02:37 -10:00