Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 15, 2025

Bumps param from 2.2.1 to 2.3.1.

Release notes

Sourced from param's releases.

Version 2.3.1

This patch release fixes a regression introduced in the param.parameterized.edit_constant context manager.

Fixes:

  • Fix edit_constant to prevent class value mutation when not constant

Full Changelog

Version 2.3.0

This minor release brings a number of new features, enhancements, bug fixes, and documentation improvements. Notably, it introduces the new Parameter attributes default_factory and metadata, and the ParameterizedABC class to declare Parameterized abstract base classes. All the docstrings have been improved thanks to a massive effort from @​MarcSkovMadsen. Several deprecated APIs have now been removed, and the minimum supported Python version has been bumped to 3.10. Many thanks to our new contributors @​Azaya89, @​Coderambling, and @​ypsah, as well as to @​MarcSkovMadsen, @​hoxbro, @​maximlt, @​philippjfr, and all others for their continued maintenance and development efforts.

Features:

  • 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)

Enhancements:

  • 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)

Performance Enhancements:

  • Improve import time by lazy importing "slow" modules (#1037)
  • Only update Parameter signatures when needed (#1038)

Bug Fixes:

  • 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)

Documentation:

  • Add a new page that lists deprecated and removed APIs (#1016)

... (truncated)

Changelog

Sourced from param's changelog.

Version 2.3.1

Date: 2025-11-25

This patch release fixes a regression introduced in the param.parameterized.edit_constant context manager.

Fixes:

  • Fix edit_constant to prevent class value mutation when not constant

Full Changelog

Version 2.3.0

Date: 2025-11-13

This minor release brings a number of new features, enhancements, bug fixes, and documentation improvements. Notably, it introduces the new Parameter attributes default_factory and metadata, and the ParameterizedABC class to declare Parameterized abstract base classes. All the docstrings have been improved thanks to a massive effort from @​MarcSkovMadsen. Several deprecated APIs have now been removed, and the minimum supported Python version has been bumped to 3.10. Many thanks to our new contributors @​Azaya89, @​Coderambling, and @​ypsah, as well as to @​MarcSkovMadsen, @​hoxbro, @​maximlt, @​philippjfr, and all others for their continued maintenance and development efforts.

Features:

  • 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)

Enhancements:

  • 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)

Performance Enhancements:

  • Improve import time by lazy importing "slow" modules (#1037)
  • Only update Parameter signatures when needed (#1038)

Bug Fixes:

  • 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)

... (truncated)

Commits
  • 8ad25ad Prepare version 2.3.1 (#1102)
  • 94ab7e0 fix edit_constant to prevent class value mutation when not constant (#1101)
  • 5517f87 Update project description in pyproject.toml and enhance meta.yaml with detai...
  • 54da93e Add release notes for 2.3.0 (#1096)
  • 0b66fe6 Update the README and the landing page (#1095)
  • 60f093d Update cloudfront urls (#1097)
  • fe8f178 Add the metadata Parameter attribute (#1094)
  • 5309261 Deprecate Selector's compute_default_fn slot and compute_default() method (#1...
  • e00e76b Add a default_factory attribute to Parameter (#1092)
  • ef39804 remove warning emitted by concrete_descendents (#1093)
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [param](https://github.com/holoviz/param) from 2.2.1 to 2.3.1.
- [Release notes](https://github.com/holoviz/param/releases)
- [Changelog](https://github.com/holoviz/param/blob/main/doc/releases.md)
- [Commits](holoviz/param@v2.2.1...v2.3.1)

---
updated-dependencies:
- dependency-name: param
  dependency-version: 2.3.1
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Dec 15, 2025
@dagshub
Copy link

dagshub bot commented Dec 15, 2025

@github-actions
Copy link

Coverage

Coverage Report
FileStmtsMissCoverMissing
src/diffannotator
   __init__.py00100% 
   annotate.py83614782%75–76, 85, 92, 108–111, 113–115, 117, 446–447, 451–452, 454, 505, 507–509, 511, 513–515, 517–518, 520–522, 631, 634, 637–638, 693, 870, 906, 959–961, 965, 1005, 1017, 1019–1026, 1086, 1110, 1378, 1392–1395, 1397, 1401–1404, 1406, 1586, 1589, 1807, 1809, 1856, 1881–1882, 1991, 1994, 2134–2135, 2137, 2162, 2213–2214, 2233–2234, 2237, 2252, 2267–2268, 2309, 2378, 2389, 2415, 2425, 2427, 2436–2440, 2444–2448, 2450, 2485, 2581, 2594–2595, 2598, 2601–2602, 2604–2606, 2608, 2610–2612, 2614–2615, 2617, 2619, 2633, 2636, 2651–2653, 2659, 2672, 2681, 2689, 2692, 2762, 2768, 2770–2771, 2784, 2793–2798, 2912–2913, 2916–2917, 2921, 2966
   config.py50786%55–59, 61, 104
   gather_data.py3425284%87, 91, 93, 101, 106, 108, 121, 129, 162, 240–241, 244–245, 248, 251, 262, 280–286, 318–319, 342–343, 366, 390, 415–416, 618, 622, 655, 790, 803, 805, 808, 812, 814, 852, 882–883, 949, 1001, 1187, 1219–1223, 1227
   generate_patches.py38392%102, 104, 126
   languages.py1011684%191, 194, 197, 200, 203, 207, 238–239, 251, 270, 282, 284–285, 288, 294, 332
   lexer.py29293%102–103
src/diffannotator/utils
   __init__.py00100% 
   git.py6075590%122, 259, 348, 446, 455, 669–670, 673, 722, 732, 735–737, 743, 774, 778, 785, 869, 882, 945, 1027, 1042, 1099, 1106, 1191, 1193, 1313–1315, 1426, 1430, 1507, 1512, 1514, 1517–1518, 1520, 1602, 1616, 1689–1690, 1846, 1850, 1932, 1938, 2008, 2010, 2038–2039, 2051, 2053, 2070–2071, 2111, 2125
TOTAL200328285% 

Tests Skipped Failures Errors Time
103 8 💤 0 ❌ 0 🔥 11.578s ⏱️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant