4 Commits

Author SHA256 Message Date
60205a7189 Accepting request 1235176 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1235176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-vcrpy?expand=0&rev=18
2025-01-06 15:05:52 +00:00
526eeb5ab1 Accepting request 1235147 from home:glaubitz:branches:devel:languages:python
- Update to 7.0.0
  * Drop support for python 3.8 (major version bump) - thanks @jairhenrique
  * Various linting and test fixes - thanks @jairhenrique
  * Bugfix for urllib2>=2.3.0 - missing version_string (#888)
  * Bugfix for asyncio.run - thanks @alekeik1

OBS-URL: https://build.opensuse.org/request/show/1235147
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vcrpy?expand=0&rev=44
2025-01-06 12:44:06 +00:00
0cc8814816 Accepting request 1219096 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1219096
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-vcrpy?expand=0&rev=17
2024-10-30 16:34:46 +00:00
0b11601cdf Accepting request 1219021 from home:glaubitz:branches:devel:languages:python
- Update to 6.0.2
  * Ensure body is consumed only once (#846) - thanks @sathieu
  * Permit urllib3 2.x for non-PyPy Python >=3.10
  * Fix typos in test commands - thanks @chuckwondo
  * Several test and workflow improvements - thanks @hartwork and @graingert

OBS-URL: https://build.opensuse.org/request/show/1219021
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vcrpy?expand=0&rev=42
2024-10-29 17:04:48 +00:00
4 changed files with 13 additions and 49 deletions

View File

@@ -1,43 +1,3 @@
-------------------------------------------------------------------
Fri Jan 23 01:17:47 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- Add missing BuildRequires on pytest-asyncio.
-------------------------------------------------------------------
Fri Jan 9 10:22:55 UTC 2026 - Nico Krapp <nico.krapp@suse.com>
- Update to 8.1.1
* Fix sync requests in async contexts for HTTPX
* CI: bump peter-evans/create-pull-request from 7 to 8
- Update to 8.1.0
* Enable brotli decompression if available
(via brotli, brotlipy or brotlicffi)
* Fix aiohttp allowing both data and json arguments when one is None
* Fix usage of io-like interface with VCR.py
* Migrate to declarative Python package config
* Various linting fixes
* CI: bump actions/checkout from 5 to 6
- Update top 8.0.0
* Drop support for Python 3.9
* Drop support for urllib3 < 2 - fixes CVE warnings from urllib3 1.x
* New drop_unused_requests option to remove unused interactions from
cassettes
* Rewrite httpx support to patch httpcore instead of httpx
* Fix HTTPS proxy handling - proxy address no longer ends up in cassette URIs
* Fix iscoroutinefunction deprecation warning on Python 3.14
* Only log message if response is appended
* Optimize urllib.parse calls
* Fix CI for Ubuntu 24.04
* Various CI improvements: migrate to uv, update GitHub Actions
* Various linting and test improvements
- drop use-inspect-iscorountinefunction.patch, merged upstream
-------------------------------------------------------------------
Fri Nov 7 01:51:46 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch use-inspect-iscorountinefunction.patch:
* Use inspect.iscorountinefunction rather than asyncio.
-------------------------------------------------------------------
Mon Jan 6 10:53:19 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-vcrpy
#
# Copyright (c) 2026 SUSE LLC and contributors
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2015 LISA GmbH, Bingen, Germany.
#
# All modifications and additions to the file contributed by third parties
@@ -19,27 +19,31 @@
%{?sle15_python_module_pythons}
Name: python-vcrpy
Version: 8.1.1
Version: 7.0.0
Release: 0
Summary: Python module to mock and replay HTTP interactions
License: MIT
URL: https://github.com/kevin1024/vcrpy
Source: https://files.pythonhosted.org/packages/source/v/vcrpy/vcrpy-%{version}.tar.gz
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-httpbin}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module urllib3}
# gh#kevin1024/vcrpy#688
BuildRequires: %{python_module urllib3 < 2 if %python-base < 3.10}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module wrapt}
BuildRequires: %{python_module yarl}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-PyYAML
Requires: python-wrapt
%if 0%{python_version_nodots} < 310
Requires: python-urllib3 < 2
%endif
BuildArch: noarch
Requires: python-yarl
%python_subpackages
%description
@@ -49,7 +53,7 @@ test runs for deterministic tests.
This is a Python version of Ruby's VCR library.
%prep
%autosetup -p1 -n vcrpy-%{version}
%setup -q -n vcrpy-%{version}
# online integration tests
rm -r tests/integration

BIN
vcrpy-7.0.0.tar.gz LFS Normal file

Binary file not shown.

View File

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