Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-param for openSUSE:Factory checked in at 2026-03-13 21:17:53 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-param (Old) and /work/SRC/openSUSE:Factory/.python-param.new.8177 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-param" Fri Mar 13 21:17:53 2026 rev:35 rq:1338676 version:2.3.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-param/python-param.changes 2025-12-10 15:33:45.282412058 +0100 +++ /work/SRC/openSUSE:Factory/.python-param.new.8177/python-param.changes 2026-03-13 21:22:00.358216241 +0100 @@ -1,0 +2,8 @@ +Thu Mar 5 08:08:02 UTC 2026 - Dirk Müller <[email protected]> + +- update to 2.3.2: + * Remove Parameterized __init__ docstring as it shadows class + user docstrings + * Pandas 3 test suite compatibility + +------------------------------------------------------------------- Old: ---- param-2.3.1.tar.gz New: ---- param-2.3.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-param.spec ++++++ --- /var/tmp/diff_new_pack.AQAPQQ/_old 2026-03-13 21:22:01.034244128 +0100 +++ /var/tmp/diff_new_pack.AQAPQQ/_new 2026-03-13 21:22:01.038244293 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-param # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 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 @@ -15,9 +15,10 @@ # Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %{?sle15_python_module_pythons} Name: python-param -Version: 2.3.1 +Version: 2.3.2 Release: 0 Summary: Declarative Python programming using Parameters License: BSD-3-Clause ++++++ param-2.3.1.tar.gz -> param-2.3.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/param-2.3.1/PKG-INFO new/param-2.3.2/PKG-INFO --- old/param-2.3.1/PKG-INFO 2020-02-02 01:00:00.000000000 +0100 +++ new/param-2.3.2/PKG-INFO 2020-02-02 01:00:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: param -Version: 2.3.1 +Version: 2.3.2 Summary: Declarative parameters for robust Python classes and a rich API for reactive programming Project-URL: Homepage, https://param.holoviz.org/ Project-URL: Tracker, https://github.com/holoviz/param/issues @@ -288,7 +288,6 @@ # with a rich Event object. sfe.a = 'foo' # => Event( -# => Event( # what='value', name='a', # obj=SideEffectExample(a='foo', b='', c='', name='SideEffectExample00008'), # cls=SideEffectExample(a='foo', b='', c='', name='SideEffectExample00008'), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/param-2.3.1/README.md new/param-2.3.2/README.md --- old/param-2.3.1/README.md 2020-02-02 01:00:00.000000000 +0100 +++ new/param-2.3.2/README.md 2020-02-02 01:00:00.000000000 +0100 @@ -190,7 +190,6 @@ # with a rich Event object. sfe.a = 'foo' # => Event( -# => Event( # what='value', name='a', # obj=SideEffectExample(a='foo', b='', c='', name='SideEffectExample00008'), # cls=SideEffectExample(a='foo', b='', c='', name='SideEffectExample00008'), diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/param-2.3.1/param/_version.py new/param-2.3.2/param/_version.py --- old/param-2.3.1/param/_version.py 2020-02-02 01:00:00.000000000 +0100 +++ new/param-2.3.2/param/_version.py 2020-02-02 01:00:00.000000000 +0100 @@ -28,7 +28,7 @@ commit_id: COMMIT_ID __commit_id__: COMMIT_ID -__version__ = version = '2.3.1' -__version_tuple__ = version_tuple = (2, 3, 1) +__version__ = version = '2.3.2' +__version_tuple__ = version_tuple = (2, 3, 2) __commit_id__ = commit_id = None diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/param-2.3.1/param/parameterized.py new/param-2.3.2/param/parameterized.py --- old/param-2.3.1/param/parameterized.py 2020-02-02 01:00:00.000000000 +0100 +++ new/param-2.3.2/param/parameterized.py 2020-02-02 01:00:00.000000000 +0100 @@ -5348,6 +5348,15 @@ This makes it well-suited for robust, maintainable code bases and particularly useful in interactive applications requiring reactive behavior. + To construct an instance, optional Parameter values must be supplied as + keyword arguments (``param_name=value``), overriding their default values + for this one instance. Any parameters not explicitly set will retain their + defined default values. + + If no ``name`` parameter is provided, the instance's ``name`` attribute will + default to an identifier string composed of the class name followed by + an incremental 5-digit number. + Attributes ---------- name : str @@ -5411,37 +5420,9 @@ plus a unique integer""") def __init__(self, **params): - """ - Initialize a :class:`Parameterized` instance with optional Parameter values. - - Optional Parameter values must be supplied as keyword arguments - (``param_name=value``), overriding their default values for this one - instance. Any parameters not explicitly set will retain their defined - default values. - - If no ``name`` parameter is provided, the instance's ``name`` attribute will - default to an identifier string composed of the class name followed by - an incremental 5-digit number. - - Parameters - ---------- - **params - Optional keyword arguments mapping :class:`Parameter` names to values. - - Raises - ------ - TypeError - If one of the keywords of ``params`` is not a :class:`Parameter` name. - - Examples - -------- - >>> import param - >>> class MyClass(param.Parameterized): - ... value = param.Number(default=10, bounds=(0, 20)) - >>> obj = MyClass(value=15) + # No __init__ docstring to avoid shadowing the user class docstring + # displayed in IDEs. - The ``value`` parameter is set to 15 for this instance, overriding the default. - """ global object_count # Setting a Parameter value in an __init__ block before calling diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/param-2.3.1/tests/testreactive.py new/param-2.3.2/tests/testreactive.py --- old/param-2.3.1/tests/testreactive.py 2020-02-02 01:00:00.000000000 +0100 +++ new/param-2.3.2/tests/testreactive.py 2020-02-02 01:00:00.000000000 +0100 @@ -750,7 +750,8 @@ df = pd.DataFrame({"name": ["Bill", "Bob"]}) dfx = rx(df) out = dfx["name"].str._callback() - assert out is df["name"].str + assert type(out) is type(df["name"].str) + assert out._name == df["name"].str._name def test_reactive_dunder_len_error():
