]>
khamidou — GitHub mirrors - vcrpy.git/log
Kevin McCarthy [Sun, 28 May 2017 01:11:06 +0000 (15:11 -1000)]
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
Kevin McCarthy [Sun, 28 May 2017 01:00:47 +0000 (15:00 -1000)]
Add new version of urllib3 to tox
Also remove ancient version in the interest of test speed
Kevin McCarthy [Sat, 27 May 2017 20:57:31 +0000 (10:57 -1000)]
add new requests version
Kevin McCarthy [Sat, 27 May 2017 20:57:25 +0000 (10:57 -1000)]
pass all args to runtests
Thomas Grainger [Tue, 2 May 2017 10:36:12 +0000 (11:36 +0100)]
version bump 1.11.0
Thomas Grainger [Tue, 2 May 2017 10:17:39 +0000 (11:17 +0100)]
Merge pull request #303 from graingert/support-3.6
support 3.6
Thomas Grainger [Tue, 2 May 2017 10:17:06 +0000 (11:17 +0100)]
Merge pull request #301 from graingert/handle-pytest-asyncio-coroutines
handle pytest-asyncio async def coroutines
Thomas Grainger [Tue, 4 Apr 2017 09:31:44 +0000 (10:31 +0100)]
pytest-httpbin doesn't support chunked requests on Python 3.6
Thomas Grainger [Tue, 4 Apr 2017 09:25:43 +0000 (10:25 +0100)]
add requests 2.13
Thomas Grainger [Mon, 3 Apr 2017 14:43:20 +0000 (15:43 +0100)]
add missing _get_content_length static method
also add _is_textIO
Thomas Grainger [Mon, 3 Apr 2017 14:33:41 +0000 (15:33 +0100)]
Merge remote-tracking branch 'derekbekoe/fix-vcrconnection-3.6' into support-3.6
Thomas Grainger [Wed, 22 Mar 2017 17:05:34 +0000 (17:05 +0000)]
support 3.6
Kevin McCarthy [Mon, 3 Apr 2017 16:40:21 +0000 (06:40 -1000)]
Merge pull request #305 from graingert/add-cache-to-gitignore
add .cache to gitignore
Thomas Grainger [Tue, 14 Mar 2017 13:56:17 +0000 (13:56 +0000)]
handle pytest-asyncio async def coroutines
Thomas Grainger [Mon, 3 Apr 2017 14:45:21 +0000 (15:45 +0100)]
add .cache to gitignore
Kevin McCarthy [Thu, 16 Mar 2017 18:55:34 +0000 (08:55 -1000)]
Merge pull request #302 from AartGoossens/feature/before_record_docs_fix
Improves docs for before_record_request
Aart Goossens [Thu, 16 Mar 2017 18:25:16 +0000 (19:25 +0100)]
Improves docs for before_record_request
Derek Bekoe [Wed, 25 Jan 2017 00:26:02 +0000 (16:26 -0800)]
Revert "Add Python 3.6 to CI"
This reverts commit
24b617a427e174aedb0acca6690bb163f51baf2c .
Derek Bekoe [Tue, 24 Jan 2017 21:57:37 +0000 (13:57 -0800)]
Add Python 3.6 to CI
Derek Bekoe [Mon, 23 Jan 2017 22:54:26 +0000 (14:54 -0800)]
Correctly patch HTTPConnection.request in Python 3.6
Fixes https://github.com/kevin1024/vcrpy/issues/293
Kevin McCarthy [Sun, 22 Jan 2017 14:29:52 +0000 (08:29 -0600)]
Merge pull request #292 from j-funk/master
Allow injection of persistence methods
Julien Funk [Thu, 19 Jan 2017 18:10:27 +0000 (13:10 -0500)]
add custom persister docs
Julien Funk [Thu, 19 Jan 2017 18:10:08 +0000 (13:10 -0500)]
substiture IOError with more appropriate ValueError
Julien Funk [Sun, 15 Jan 2017 23:04:20 +0000 (15:04 -0800)]
remove unused imports
Julien Funk [Sat, 14 Jan 2017 20:59:13 +0000 (15:59 -0500)]
Merge pull request #1 from IvanMalison/persistence_methods
Fix patch of FliesystemPersister.load_cassette
Ivan Malison [Fri, 13 Jan 2017 23:29:45 +0000 (15:29 -0800)]
Fix patch of FliesystemPersister.load_cassette
Julien Funk [Fri, 13 Jan 2017 21:09:42 +0000 (16:09 -0500)]
refactored, 1 failing test
Julien Funk [Thu, 12 Jan 2017 21:41:26 +0000 (16:41 -0500)]
allow injection of persistence methods
Kevin McCarthy [Thu, 12 Jan 2017 03:51:23 +0000 (17:51 -1000)]
version bump
MAA [Sun, 18 Dec 2016 07:16:17 +0000 (10:16 +0300)]
Removed duplicate mock triple.
Charly [Wed, 4 Jan 2017 22:55:11 +0000 (17:55 -0500)]
added a fix to httplib2
Luiz Menezes [Mon, 26 Dec 2016 11:03:46 +0000 (09:03 -0200)]
Add missing requirement yarl for python >= 3.4
Kevin McCarthy [Thu, 15 Dec 2016 18:41:34 +0000 (08:41 -1000)]
bump version
Kevin McCarthy [Thu, 15 Dec 2016 18:46:44 +0000 (08:46 -1000)]
fix whitespace
Kevin McCarthy [Tue, 8 Nov 2016 20:15:07 +0000 (10:15 -1000)]
Merge pull request #280 from madninja/fix_aiohttp
Fix up to support aiohttp 1.x
Marc Nijdam [Mon, 7 Nov 2016 20:03:21 +0000 (12:03 -0800)]
Fix flake errors
Marc Nijdam [Mon, 7 Nov 2016 18:07:08 +0000 (10:07 -0800)]
Fix up to support aiohttp 1.x
Kevin McCarthy [Sun, 2 Oct 2016 22:14:27 +0000 (12:14 -1000)]
bump version to 1.10.3
Kevin McCarthy [Sun, 2 Oct 2016 22:10:04 +0000 (12:10 -1000)]
Merge pull request #278 from kevin1024/empty_response_body
Empty response body
Kevin McCarthy [Sun, 2 Oct 2016 22:09:55 +0000 (12:09 -1000)]
Merge pull request #279 from kevin1024/fix_nonetype_encode_exception
Fix nonetype encode exception
Kevin McCarthy [Sun, 2 Oct 2016 22:09:48 +0000 (12:09 -1000)]
Merge pull request #277 from kevin1024/fix_asyncio
Fix asyncio
Kevin McCarthy [Sun, 2 Oct 2016 22:08:02 +0000 (12:08 -1000)]
fix flake8 failure
Gregory Roussac [Tue, 30 Aug 2016 13:06:03 +0000 (15:06 +0200)]
test serializers.compat.convert_to_bytes()
Gregory Roussac [Thu, 25 Aug 2016 15:23:12 +0000 (17:23 +0200)]
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
Kevin McCarthy [Sun, 2 Oct 2016 20:24:19 +0000 (10:24 -1000)]
add test from @mbachry
Janez Troha [Wed, 2 Dec 2015 11:22:57 +0000 (12:22 +0100)]
Handle empty body
Luiz Menezes [Sat, 1 Oct 2016 04:17:13 +0000 (01:17 -0300)]
add tests for aiohttp params fix
Alexander Novikov [Tue, 16 Aug 2016 12:06:35 +0000 (05:06 -0700)]
Fix missing query string while params are passed in inside params argument
Kevin McCarthy [Wed, 14 Sep 2016 01:49:18 +0000 (15:49 -1000)]
bump version
Kevin McCarthy [Mon, 12 Sep 2016 04:02:37 +0000 (18:02 -1000)]
bump version
Kevin McCarthy [Fri, 9 Sep 2016 21:54:08 +0000 (11:54 -1000)]
Merge pull request #272 from puiterwijk/fix-270
Move vcr.stubs.aiohttp_stub to a package
Patrick Uiterwijk [Fri, 9 Sep 2016 20:45:16 +0000 (20:45 +0000)]
Move vcr.stubs.aiohttp_stub to a package
find_packages(exclude=) only works with packages, not modules.
So this fixes install_lib for python2 by correctly excluding that module.
Fixes: #270
Fixes: #271
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Kevin McCarthy [Fri, 9 Sep 2016 16:38:10 +0000 (06:38 -1000)]
Merge pull request #271 from lamenezes/fix-py2-setup
Exclude aiohttp from python < 3 setup
Luiz Menezes [Thu, 1 Sep 2016 01:15:24 +0000 (22:15 -0300)]
Exclude aiohttp from python < 3 setup
Kevin McCarthy [Sun, 14 Aug 2016 20:41:25 +0000 (10:41 -1000)]
version bump to 1.10.0
Kevin McCarthy [Sun, 14 Aug 2016 20:37:14 +0000 (10:37 -1000)]
Merge pull request #266 from lamenezes/aiohttp-support
Aiohttp support
Luiz Menezes [Fri, 12 Aug 2016 16:50:29 +0000 (13:50 -0300)]
remove py26-flakes test
Luiz Menezes [Thu, 11 Aug 2016 22:44:21 +0000 (19:44 -0300)]
fix flake8: ignore yield from syntax errors
Luiz Menezes [Thu, 11 Aug 2016 11:32:47 +0000 (08:32 -0300)]
rename file
Luiz Menezes [Wed, 10 Aug 2016 21:24:13 +0000 (18:24 -0300)]
fix tox's flakes tests
Luiz Menezes [Wed, 10 Aug 2016 20:42:13 +0000 (17:42 -0300)]
fix test_aiohttp
Luiz Menezes [Wed, 10 Aug 2016 18:56:19 +0000 (15:56 -0300)]
fix tests
Luiz Menezes [Thu, 4 Aug 2016 21:12:28 +0000 (18:12 -0300)]
remove async/await from aiohttp_stubs to support python 3.4
Luiz Menezes [Thu, 4 Aug 2016 16:55:34 +0000 (13:55 -0300)]
fix .travis.yml
Luiz Menezes [Thu, 4 Aug 2016 16:44:11 +0000 (13:44 -0300)]
add aiohttp to tests config
Luiz Menezes [Thu, 4 Aug 2016 16:40:04 +0000 (13:40 -0300)]
add integration tests for aiohttp
Luiz Menezes [Thu, 4 Aug 2016 16:39:46 +0000 (13:39 -0300)]
fix aiohttp_stubs.vcr_request error message
Luiz Menezes [Thu, 4 Aug 2016 16:39:09 +0000 (13:39 -0300)]
fix aiohttp response closing
Luiz Menezes [Thu, 4 Aug 2016 16:37:51 +0000 (13:37 -0300)]
remove CIMultiDictProxy from aiohttp_stubs.vcr_request
Luiz Menezes [Thu, 4 Aug 2016 03:21:49 +0000 (00:21 -0300)]
add support for aiohttp
Kevin McCarthy [Sat, 16 Jul 2016 19:08:29 +0000 (09:08 -1000)]
Merge pull request #265 from adamchainz/readthedocs.io
Convert readthedocs links for their .org -> .io migration for hosted projects
Kevin McCarthy [Sat, 16 Jul 2016 18:58:07 +0000 (08:58 -1000)]
fix flaky test
Kevin McCarthy [Sat, 16 Jul 2016 18:07:51 +0000 (08:07 -1000)]
bump version to 1.9.0
Adam Chainz [Wed, 13 Jul 2016 22:24:04 +0000 (23:24 +0100)]
Convert readthedocs links for their .org -> .io migration for hosted projects
As per [their blog post of the 27th April](https://blog.readthedocs.com/securing-subdomains/) ‘Securing subdomains’:
> Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
Test Plan: Manually visited all the links I’ve modified.
Kevin McCarthy [Sun, 3 Jul 2016 21:58:01 +0000 (11:58 -1000)]
unzip bodies before comparing. Fixes #261
Kevin McCarthy [Sun, 3 Jul 2016 00:00:02 +0000 (14:00 -1000)]
Merge pull request #247 from dedsm/boto3_support
Adding support for boto3
David de Sousa [Wed, 22 Jun 2016 14:56:32 +0000 (16:56 +0200)]
Running boto3 tests in travis
David de Sousa [Wed, 22 Jun 2016 14:54:25 +0000 (16:54 +0200)]
Fixing pep8 errors in boto tests
bogdan barna [Wed, 22 Jun 2016 10:51:13 +0000 (13:51 +0300)]
boto3 integration tests
David de Sousa [Fri, 11 Mar 2016 10:05:58 +0000 (11:05 +0100)]
Adding support for boto3
Kevin McCarthy [Fri, 24 Jun 2016 16:48:51 +0000 (06:48 -1000)]
Merge pull request #260 from foobarna/fix-tests
fix tests in stubs, requests ssl verification and httpbin+flask
bogdan barna [Fri, 24 Jun 2016 08:43:01 +0000 (11:43 +0300)]
fix tests in stubs, requests ssl verification and httpbin+flask
Kevin McCarthy [Wed, 22 Jun 2016 06:45:27 +0000 (20:45 -1000)]
Merge pull request #259 from nickdirienzo/master
Fix deepcopy issue for response headers when `decode_compressed_response` is enabled
Nick DiRienzo [Tue, 21 Jun 2016 14:14:51 +0000 (07:14 -0700)]
Removed requests usage from test
Nick DiRienzo [Tue, 21 Jun 2016 14:00:53 +0000 (07:00 -0700)]
Renamed inside2 to inside
Nick DiRienzo [Tue, 21 Jun 2016 13:54:05 +0000 (06:54 -0700)]
Fix flake8 issue
Nick DiRienzo [Tue, 21 Jun 2016 06:43:47 +0000 (23:43 -0700)]
Updated comments
Nick DiRienzo [Tue, 21 Jun 2016 06:36:51 +0000 (23:36 -0700)]
Added a note on the deepcopy
Nick DiRienzo [Tue, 21 Jun 2016 06:23:31 +0000 (23:23 -0700)]
Added regression test
Nick DiRienzo [Mon, 20 Jun 2016 23:57:40 +0000 (16:57 -0700)]
Move deepcopy higher to not mutate original headers
Ivan Malison [Thu, 9 Jun 2016 19:16:14 +0000 (12:16 -0700)]
v 1.8.0
Kevin McCarthy [Mon, 2 May 2016 03:15:54 +0000 (17:15 -1000)]
missed a httpbin call
Kevin McCarthy [Mon, 2 May 2016 02:43:09 +0000 (16:43 -1000)]
Merge pull request #253 from jayvdb/no-pytest-localserver
Remove pytest-localserver from test dependencies
John Vandenberg [Mon, 2 May 2016 01:55:35 +0000 (08:55 +0700)]
Remove pytest-localserver from test dependencies
pytest-localserver is no longer needed after
the switch to using pytest-httpbin.
Kevin McCarthy [Mon, 2 May 2016 00:44:13 +0000 (14:44 -1000)]
pep8
Aliaksandr Buhayeu [Wed, 2 Dec 2015 13:33:58 +0000 (16:33 +0300)]
Fix for Serialization errors with JSON adapter
This patch aims to fix the issue#222,
where json data in request can not be serialized
because of TypeError in py3
Kevin McCarthy [Mon, 2 May 2016 00:19:54 +0000 (14:19 -1000)]
Merge pull request #149 from kevin1024/pytest-httpbin
WIP: add pytest-httpbin
Kevin McCarthy [Sat, 11 Apr 2015 23:07:17 +0000 (13:07 -1000)]
Use pytest-httpbin
This will help the test flakiness and speed up test runs.
Kevin McCarthy [Sun, 1 May 2016 17:20:48 +0000 (07:20 -1000)]
Merge pull request #252 from jayvdb/travis-more-versions
Add Python 3.5 and PyPy 3 to Travis
John Vandenberg [Sat, 30 Apr 2016 23:29:27 +0000 (06:29 +0700)]
Add Python 3.5 and PyPy 3 to Travis