Skip to content

fix(deps): cap faststream below 0.7.6 - #84

Merged
lesnik512 merged 1 commit into
mainfrom
fix/pin-faststream-below-0.7.6
Sep 20, 2026
Merged

lesnik512 merged 1 commit into
mainfrom
fix/pin-faststream-below-0.7.6

Conversation

@lesnik512

Copy link
Copy Markdown
Member

FastStream 0.7.6 breaks this package. ty reports 10 errors and the suite fails at runtime:

  • SubscriberUsecase.add_task now returns None, so the timeout path in subscriber/usecase.py raises TypeError: object NoneType can't be used in 'await' expression awaiting the task it spawned.
  • faststream.asgi.factories.asyncapi.try_it_out._get_broker_registry is gone, so the TestBroker registration in __init__.py no longer resolves.
  • Several signatures moved under it: address is now required on the publisher/subscriber usecases, and TimersSubscriberSpecification resolves to an abstract class.

The cap is a stopgap that gets main green again, not the fix. Adapting to 0.7.6 and lifting the cap is separate work.

Verified locally at the cap: just lint-ci clean, 161 tests pass at 100% coverage.

@lesnik512
lesnik512 merged commit 4be6090 into main Sep 20, 2026
8 checks passed
@lesnik512
lesnik512 deleted the fix/pin-faststream-below-0.7.6 branch September 20, 2026 11:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant