- Drop patch filter-deprecationwarning.patch, no longer needed.

- Addd patch ignore-pandas-assignment-futurewarning.patch:
  * Ignore a FutureWarning raised from the depths of pandas.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=66
This commit is contained in:
2025-11-11 01:40:42 +00:00
committed by Git OBS Bridge
parent 7c08013b52
commit 025b883a31
4 changed files with 33 additions and 16 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-param
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%define modname param
Name: python-param
Version: 2.2.1
Release: 0
@@ -25,8 +24,8 @@ License: BSD-3-Clause
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
# PATCH-FIX-OPENSUSE Ignore FutureWarning from pandas itself
Patch0: ignore-pandas-assignment-futurewarning.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module hatchling}