Sync from SUSE:SLFO:Main python-betamax revision 59bf195a34b9ba16a89766ddd4b75ab9

This commit is contained in:
Adrian Schröter 2024-12-13 11:12:45 +01:00
parent b1cc57879c
commit 8863a286cc
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