forked from pool/python-vcrpy
Accepting request 1111951 from home:pgajdos:python
- version update to 5.1.0 * Use ruff for linting (instead of current flake8/isort/pyflakes) - thanks @jairhenrique * Enable rule B (flake8-bugbear) on ruff - thanks @jairhenrique * Configure read the docs V2 - thanks @jairhenrique * Fix typo in docs - thanks @quasimik * Make json.loads of Python >=3.6 decode bytes by itself - thanks @hartwork * Fix body matcher for chunked requests (fixes #734) - thanks @hartwork * Fix query param filter for aiohttp (fixes #517) - thanks @hartwork and @salomvary * Remove unnecessary dependency on six. - thanks @charettes * build(deps): update sphinx requirement from <7 to <8 - thanks @jairhenrique * Add action to validate docs - thanks @jairhenrique * Add editorconfig file - thanks @jairhenrique * Drop iscoroutinefunction fallback function for unsupported python thanks @jairhenrique - for changelog for older releases refer to https://github.com/kevin1024/vcrpy/releases - six is not required OBS-URL: https://build.opensuse.org/request/show/1111951 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-vcrpy?expand=0&rev=38
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-vcrpy
|
||||
Version: 4.2.1
|
||||
Version: 5.1.0
|
||||
Release: 0
|
||||
Summary: Python module to mock and replay HTTP interactions
|
||||
License: MIT
|
||||
@@ -30,7 +30,6 @@ BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest-httpbin}
|
||||
BuildRequires: %{python_module pytest}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module six >= 1.5}
|
||||
# gh#kevin1024/vcrpy#688
|
||||
BuildRequires: %{python_module urllib3 < 2}
|
||||
BuildRequires: %{python_module wheel}
|
||||
@@ -39,7 +38,6 @@ BuildRequires: %{python_module yarl}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-PyYAML
|
||||
Requires: python-six >= 1.5
|
||||
Requires: python-urllib3 < 2
|
||||
Requires: python-wrapt
|
||||
BuildArch: noarch
|
||||
@@ -67,10 +65,9 @@ export LANG=en_US.UTF-8
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}/vcr
|
||||
|
||||
%check
|
||||
# Skip TestVCRConnection.testing_connect. Attempts
|
||||
# a real connection.
|
||||
# Skip online tests
|
||||
export LANG=en_US.UTF-8
|
||||
%pytest -k "not testing_connect"
|
||||
%pytest -k "not (testing_connect or test_get_vcr_with_matcher or test_testcase_playback)"
|
||||
|
||||
%files %{python_files}
|
||||
%license LICENSE.txt
|
||||
|
Reference in New Issue
Block a user