15
0
forked from pool/python-param
Commit Graph

35 Commits

Author SHA256 Message Date
1761d824d7 Accepting request 1288654 from home:glaubitz:branches:devel:languages:python
- Update to 2.2.1
  * Do not remove nested_refs when updating another ref (#1061)

OBS-URL: https://build.opensuse.org/request/show/1288654
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=64
2025-06-27 14:28:02 +00:00
16af8aa634 Accepting request 1235167 from home:glaubitz:branches:devel:languages:python
- 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
2025-01-06 12:47:14 +00:00
dd75f78618 - 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/package/show/devel:languages:python/python-param?expand=0&rev=60
2024-06-30 19:31:09 +00:00
be1f2516f5 - 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/package/show/devel:languages:python/python-param?expand=0&rev=58
2024-05-07 12:55:52 +00:00
8df9c9de64 - Add patch filter-deprecationwarning.patch:
* Ignore a DeprecationWarning treated as an error.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=56
2024-02-06 01:29:03 +00:00
5f85be2cec - 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/package/show/devel:languages:python/python-param?expand=0&rev=54
2024-01-20 19:28:10 +00:00
af7ce3d2d5 Accepting request 1133483 from home:badshah400:branches:devel:languages:python
- Update to version 2.0.1:
- Update URL tag in specfile.
- Drop old macro redefinition that is no longer needed.

OBS-URL: https://build.opensuse.org/request/show/1133483
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=52
2023-12-16 19:12:47 +00:00
8e3818af0f Accepting request 1120521 from home:mcalabkova:branches:devel:languages:python
- 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
2023-10-26 10:56:00 +00:00
23404ba3e5 - 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/package/show/devel:languages:python/python-param?expand=0&rev=48
2023-03-26 20:02:17 +00:00
3b0280507f Accepting request 1042719 from home:yarunachalam:branches:devel:languages:python
- Update to version 1.12.3: 
  The 1.12.3 release adds support for Python 3.11. Many thanks to @musicinmybrain (first contribution!) and @maximlt for contributing to this release.
  Enhancements:
  * Preserve existing Random seed behavior in Python 3.11 (#638)
  * Add support for Python 3.11 (#658)

OBS-URL: https://build.opensuse.org/request/show/1042719
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=46
2022-12-14 10:10:48 +00:00
49af386815 Accepting request 984281 from home:badshah400:branches:devel:languages:python
Update to version 1.12.2:

OBS-URL: https://build.opensuse.org/request/show/984281
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=44
2022-06-22 05:56:44 +00:00
283ac4addc Accepting request 974210 from home:badshah400:branches:devel:languages:python
Update to version 1.12.1.

OBS-URL: https://build.opensuse.org/request/show/974210
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=42
2022-05-02 07:12:16 +00:00
71ef3fb20d Accepting request 955137 from home:badshah400:branches:devel:languages:python
* Update to version 1.12.0.
* Drop denose.patch: Tests updated to use pytest (gh#holoviz/param#509).

OBS-URL: https://build.opensuse.org/request/show/955137
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=41
2022-02-16 09:36:01 +00:00
d041e0ea25 Accepting request 875526 from home:bnavigator:branches:devel:languages:python
- Don't test optional numpy with python36, but include optional 
  jsonschema and (non python36) pandas for testing instead.

OBS-URL: https://build.opensuse.org/request/show/875526
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=39
2021-02-26 21:41:07 +00:00
496c00154f - Remove %ifpython3 guard for the %check section.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=37
2021-01-29 04:31:37 +00:00
aa2fc36d49 Accepting request 862158 from home:badshah400:branches:devel:languages:python
* Update to version 1.10.1.
* Use param-%{version} format for source name.

OBS-URL: https://build.opensuse.org/request/show/862158
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=35
2021-01-11 13:52:06 +00:00
ede2a24398 Accepting request 859959 from home:bnavigator:branches:devel:languages:python
- Make sure the correct version is reported, even though we use
  the GitHub archive and are not installing a git repo.

OBS-URL: https://build.opensuse.org/request/show/859959
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=33
2021-01-03 19:47:42 +00:00
5193b3383d Accepting request 845214 from home:badshah400:branches:devel:languages:python:numeric
* Update to version 1.10.0.
* Update denose.patch from latest pull request, plus rebasing to apply cleanly for `tests/API0/testparameterizedobject.py` and `tests/API1/testparameterizedobject.py`.
* Run tests only for python3 as they fail for python2.

OBS-URL: https://build.opensuse.org/request/show/845214
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=31
2020-11-02 20:55:17 +00:00
d59bec42a6 - Add denose.patch to remove dependency on nose (gh#holoviz/param#423).
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=29
2020-08-03 14:57:47 +00:00
Tomáš Chvátal
aa8bc1151b Accepting request 783905 from home:mcalabkova:branches:devel:languages:python
- Update to 1.9.3
  * Removed outdated warning message
  * Internal removal of old API usage

OBS-URL: https://build.opensuse.org/request/show/783905
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=27
2020-03-11 15:57:18 +00:00
Tomáš Chvátal
738d28acab Accepting request 766317 from home:MSirringhaus:branches:devel:languages:python
- Update to 1.9.2:
  * No upstream changelog

OBS-URL: https://build.opensuse.org/request/show/766317
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=25
2020-01-22 13:45:35 +00:00
Todd R
8663a70222 Accepting request 727287 from home:TheBlackCat:branches:devel:languages:python
Include a .version file.  Other packages need this to determine this package's version.

OBS-URL: https://build.opensuse.org/request/show/727287
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=23
2019-08-30 16:21:49 +00:00
Tomáš Chvátal
fd82fde285 - Update to 1.9.1:
* No upstream changelog

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=21
2019-06-03 10:57:46 +00:00
Tomáš Chvátal
f3a0d242c3 Accepting request 697402 from home:pgajdos
- 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
2019-04-24 09:30:16 +00:00
Tomáš Chvátal
8c461be81a - Update to 1.8.2:
* Added output decorator and outputs lookup method (#299, #312)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=17
2019-03-13 13:44:13 +00:00
Todd R
84e298d364 Accepting request 662847 from home:TheBlackCat:branches:devel:languages:python
- update to version 1.8.1
  * Added positional default arguments for nearly all Parameter
    subclasses (apart from ClassSelector)
  * Minor bugfixes for watching callbacks
- update to version 1.8.0
  * Parameterized methods can now declare @depends(p,q) to indicate
    that they depend on parameters p and q (defaulting to all
    parameters)
  * Parameterized methods can depend on subobjects with
    @depends(p.param,q.param.r), where p.param indicates
    dependencies on all parameters of p and q.param.r indicates a
    dependency on parameter r of q.
  * Functions and methods can watch parameter values, re-running
    when those values change or when an explicit trigger is issued,
    and can unwatch them later if needed.
  * Multiple events can be batched to trigger callbacks only once
    for a coordinated set of changes
  * Added support in ObjectSelector for selecting lists and dicts
    (#268)
  * Added pandas DataFrame and Series parameter types (#285)
  * Added support for regular expression validation to String
    Parameter (#241, #245)

OBS-URL: https://build.opensuse.org/request/show/662847
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=15
2019-01-04 16:22:30 +00:00
Tomáš Chvátal
e691cd5f2c - Switch to github tarball and enable tests.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=13
2018-07-17 08:52:08 +00:00
af745c9360 Accepting request 623188 from home:apersaud:branches:devel:languages:python
- specfile:
  * remove devel requirement
- update to version 1.7.0:
  * A new param namespace object, which in future will allow
    subclasses of Parameterized to have much cleaner namespaces
    (#230).
  * Started testing on python 3.7-dev (#223).
  * param.version now provides functions to simplify dependants'
    setup.py/setup.cfg files (see pyviz/autover#49).

OBS-URL: https://build.opensuse.org/request/show/623188
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=12
2018-07-17 07:48:10 +00:00
Tomáš Chvátal
371774c26e Accepting request 606675 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/606675
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=10
2018-05-12 18:17:06 +00:00
Todd R
b2b35fab8b Accepting request 597607 from home:TheBlackCat:branches:devel:languages:python
- Update to version 1.6.0
  * Drop Cython build

OBS-URL: https://build.opensuse.org/request/show/597607
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=8
2018-04-18 02:09:47 +00:00
Todd R
a00832efd3 Accepting request 517421 from home:TheBlackCat:branches:devel:languages:python
- Implement single-spec version
- Update to version 1.5.1

OBS-URL: https://build.opensuse.org/request/show/517421
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=6
2017-08-17 15:51:52 +00:00
Todd R
838372bad4 Accepting request 437354 from home:TheBlackCat:branches:devel:languages:python
Update to 1.4.2

OBS-URL: https://build.opensuse.org/request/show/437354
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=4
2016-10-25 21:35:29 +00:00
Todd R
cdbb662e18 Accepting request 315793 from home:TheBlackCat:branches:devel:languages:python
update to version 1.3.2

OBS-URL: https://build.opensuse.org/request/show/315793
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=3
2015-07-10 08:20:42 +00:00
Todd R
e809a0776c Accepting request 295311 from home:TheBlackCat:branches:devel:languages:python
update to version 1.3.1

OBS-URL: https://build.opensuse.org/request/show/295311
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=2
2015-04-10 13:53:19 +00:00
Todd R
fa4536d24c - - Initial version
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-param?expand=0&rev=1
2014-07-14 13:07:38 +00:00