1
0

Accepting request 400381 from home:tbechtold:branches:devel:languages:python

- update to 0.7.0:
  - Add before_record and before_playback hooks
  - Allow per-cassette placeholders to be merged and override global placeholders
  - Fix bug where the QueryMatcher failed matching on high Unicode points
  - Add betamax_recorder pytest fixture
  - Change default behaviour to allow duplicate interactions to be recorded
    in single cassette
  - Add allow_playback_repeats to allow an interaction to be used more than once
    from a single cassette
  - Always return a new Response object from an Interaction to allow for a
    streaming response to be usable multiple times
  - Remove CI support for Pythons 2.6 and 3.2

OBS-URL: https://build.opensuse.org/request/show/400381
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-betamax?expand=0&rev=3
This commit is contained in:
Dirk Mueller 2016-06-07 08:11:03 +00:00 committed by Git OBS Bridge
parent 71daf4fb61
commit 80e7492c81
4 changed files with 26 additions and 9 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:864ecfea1df089ce166ca59040534f113a974d52bcb227b2143cddb8f28b9fbe
size 25586

3
betamax-0.7.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b006d854dc45d54b2db193fcb3eea8546acdece465edb7bf9247bcbda6cf485
size 75780

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Tue Jun 7 07:52:18 UTC 2016 - tbechtold@suse.com
- update to 0.7.0:
- Add before_record and before_playback hooks
- Allow per-cassette placeholders to be merged and override global placeholders
- Fix bug where the QueryMatcher failed matching on high Unicode points
- Add betamax_recorder pytest fixture
- Change default behaviour to allow duplicate interactions to be recorded
in single cassette
- Add allow_playback_repeats to allow an interaction to be used more than once
from a single cassette
- Always return a new Response object from an Interaction to allow for a
streaming response to be usable multiple times
- Remove CI support for Pythons 2.6 and 3.2
-------------------------------------------------------------------
Thu Feb 11 14:44:26 UTC 2016 - tbechtold@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package python-betamax
#
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -13,19 +13,20 @@
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-betamax
Version: 0.5.1
Version: 0.7.0
Release: 0
License: Apache-2.0
Summary: A VCR imitation for python-requests
Url: https://github.com/sigmavirus24/betamax
License: Apache-2.0
Group: Development/Languages/Python
Source: https://pypi.python.org/packages/source/b/betamax/betamax-%{version}.tar.gz
Url: https://github.com/sigmavirus24/betamax
Source: https://pypi.io/packages/source/b/betamax/betamax-%{version}.tar.gz
BuildRequires: python-devel
BuildRequires: python-setuptools
Requires: python-requests
Requires: python-requests >= 2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}