forked from pool/python-param
Accepting request 1144424 from devel:languages:python
- Add patch filter-deprecationwarning.patch: * Ignore a DeprecationWarning treated as an error. OBS-URL: https://build.opensuse.org/request/show/1144424 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-param?expand=0&rev=27
This commit is contained in:
12
filter-deprecationwarning.patch
Normal file
12
filter-deprecationwarning.patch
Normal file
@@ -0,0 +1,12 @@
|
||||
Index: param-2.0.2/pyproject.toml
|
||||
===================================================================
|
||||
--- param-2.0.2.orig/pyproject.toml
|
||||
+++ param-2.0.2/pyproject.toml
|
||||
@@ -219,6 +219,7 @@ examples = "pytest -v -n logical --dist
|
||||
python_files = "test*.py"
|
||||
filterwarnings = [
|
||||
"error",
|
||||
+ "ignore:Bitwise inversion.*:DeprecationWarning",
|
||||
]
|
||||
xfail_strict = "true"
|
||||
asyncio_mode = "auto"
|
||||
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 6 01:28:23 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Add patch filter-deprecationwarning.patch:
|
||||
* Ignore a DeprecationWarning treated as an error.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Jan 20 19:27:34 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||
|
||||
|
||||
@@ -22,10 +22,11 @@ Version: 2.0.2
|
||||
Release: 0
|
||||
Summary: Declarative Python programming using Parameters
|
||||
License: BSD-3-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://param.holoviz.org/index.html
|
||||
Source: https://files.pythonhosted.org/packages/source/p/param/param-%{version}.tar.gz
|
||||
Source100: python-param-rpmlintrc
|
||||
# https://github.com/holoviz/param/issues/907
|
||||
Patch0: filter-deprecationwarning.patch
|
||||
BuildRequires: %{python_module base >= 3.8}
|
||||
BuildRequires: %{python_module hatch_vcs}
|
||||
BuildRequires: %{python_module hatchling}
|
||||
|
||||
Reference in New Issue
Block a user