]> khamidou — GitHub mirrors - vcrpy.git/log
vcrpy.git
8 years agoadd py37 on CI build
Luiz Menezes [Tue, 18 Sep 2018 21:47:32 +0000 (18:47 -0300)]
add py37 on CI build

8 years agoFix httplib2 compatibility with py37
Luiz Menezes [Tue, 18 Sep 2018 21:42:22 +0000 (18:42 -0300)]
Fix httplib2 compatibility with py37

8 years agoFix compatibility with Python 3.7
Felix Yan [Sat, 21 Jul 2018 09:03:19 +0000 (17:03 +0800)]
Fix compatibility with Python 3.7

8 years agoMerge pull request #374 from adamchainz/readme_supported
Luiz Menezes [Tue, 18 Sep 2018 17:45:11 +0000 (14:45 -0300)]
Merge pull request #374 from adamchainz/readme_supported

Update docs' lists of supported HTTP clients

8 years agoMerge pull request #390 from kevin1024/fix-aiohttp-client
Luiz Menezes [Tue, 18 Sep 2018 17:42:59 +0000 (14:42 -0300)]
Merge pull request #390 from kevin1024/fix-aiohttp-client

Fix vcr to support aiohttp client requests

8 years agoDrop support to asyncio.coroutine (py34 async/await syntax)
Luiz Menezes [Tue, 18 Sep 2018 16:59:40 +0000 (13:59 -0300)]
Drop support to asyncio.coroutine (py34 async/await syntax)

8 years agoMerge pull request #384 from valgur/patch-1
Luiz Menezes [Tue, 18 Sep 2018 15:55:32 +0000 (12:55 -0300)]
Merge pull request #384 from valgur/patch-1

Fix PyPI badge URLs in README.rst

8 years agoMerge pull request #389 from lamenezes/fix-proxy
Luiz Menezes [Tue, 18 Sep 2018 14:32:53 +0000 (11:32 -0300)]
Merge pull request #389 from lamenezes/fix-proxy

Fix proxy

8 years agoFix test_use_proxy cassette response type
Luiz Menezes [Tue, 18 Sep 2018 14:13:39 +0000 (11:13 -0300)]
Fix test_use_proxy cassette response type

8 years agoImprove test_use_proxy with cassette headers and play_count assertion
Danilo Shiga [Tue, 18 Sep 2018 13:11:33 +0000 (10:11 -0300)]
Improve test_use_proxy with cassette headers and play_count assertion

8 years agoReplace PNG badges with SVG ones
Martin Valgur [Wed, 5 Sep 2018 17:26:01 +0000 (20:26 +0300)]
Replace PNG badges with SVG ones

8 years agoFix PyPI badge URLs in README.rst
Martin Valgur [Wed, 5 Sep 2018 17:05:27 +0000 (20:05 +0300)]
Fix PyPI badge URLs in README.rst

`vcrpy-unittest` -> `vcrpy` in PyPI URLs.

8 years agotornado.httpclient
Adam Johnson [Tue, 31 Jul 2018 09:38:21 +0000 (10:38 +0100)]
tornado.httpclient

8 years agoFix aiohttp patch to work with aiohttp >= 3.3
Stefan Tjarks [Thu, 28 Jun 2018 16:12:26 +0000 (09:12 -0700)]
Fix aiohttp patch to work with aiohttp >= 3.3

Aiohttp expects an awaitable instance to be returned from
`ClientSession._request` though `asyncio.coroutine` decorated function
do not implement `__await__`. By changing the syntax and dropping Python
3.4 support we fix this issue.

8 years agoUpdate docs' lists of supported HTTP clients
Adam Johnson [Wed, 18 Jul 2018 21:51:58 +0000 (22:51 +0100)]
Update docs' lists of supported HTTP clients

I noticed these were out of sync, especially weirdly one mentioning boto and the other mentioning boto3. I figure the list in the README is redundant when the Installation docs section lists the supported libraries, so I've removed it. I also:

