- Update to 2.2.0
* Annotate `depends` and `accept_arguments` decorators (#962)
* Stop directly importing numpy and add `gen_types` decorator (#966)
* Added missing `super().__init_subclass__` call in `_ParameterBase.__init_subclass__` (#969)
* Remove `_dict_update` (#980)
* Improve some docstrings and set up `ruff` to validate them (#977), (#982), and (#983)
* Remove `_param_watchers`, raise `RuntimeError` on unsafe ops during init,
and failed validation of a parameter default after inheritance (#973)
* Promote many deprecation warnings to future warnings (#974)
* Test Python 3.13 (#971)
* Drop Python 3.8 support (#986)
* Replace `hatch` with `pixi` (#971)
* Fix reactive tests failing intermittently on Windows (#971)
* Change linting to `ruff` (#978)
OBS-URL: https://build.opensuse.org/request/show/1235167
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=62
- update to 2.1.1:
* Ensure rx._callback resolves accessors
* Ensure refs can be updated by watcher of the same parameter
* Recursively resolve references on args and kwargs passed to a
reactive operation (#944)
* Only override the name of a Parameterized instance on Parameter
instantiation when instantiate=True (#938)
* Various minor documentation improvements
* Fix test_reactive_logic_unary_ops on Python 3.12
OBS-URL: https://build.opensuse.org/request/show/1184129
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-param?expand=0&rev=29
* Ensure rx._callback resolves accessors
* Ensure refs can be updated by watcher of the same parameter
* Recursively resolve references on args and kwargs passed to a
reactive operation (#944)
* Only override the name of a Parameterized instance on Parameter
instantiation when instantiate=True (#938)
* Various minor documentation improvements
* Fix test_reactive_logic_unary_ops on Python 3.12
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=60
- update to 2.1.0:
* Improvements for synchronous and asychronous generators (#908)
* Additions to the .rx namespace including and_, bool, map, not_,
or_ and updating (#906)
* Add support for adding asynchronous watcher to rx (#917)
* Make it possible to resolve reactive expressions recursively
with .rx.resolve (#918)
* Add support for async and generator functions in .rx.pipe (#924)
* Ensure that .param.update context manager restore refs (#915)
* Avoid overeager root invalidation on rx leading to unnecessary
evaluation (#919)
* Passing positional arguments to Parameter now raises a
ParamDeprecationWarning
OBS-URL: https://build.opensuse.org/request/show/1172438
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-param?expand=0&rev=28
* Improvements for synchronous and asychronous generators (#908)
* Additions to the .rx namespace including and_, bool, map, not_,
or_ and updating (#906)
* Add support for adding asynchronous watcher to rx (#917)
* Make it possible to resolve reactive expressions recursively
with .rx.resolve (#918)
* Add support for async and generator functions in .rx.pipe (#924)
* Ensure that .param.update context manager restore refs (#915)
* Avoid overeager root invalidation on rx leading to unnecessary
evaluation (#919)
* Passing positional arguments to Parameter now raises a
ParamDeprecationWarning
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=58
- update to 2.0.2:
* Minor optimizations in hot codepaths accessing class parameters
* Unpack partial callables in iscoroutinefunction
* Fix building Param with setuptools-scm<7
* Parameter slot values are now all inherited correctly across
* There is now a ListProxy wrapper around Selector.objects (with
forward and backward compatibility) to easily update objects
* Parameterized classes and instances now have a rich HTML
representation that is displayed automatically in
* Parameters have all gained the allow_refs and nested_refs
attributes, bringing an exceptionally useful feature that was
* You can now use .param.update as a context manager for applying
* Path now has check_exists attribute, leading it to raise an error
- Update to version 1.12.3:
- Don't test optional numpy with python36, but include optional
* No upstream changelog
OBS-URL: https://build.opensuse.org/request/show/1140199
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-param?expand=0&rev=26
* Minor optimizations in hot codepaths accessing class parameters
* Unpack partial callables in iscoroutinefunction
* Fix building Param with setuptools-scm<7
* Parameter slot values are now all inherited correctly across
* There is now a ListProxy wrapper around Selector.objects (with
forward and backward compatibility) to easily update objects
* Parameterized classes and instances now have a rich HTML
representation that is displayed automatically in
* Parameters have all gained the allow_refs and nested_refs
attributes, bringing an exceptionally useful feature that was
* You can now use .param.update as a context manager for applying
* Path now has check_exists attribute, leading it to raise an error
- Update to version 1.12.3:
- Don't test optional numpy with python36, but include optional
* No upstream changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=54
- Update to 2.0.0
* Parameter slot values are now all inherited correctly across
a hierarchy of Parameterized classes.
* There is now a ListProxy wrapper around Selector.objects (with
forward and backward compatibility) to easily update objects
and watch objects updates.
* Parameterized classes and instances now have a rich HTML
representation that is displayed automatically in
a Jupyter/IPython notebook.
* Parameters have all gained the allow_refs and nested_refs
attributes, bringing an exceptionally useful feature that was
available in Panel since version 1.2 to Param.
* Experimental new rx reactive expressions.
* You can now use .param.update as a context manager for applying
temporary updates.
* For speed, only generate the Parameter docstring in an IPython context.
* Support for deserialization of file types into Array and DataFrame.
* Integer now accepts numpy.integer values.
* Range now does stricter validation of the slot values.
* Path now has check_exists attribute, leading it to raise an error
if path is not found on parameter instantiation.
* Add top-level __all__ and move Parameter classes to parameters.py.
* Now compatible with Python 3.8+
* Other changes, take a look at the upstream changelog.
OBS-URL: https://build.opensuse.org/request/show/1120521
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=50
- update to 1.13.0:
* This release includes a new `Bytes` *Parameter* and a few
important bug fixes. This release is also marked by the
adoption of a formal project governance, ensuring Param's
future as a healthy open-source project. Many thanks to
@ovidner and @droumis for their first contributions! And to
@maximlt, @Hoxbro, @jlstevens, @philippjfr and @jbednar for
their continuing support to fixing and improving Param.
* Fix copying when having watchers on e.g. bounds on inherited
Parameter types (#675)
* Allow JSON serialization to work with `json.dumps` (#655)
* `ListSelector` restricted to `list` type objects (#531)
* Fix `depends` async wrapper (#684)
* Allow named colors to be any case (#711)
OBS-URL: https://build.opensuse.org/request/show/1074514
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-param?expand=0&rev=23
* This release includes a new `Bytes` *Parameter* and a few
important bug fixes. This release is also marked by the
adoption of a formal project governance, ensuring Param's
future as a healthy open-source project. Many thanks to
@ovidner and @droumis for their first contributions! And to
@maximlt, @Hoxbro, @jlstevens, @philippjfr and @jbednar for
their continuing support to fixing and improving Param.
* Fix copying when having watchers on e.g. bounds on inherited
Parameter types (#675)
* Allow JSON serialization to work with `json.dumps` (#655)
* `ListSelector` restricted to `list` type objects (#531)
* Fix `depends` async wrapper (#684)
* Allow named colors to be any case (#711)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=48
- version update to 1.9.0
New features:
Added support for instance parameters, allowing parameter metadata
to be modified per instance and allowing parameter objects to be
passed to Panel objects (#306)
Added label slot to Parameter, to allow overriding attribute name
for display (#319)
Added step slot to Parameter, e.g. to control Panel widget step
size (#326)
Added keywords_to_params utility for deducing Parameter types and
ranges automatically (#317)
Added support for multiple outputs from a Parameterized (#312)
Added Selector as a more user-friendly version of ObjectSelector,
accepting a list of options as a positional argument (#316)
Changes affecting backwards compatibility:
Changed from root logger to a param-specific logger; no change to
API but will change format of error and warning messages (#330)
Old abstract class Selector renamed to SelectorBase; should be no
change unless user code added custom classes inherited from
Selector without providing a constructor (#316)
Bugfixes and other improvements:
Various bugfixes (#320, #323, #327, #329)
Other improvements (#315, #325)
OBS-URL: https://build.opensuse.org/request/show/697402
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=19