15
0
forked from pool/python-param

Accepting request 1319761 from devel:languages:python

OBS-URL: https://build.opensuse.org/request/show/1319761
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-param?expand=0&rev=33
This commit is contained in:
2025-11-24 16:17:40 +00:00
committed by Git OBS Bridge
4 changed files with 66 additions and 5 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ba1f7cec6455ea8ad96f641f4082759bf1057dcbe629aa79d956b25973252422
size 176980

3
param-2.3.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b7e2b9c1d308d93c641937330990e8254aef479682c930b36ab681c4587d999a
size 201663

View File

@@ -1,3 +1,64 @@
-------------------------------------------------------------------
Mon Nov 24 08:11:36 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.3.0
* Add a `default_factory` attribute to the base Parameter (#1092)
* Add a `metadata` attribute to the base Parameter (#1094)
* Allow declaring Parameterized abstract base classes by inheriting
from `ParameterizedABC` => This approach should be favored over
`__abstract = True` (#1031)
* Add `.rx.set()` method (#957)
* Add missing docstrings and enhance existing ones
(#992), (#994), (#997), (#998)
* Better error when calling `len()` on a reactive expression (#1033)
* Raise `AttributeError` when attempting to set the `value` attribute
of a reactive expression (#1022)
* Add an `is_instance` attribute to the `List` Parameter (#1023)
* Allow `depends(..., on_init=True)` to be applied to async method (#1067)
* Add `concrete` keyword to the `descendents` function => Prefer
`concrete(<cls>, descendents=True)` over `concrete_descendents(<cls>)` (#1027)
* Improve import time by lazy importing "slow" modules (#1037)
* Only update Parameter signatures when needed (#1038)
* Fix calling `descendents` on an `object()` instance (#1024)
* Ensure `edit_constant` resets class and instance level parameters (#1015)
* Ensure `constant` attribute is inherited (#1017)
* Ensure type checkers skip `ParameterizedFunction.__init__` (#1039)
* Fix `.values()/get_value_generator()` dealing with Dynamic params
and an updated default value (#1058)
* Do not remove `nested_refs` when updating another ref (#1061)
* Fix error message of `ReactiveESMMetaClass` (#1064)
* Fix `reactive_ops.__call__` (#1069)
* `unwatch` no longer logs a warning and idempotent behavior clarified (#1018)
* Remove bad abstract declaration on `SelectorBase` (#1086)
* Do not override refs when parameter is triggered (#1089)
* Add a new page that lists deprecated and removed APIs (#1016)
* Add a version switcher (#1079)
* Small refactor and fixes to the API reference (#1082)
* README and landing page updates (#1095)
* Various minor fixes and improvements (#1006), (#1034), (#1036),
(#1049), (#1052), (#1054)
* Direct removal of the undocumented and broken `print_all_param_defaults`
function (#1029)
* API removals that emitted a deprecation warning since 2.0.0,
all included in the table below (#1085)
* Deprecate setting a parameter value before full instance initialization (#1025)
* Deprecate the keyword `what` of `.param.watch_values()` (#1073)
* Deprecate the generic Parameter attribute `pickle_default_value` (#1019)
* Deprecate the module `version.py` (#1002)
* Deprecate Selector's `compute_default_fn` slot and `compute_default()` method (#1012)
* Drop gmpy support in favor of gmpy2 (#1026)
* Ensure support for Python 3.14 (#1077)
* Bump the minimum Python version to 3.10 (#1084)
* Ensure support for PyPy 3.11 and stop testing PyPy 3.10 (#1080)
* Introduce `_find_stack_level()` utility to emit warnings with the right stack level (#1083)
* Add sysmon for coverage (#1009)
* Small updates to the build infrastructure (#1008)
* Modify workflow to exclude forks (#1020)
* Update pre-commit (#1078)
* Make the generator tests more robust (#1080), (#1088)
* Add @maximlt (#1075)
* Enhance developer experience with the `setup-dev` command (#1081)
-------------------------------------------------------------------
Tue Nov 11 01:40:28 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -15,9 +15,9 @@
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-param
Version: 2.2.1
Version: 2.3.0
Release: 0
Summary: Declarative Python programming using Parameters
License: BSD-3-Clause