* alphabetically sorted the list
* Highlighted the library names as code
* Added both `boto` and `boto3` to the list since there is support for both
* Removed the comment about Tornado's AsyncHTTPClient since that's an implementation detail plus the patch happens on a couple different classes
* Removed the note about `http.client` being part of Python 3, because everyone is Python 3 these days anyway :)

8 years agofix proxy for Python 2
Samuel Fekete [Fri, 3 Nov 2017 11:39:13 +0000 (11:39 +0000)]
fix proxy for Python 2

8 years agoAdd headers in proxy server response
Samuel Fekete [Fri, 3 Nov 2017 11:07:23 +0000 (11:07 +0000)]
Add headers in proxy server response

8 years agoFix format string for Python 2.6
Samuel Fekete [Wed, 18 Oct 2017 11:44:52 +0000 (12:44 +0100)]
Fix format string for Python 2.6

8 years agoOnly have a sock attribute after connecting
Samuel Fekete [Mon, 3 Jul 2017 15:54:29 +0000 (16:54 +0100)]
Only have a sock attribute after connecting

8 years agoFix `socketserver` for Python 3
Samuel Fekete [Mon, 3 Jul 2017 14:29:36 +0000 (15:29 +0100)]
Fix `socketserver` for Python 3

8 years agoFix failing tests
Samuel Fekete [Mon, 3 Jul 2017 14:16:23 +0000 (15:16 +0100)]
Fix failing tests

8 years agoDetermine proxy based on path
Samuel Fekete [Mon, 3 Jul 2017 12:13:02 +0000 (13:13 +0100)]
Determine proxy based on path

8 years agoAdd test for proxies
Samuel Fekete [Mon, 3 Jul 2017 11:25:01 +0000 (12:25 +0100)]
Add test for proxies

8 years agoFix host and port for proxy connections
Samuel Fekete [Thu, 22 Jun 2017 15:49:59 +0000 (16:49 +0100)]
Fix host and port for proxy connections

8 years agoMerge pull request #356 from kgraves/fix_before_record_response_mutates_actual_response
Luiz Menezes [Fri, 13 Jul 2018 02:19:57 +0000 (23:19 -0300)]
Merge pull request #356 from kgraves/fix_before_record_response_mutates_actual_response

fixes before_record_response mutates response

8 years agoBump version to 1.13.0 v1.13.0
Luiz Menezes [Thu, 12 Jul 2018 23:02:29 +0000 (20:02 -0300)]
Bump version to 1.13.0

8 years agoMerge pull request #369 from lamenezes/fix-aiohttp-url-with-query-params
Luiz Menezes [Mon, 9 Jul 2018 02:48:20 +0000 (23:48 -0300)]
Merge pull request #369 from lamenezes/fix-aiohttp-url-with-query-params

Fix aiohttp url with query params

8 years agoTest aiohttp usage with query strings on the URL
Luiz Menezes [Mon, 9 Jul 2018 02:06:22 +0000 (23:06 -0300)]
Test aiohttp usage with query strings on the URL

8 years agoShallow copy of query as mutable MultiDict
Goran Stefkovski [Thu, 21 Jun 2018 06:01:01 +0000 (16:01 +1000)]
Shallow copy of query as mutable MultiDict

8 years agosimplified logic so that either params or url is used, if params are specified -...
Goran Stefkovski [Thu, 21 Jun 2018 06:17:49 +0000 (16:17 +1000)]
simplified logic so that either params or url is used, if params are specified - they will overwrite any get params on the url

8 years agoMerge pull request #368 from lamenezes/fix-json-content-type-on-aiohttp-stub
Luiz Menezes [Sun, 8 Jul 2018 17:46:16 +0000 (14:46 -0300)]
Merge pull request #368 from lamenezes/fix-json-content-type-on-aiohttp-stub

Fix content type being passed to aiohttp response stub

8 years agoFix content type being passed to aiohttp response stub
Luiz Menezes [Sun, 8 Jul 2018 02:56:39 +0000 (23:56 -0300)]
Fix content type being passed to aiohttp response stub

8 years agoMerge pull request #359 from lamenezes/adapt-aiohttp-stub-to-3.3
Luiz Menezes [Mon, 18 Jun 2018 13:46:36 +0000 (10:46 -0300)]
Merge pull request #359 from lamenezes/adapt-aiohttp-stub-to-3.3

Fix aiohttp stub to work with aiohttp 3.3.x

8 years agoFix aiohttp stub to work with aiohttp 3.3.x
Luiz Menezes [Tue, 5 Jun 2018 14:59:28 +0000 (11:59 -0300)]
Fix aiohttp stub to work with aiohttp 3.3.x

8 years agofixes before_record_response mutates response
kg [Wed, 9 May 2018 20:44:28 +0000 (20:44 +0000)]
fixes before_record_response mutates response

When no cassette exists, it's expected that the response returned, should be
the original, unchanged response. The response recorded in the cassette should be
that which is returned by the before_record_response callback.

But on subsequent requests/responses (when a cassette exists), the responses
returned should be exactly what is in the cassette.

resolves #355

8 years agobump version for release v1.12.0
Kevin McCarthy [Mon, 21 May 2018 13:57:42 +0000 (08:57 -0500)]
bump version for release

8 years agoMerge pull request #353 from lamenezes/support-aiohttp-over-3.1.0
Luiz Menezes [Wed, 16 May 2018 18:13:37 +0000 (15:13 -0300)]
Merge pull request #353 from lamenezes/support-aiohttp-over-3.1.0

Fix aiohttp stub to support version >= 3.1.0

8 years agoFix travis config to allow pypy3.5-aiohttp failure instead of excluding
Luiz Menezes [Wed, 16 May 2018 17:09:39 +0000 (14:09 -0300)]
Fix travis config to allow pypy3.5-aiohttp failure instead of excluding

8 years agoSkip requests test instead of failing for python >= 3.6
Luiz Menezes [Wed, 16 May 2018 15:39:44 +0000 (12:39 -0300)]
Skip requests test instead of failing for python >= 3.6

8 years agoFix tests aiohttp_utils.aiohttp_request return values
Luiz Menezes [Wed, 16 May 2018 14:12:51 +0000 (11:12 -0300)]
Fix tests aiohttp_utils.aiohttp_request return values

8 years agoAllow test failure on pypy3+aiohttp
Luiz Menezes [Tue, 8 May 2018 12:45:17 +0000 (09:45 -0300)]
Allow test failure on pypy3+aiohttp

8 years agoIgnore flake8 for entire file on aiohttp_utils
Luiz Menezes [Mon, 7 May 2018 13:58:09 +0000 (10:58 -0300)]
Ignore flake8 for entire file on aiohttp_utils

8 years agopep8 fix on aiohttp_utils
Luiz Menezes [Mon, 7 May 2018 13:00:27 +0000 (10:00 -0300)]
pep8 fix on aiohttp_utils

8 years agoFix aiohttp tests to include content type when parsing response to json
Luiz Menezes [Mon, 7 May 2018 12:55:12 +0000 (09:55 -0300)]
Fix aiohttp tests to include content type when parsing response to json

8 years agoUse async syntax on aiohttp_utils
Luiz Menezes [Mon, 7 May 2018 00:28:20 +0000 (21:28 -0300)]
Use async syntax on aiohttp_utils

8 years agoFix aiohttp utils to pass encondig to response.json
Luiz Menezes [Mon, 7 May 2018 00:03:17 +0000 (21:03 -0300)]
Fix aiohttp utils to pass encondig to response.json

8 years agoAdd .pytest_cache/ to .gitignore
Luiz Menezes [Sun, 6 May 2018 22:17:23 +0000 (19:17 -0300)]
Add .pytest_cache/ to .gitignore

8 years agoFix test aiohttp imports
Luiz Menezes [Sun, 6 May 2018 22:16:56 +0000 (19:16 -0300)]
Fix test aiohttp imports

8 years agoMaintain support to python 3.4 and aiohttp
Luiz Menezes [Sun, 6 May 2018 22:09:32 +0000 (19:09 -0300)]
Maintain support to python 3.4 and aiohttp

8 years agoFix aiohttp_request to properly perform aiohttp requests
Luiz Menezes [Fri, 4 May 2018 18:45:11 +0000 (15:45 -0300)]
Fix aiohttp_request to properly perform aiohttp requests

8 years agoRemove tox pin on aiohttp
Luiz Menezes [Wed, 2 May 2018 16:32:47 +0000 (13:32 -0300)]
Remove tox pin on aiohttp

8 years agoIgnore syntax error on async stuff
Luiz Menezes [Wed, 2 May 2018 12:07:14 +0000 (09:07 -0300)]
Ignore syntax error on async stuff

8 years agoFix aiohttp stub to support version >= 3.1.0
Luiz Menezes [Tue, 1 May 2018 21:20:37 +0000 (18:20 -0300)]
Fix aiohttp stub to support version >= 3.1.0

8 years agoMerge pull request #346 from carsonyl/patch-1
Luiz Menezes [Sun, 6 May 2018 22:06:06 +0000 (19:06 -0300)]
Merge pull request #346 from carsonyl/patch-1

Convert extras_require conditional deps to PEP 508 form.

8 years agoMerge branch 'master' of github.com:kevin1024/vcrpy into patch-1
Carson Lam [Sun, 6 May 2018 02:53:42 +0000 (19:53 -0700)]
Merge branch 'master' of github.com:kevin1024/vcrpy into patch-1

8 years agoMerge pull request #350 from lamby/895269-vcrpy-please-make-the-build-reproducible
Luiz Menezes [Thu, 3 May 2018 15:31:29 +0000 (12:31 -0300)]
Merge pull request #350 from lamby/895269-vcrpy-please-make-the-build-reproducible

Make the build reproducible

8 years agoMerge pull request #320 from allisson/master
Luiz Menezes [Thu, 3 May 2018 15:30:41 +0000 (12:30 -0300)]
Merge pull request #320 from allisson/master

Update aiohttp_stub to work with binary content

8 years agoMerge remote-tracking branch 'upstream/master'
Allisson Azevedo [Wed, 2 May 2018 18:03:01 +0000 (15:03 -0300)]
Merge remote-tracking branch 'upstream/master'

8 years agoMake the build reproducible
Chris Lamb [Mon, 9 Apr 2018 09:01:20 +0000 (10:01 +0100)]
Make the build reproducible

Whilst working on the Reproducible Builds effort [0], we noticed
that vcrpy could not be built reproducibly.

This is due to the documentation including the absolute build path
via Python default arguments.

This was originally filed in Debian as #895269 [1].

 [0] https://reproducible-builds.org/
 [1] https://bugs.debian.org/895269

Signed-off-by: Chris Lamb <lamby@debian.org>
8 years agoMerge pull request #354 from kevin1024/build-quicker
Luiz Menezes [Wed, 2 May 2018 16:31:36 +0000 (13:31 -0300)]
Merge pull request #354 from kevin1024/build-quicker

Fix broken tests + build quicker

8 years agoTemporarily pins aiohttp to version <3
Luiz Menezes [Wed, 2 May 2018 15:19:55 +0000 (12:19 -0300)]
Temporarily pins aiohttp to version <3

8 years agoPin flask version (as latests 1.0 breaks retrocompatibility)
Luiz Menezes [Wed, 2 May 2018 14:59:01 +0000 (11:59 -0300)]
Pin flask version (as latests 1.0 breaks retrocompatibility)

8 years agoPass flake8.
Carson Lam [Thu, 22 Feb 2018 07:16:29 +0000 (23:16 -0800)]
Pass flake8.

