You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add frequenz-core and the deprecations tooling #576
part:toolingAffects the development tooling (CI, deployment, dependency management, etc.)type:tech-debtImproves the project without visible changes for users
Replace the warning options in pytest's addopts with the guide's filterwarnings, including the entry that makes this project's own deprecations an error: 'error:.*frequenz\.channels\.[\w\.]+ (is|was) deprecated:DeprecationWarning'. The existing deprecation messages don't match it, so tests still using Broadcast keep passing.
If a griffe-frequenz-core release that reads frequenz-core 1.6's arguments is out by then, enable its griffe_frequenz_core.deprecations extension. Otherwise write the Deprecated: notices by hand for now.
Stop BroadcastChannel() from emitting Broadcast's deprecation warning: it creates a Broadcast internally, so every user gets the warning. Wrapping that call in frequenz.core.warnings.ignoring_deprecations() is enough for 1.x; Add has_receivers/has_senders and fix BroadcastChannel auto-close #565 fixes it differently in 2.x.
part:toolingAffects the development tooling (CI, deployment, dependency management, etc.)type:tech-debtImproves the project without visible changes for users
Activity
TimertoMonotonicTimer#582WithPreviousandNopReceiverout ofexperimental#577GroupingLatestValueCacheandRelaySender#578limitargument ofBroadcastChannel()andsubscribe()tobuffer_size#579Pipetofrequenz.channelsin v2 and deprecate the experimental one #583