forked from pool/python-vcrpy
Accepting request 356126 from home:bear454:branches:devel:languages:python
Update to v1.7.4 OBS-URL: https://build.opensuse.org/request/show/356126 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vcrpy?expand=0&rev=3
This commit is contained in:
@@ -1,3 +1,22 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 26 19:37:11 UTC 2016 - bear454@opensuse.org
|
||||
|
||||
- Update to version 1.7.4:
|
||||
|
||||
1.7.4 [#217] Make use_cassette decorated functions actually return a value (thanks @bcen). [#199] Fix path transfromation defaults. Better headers dictionary management.
|
||||
1.7.3 [#188] additional_matchers kwarg on use_cassette. [#191] Actually support passing multiple before_record_request functions (thanks @agriffis).
|
||||
1.7.2 [#186] Get effective_url in tornado (thanks @mvschaik), [#187] Set request_time on Response object in tornado (thanks @abhinav).
|
||||
1.7.1 [#183] Patch fetch_impl instead of the entire HTTPClient class for Tornado (thanks @abhinav).
|
||||
1.7.0 [#177] Properly support coroutine/generator decoration. [#178] Support distribute (thanks @graingert). [#163] Make compatibility between python2 and python3 recorded cassettes more robust (thanks @gward).
|
||||
1.6.1 [#169] Support conditional requirements in old versions of pip, Fix RST parse errors generated by pandoc, [Tornado] Fix unsupported features exception not being raised, [#166] content-aware body matcher.
|
||||
1.6.0 [#120] Tornado support (thanks @abhinav), [#147] packaging fixes (thanks @graingert), [#158] allow filtering post params in requests (thanks @MrJohz), [#140] add xmlrpclib support (thanks @Diaoul).
|
||||
1.5.2 Fix crash when cassette path contains cassette library directory (thanks @gazpachoking).
|
||||
1.5.0 Automatic cassette naming and ‘application/json’ post data filtering (thanks @marco-santamaria).
|
||||
1.4.2 Fix a bug caused by requests 2.7 and chunked transfer encoding
|
||||
1.4.1 Include README, tests, LICENSE in package. Thanks @ralphbean.
|
||||
1.4.0 Filter post data parameters (thanks @eadmundo), support for posting files through requests, inject_cassette kwarg to access cassette from use_cassette decorated function, with_current_defaults actually works (thanks @samstav).
|
||||
1.3.0 Fix/add support for urllib3 (thanks @aisch), fix default port for https (thanks @abhinav).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Feb 4 09:22:15 UTC 2015 - hpj@urpla.net
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-vcrpy
|
||||
#
|
||||
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
@@ -23,7 +23,7 @@
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
Name: python-vcrpy
|
||||
Version: 1.2.0
|
||||
Version: 1.7.4
|
||||
Release: 0
|
||||
Summary: Automatically mock your HTTP interactions to simplify and speed up testing
|
||||
License: MIT
|
||||
@@ -34,7 +34,6 @@ BuildRequires: python-PyYAML
|
||||
BuildRequires: python-contextlib2
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-mock
|
||||
BuildRequires: python-pyasn1
|
||||
BuildRequires: python-pytest-localserver
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: python-six
|
||||
@@ -42,13 +41,15 @@ BuildRequires: python-wrapt
|
||||
Requires: python-PyYAML
|
||||
Requires: python-contextlib2
|
||||
Requires: python-mock
|
||||
Requires: python-pyasn1
|
||||
Requires: python-six
|
||||
Requires: python-wrapt
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
Automatically mock your HTTP interactions to simplify and speed up testing.
|
||||
Record your test suite's HTTP interactions and replay them during future test
|
||||
runs for fast, deterministic, accurate tests.
|
||||
|
||||
This is a Python version of Ruby's VCR library.
|
||||
|
||||
%prep
|
||||
%setup -q -n vcrpy-%{version}
|
||||
@@ -60,7 +61,10 @@ python setup.py build
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
|
||||
%check
|
||||
python setup.py test
|
||||
#python setup.py test
|
||||
# Integration tests require internet access;
|
||||
# fail with 'Temporary failure in name resolution'
|
||||
PYTHONPATH=$PYTHONPATH:.:./tests py.test-2.7 tests/unit
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
|
@@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:d3f362031b8d8ec1c2c590e77b23ac7f439f6c979fbf3e2e158f5593e4506f75
|
||||
size 20917
|
3
vcrpy-1.7.4.tar.gz
Normal file
3
vcrpy-1.7.4.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb64924fd072982c712ca0822499937019caa33d758a9c47e5483ea36c45cb47
|
||||
size 80652
|
Reference in New Issue
Block a user