8 years agoConvert extras_require conditional deps to PEP 508 form.
Carson Lam [Thu, 22 Feb 2018 05:40:02 +0000 (21:40 -0800)]
Convert extras_require conditional deps to PEP 508 form.

8 years agoMerge remote-tracking branch 'upstream/master'
Allisson Azevedo [Sat, 17 Feb 2018 14:51:04 +0000 (11:51 -0300)]
Merge remote-tracking branch 'upstream/master'

8 years agoRemove boto
Hugo [Fri, 19 Jan 2018 21:56:06 +0000 (23:56 +0200)]
Remove boto

8 years agoOnly test on single recent version of dependencies
Hugo [Wed, 17 Jan 2018 08:28:36 +0000 (10:28 +0200)]
Only test on single recent version of dependencies

8 years agoMerge pull request #340 from hugovk/rm-2.6
Thomas Grainger [Tue, 16 Jan 2018 17:23:12 +0000 (17:23 +0000)]
Merge pull request #340 from hugovk/rm-2.6

Drop support for EOL Python 2.6 and 3.3

8 years agoRequests 1.x only supports Python <= 3.3
Hugo [Mon, 15 Jan 2018 20:37:27 +0000 (22:37 +0200)]
Requests 1.x only supports Python <= 3.3

8 years agoTest flakes on Python 2.7 (and 3.6) not pypy3.5
Hugo [Mon, 15 Jan 2018 20:36:19 +0000 (22:36 +0200)]
Test flakes on Python 2.7 (and 3.6) not pypy3.5

8 years agoxfail for test_post_chunked_binary_secure on CPython 3.5
Hugo [Mon, 15 Jan 2018 13:05:53 +0000 (15:05 +0200)]
xfail for test_post_chunked_binary_secure on CPython 3.5

8 years agoAdd pypy3.5-5.9.0
Hugo [Mon, 15 Jan 2018 08:04:25 +0000 (10:04 +0200)]
Add pypy3.5-5.9.0

8 years agoDrop pypy3
Hugo [Fri, 8 Dec 2017 09:45:44 +0000 (11:45 +0200)]
Drop pypy3

8 years agoRemove dependency on bugs.python.org/xmlrpc: 301 Moved Permanently
Hugo [Thu, 7 Dec 2017 14:18:09 +0000 (16:18 +0200)]
Remove dependency on bugs.python.org/xmlrpc: 301 Moved Permanently

8 years agoRemove dependency on old Flask
Hugo [Thu, 7 Dec 2017 13:53:38 +0000 (15:53 +0200)]
Remove dependency on old Flask

8 years agoDrop support for EOL Python 3.3
Hugo [Thu, 7 Dec 2017 12:51:10 +0000 (14:51 +0200)]
Drop support for EOL Python 3.3

8 years agoRewrite unnecessary list/tuple literals as set literals
Hugo [Thu, 7 Dec 2017 11:48:04 +0000 (13:48 +0200)]
Rewrite unnecessary list/tuple literals as set literals

8 years agoReplace unnecessary list comprehension - 'all' can take a generator
Hugo [Thu, 7 Dec 2017 11:37:33 +0000 (13:37 +0200)]
Replace unnecessary list comprehension - 'all' can take a generator

8 years agoAutomatic formatters supported in Python 2.7+
Hugo [Thu, 7 Dec 2017 11:32:08 +0000 (13:32 +0200)]
Automatic formatters supported in Python 2.7+

8 years agoMultiple context managers supported in 2.7+
Hugo [Thu, 7 Dec 2017 11:26:27 +0000 (13:26 +0200)]
Multiple context managers supported in 2.7+

8 years agoUpdate classifiers
Hugo [Thu, 7 Dec 2017 11:23:05 +0000 (13:23 +0200)]
Update classifiers

8 years agoAdd python_requires to help pip install correct version
Hugo [Thu, 7 Dec 2017 11:22:42 +0000 (13:22 +0200)]
Add python_requires to help pip install correct version

8 years agocollections.Counter is new in Python 2.7
Hugo [Thu, 7 Dec 2017 11:20:20 +0000 (13:20 +0200)]
collections.Counter is new in Python 2.7

8 years agoDrop support for EOL Python 2.6
Hugo [Thu, 7 Dec 2017 11:17:54 +0000 (13:17 +0200)]
Drop support for EOL Python 2.6

8 years agoStop testing on EOL Python 2.6
Hugo [Thu, 7 Dec 2017 10:51:00 +0000 (12:51 +0200)]
Stop testing on EOL Python 2.6

9 years agoCorrect libyaml-devel package name in EL/Fedora
Andrew Kofink [Mon, 30 Oct 2017 19:08:01 +0000 (15:08 -0400)]
Correct libyaml-devel package name in EL/Fedora

9 years agoMerge pull request #324 from petr-bulusek/custom-persister
Ivan Malison [Wed, 25 Oct 2017 09:17:08 +0000 (02:17 -0700)]
Merge pull request #324 from petr-bulusek/custom-persister

Fix of registering custom persister and test.

9 years agoMerge remote-tracking branch 'upstream/master'
Allisson Azevedo [Wed, 20 Sep 2017 14:58:07 +0000 (11:58 -0300)]
Merge remote-tracking branch 'upstream/master'

9 years agoMerge pull request #326 from lmazuel/master
Ivan Malison [Thu, 17 Aug 2017 17:08:38 +0000 (10:08 -0700)]
Merge pull request #326 from lmazuel/master

Fix mixup between httplib and urllib3

9 years agoAdd requests 2.18.4 to build
Laurent Mazuel [Wed, 16 Aug 2017 21:45:32 +0000 (14:45 -0700)]
Add requests 2.18.4 to build

9 years agoDon't unmock requests.packages if not necessary
Laurent Mazuel [Wed, 16 Aug 2017 21:43:27 +0000 (14:43 -0700)]
Don't unmock requests.packages if not necessary

9 years agoFix mixup between httplib and urllib3
Laurent Mazuel [Tue, 15 Aug 2017 23:39:33 +0000 (16:39 -0700)]
Fix mixup between httplib and urllib3

9 years agodelete ipdb.set_trace
Petr Bulusek [Sat, 12 Aug 2017 15:58:52 +0000 (17:58 +0200)]
delete ipdb.set_trace

9 years agotypo
Petr Bulusek [Fri, 11 Aug 2017 12:41:11 +0000 (14:41 +0200)]
typo

9 years agoInstantiating class not necessary.
Petr Bulusek [Wed, 9 Aug 2017 13:18:00 +0000 (15:18 +0200)]
Instantiating class not necessary.

9 years agorevert PR unrelated change, better comment
Petr Bulusek [Wed, 9 Aug 2017 12:44:39 +0000 (14:44 +0200)]
revert PR unrelated change, better comment

9 years agoregister custom persister fix
Petr Bulusek [Wed, 9 Aug 2017 12:25:10 +0000 (14:25 +0200)]
register custom persister fix

9 years agoUpdate usage.rst
Mikaeil Orfanian [Sat, 1 Jul 2017 10:52:28 +0000 (12:52 +0200)]
Update usage.rst

"i.e." is misleading because it means "in other words". In the context of this paragraph, "i.e." implies that "unexpected requests" are those that have a different URI.
I think a URI change is just one example of what could constitute an "unexpected" request. vcr does request matching based on method, port, body, etc.
So, I think "e.g." which means "for example" is the right phrase in this context.

9 years agoUpdate aiohttp_stub to work with binary content
Allisson Azevedo [Thu, 22 Jun 2017 18:12:58 +0000 (15:12 -0300)]
Update aiohttp_stub to work with binary content

9 years agoMerge pull request #314 from kevin1024/support-requests211
Ivan Malison [Wed, 7 Jun 2017 18:27:26 +0000 (11:27 -0700)]
Merge pull request #314 from kevin1024/support-requests211

support requests 2.11 Fixes #313