Skip to content

Deprecate GroupingLatestValueCache and RelaySender #578

Closed

Description

@llucax

What's needed?

GroupingLatestValueCache and RelaySender are experimental and we don't plan to promote them. Deprecate them in v1.13.0, so they can be removed in v2.0.0 (#365).

Proposed solution

  • Mark both with @deprecated, and write a Deprecated: notice in their docstrings.
  • There is no replacement in this library, so the warning and the notice should recommend either copying the code into the user's own project, or opening an issue here if they think it is important to keep it in this library. For example: frequenz.channels.experimental.RelaySender is deprecated and will be removed in v2.0.0. Copy its code into your project if you need it, or open an issue at https://github.com/frequenz-floss/frequenz-channels-python/issues if you think it should stay in frequenz-channels.
  • The type variables DefaultT, HashableT and ValueT_co are exported from experimental only for GroupingLatestValueCache. Give them a Deprecated: notice too, and remove them together with it.
  • Test that both classes warn, as the deprecations guide asks.

Additional context

Depends on #576.

Activity

  1. added this to the v1.13.0 milestone on Nov 5, 2026
  2. added
    type:tech-debt
    part:experimental
    on Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    part:experimentaltype:tech-debt

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions