1
0

Accepting request 1169363 from devel:languages:python

- update to 0.9.0:
  * Add support for urllib3 2.0
  * Fix documentation
  * Add support for binary serializer storage; useful with custom
    serializers (such as pickle based), however all builtin
    betamax serializers remain text based.
  * Fix bug with new_episodes always trying to record.
  * Improved documentation.
  * This release drops support for Python 3.3; if you are still
    using Python 3.3 update your Python or don't update to
    betamax 0.8.2.
  * This release is the first release that declares support for
    Python 3.7, however previous versions most likely worked with
    3.7 as well.

OBS-URL: https://build.opensuse.org/request/show/1169363
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-betamax?expand=0&rev=7
This commit is contained in:
Ana Guerrero 2024-04-23 16:54:53 +00:00 committed by Git OBS Bridge
commit 70ab4b3c07
4 changed files with 30 additions and 12 deletions

BIN
betamax-0.8.1.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
betamax-0.9.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Sat Apr 20 13:42:31 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 0.9.0:
* Add support for urllib3 2.0
* Fix documentation
* Add support for binary serializer storage; useful with custom
serializers (such as pickle based), however all builtin
betamax serializers remain text based.
* Fix bug with new_episodes always trying to record.
* Improved documentation.
* This release drops support for Python 3.3; if you are still
using Python 3.3 update your Python or don't update to
betamax 0.8.2.
* This release is the first release that declares support for
Python 3.7, however previous versions most likely worked with
3.7 as well.
-------------------------------------------------------------------
Fri Apr 21 12:22:39 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-betamax
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -16,20 +16,20 @@
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-betamax
Version: 0.8.1
Version: 0.9.0
Release: 0
Summary: A VCR imitation for python-requests
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/sigmavirus24/betamax
Source: https://pypi.io/packages/source/b/betamax/betamax-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/b/betamax/betamax-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
Requires: python-requests >= 2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%python_subpackages
@ -41,15 +41,15 @@ much easier.
%setup -q -n betamax-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%files %{python_files}
%defattr(-,root,root,-)
%doc AUTHORS.rst README.rst
%license LICENSE
%{python_sitelib}/*
%{python_sitelib}/betamax
%{python_sitelib}/betamax-%{version}.dist-info
%changelog