forked from pool/python-pytest-benchmark
- Add ptch ignore-deprecationwarning.patch:
* Ignore DeprecationWarning, some of our dependancies use pkg_resources. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-benchmark?expand=0&rev=26
This commit is contained in:
parent
0f2466043a
commit
c6a254c99f
12
ignore-deprecationwarning.patch
Normal file
12
ignore-deprecationwarning.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: pytest-benchmark-4.0.0/pytest.ini
|
||||
===================================================================
|
||||
--- pytest-benchmark-4.0.0.orig/pytest.ini
|
||||
+++ pytest-benchmark-4.0.0/pytest.ini
|
||||
@@ -32,6 +32,7 @@ testpaths =
|
||||
# Idea from: https://til.simonwillison.net/pytest/treat-warnings-as-errors
|
||||
filterwarnings =
|
||||
error
|
||||
+ ignore::DeprecationWarning
|
||||
# You can add exclusions, some examples:
|
||||
# ignore:'pytest_benchmark' defines default_app_config:PendingDeprecationWarning::
|
||||
# ignore:The {{% if:::
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Mar 20 05:13:36 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add ptch ignore-deprecationwarning.patch:
|
||||
* Ignore DeprecationWarning, some of our dependancies use pkg_resources.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 17 13:03:29 UTC 2023 - Daniel Garcia <daniel.garcia@suse.com>
|
||||
|
||||
|
@ -27,6 +27,9 @@ Source: https://files.pythonhosted.org/packages/source/p/pytest-benchmar
|
||||
Patch0: fix-test-fast.patch
|
||||
# PATCH-FIX-OPENSUSE py311.patch gh#ionelmc/pytest-benchmark#232
|
||||
Patch1: py311.patch
|
||||
# PATCH-FIX-OPENSUSE Ignore DeprecationWarning, some of our dependancies use
|
||||
# pkg_resources.
|
||||
Patch2: ignore-deprecationwarning.patch
|
||||
BuildRequires: %{python_module aspectlib}
|
||||
BuildRequires: %{python_module elasticsearch}
|
||||
BuildRequires: %{python_module freezegun}
|
||||
|
Loading…
x
Reference in New Issue
Block a user