Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compatibility for upcoming changes to Synapse #36

Merged
merged 3 commits into from
May 5, 2020

Conversation

clokep
Copy link
Member

@clokep clokep commented May 4, 2020

Synapse v1.13.0 will have a change to logging contexts that we must adapt to. These changes were made in matrix-org/synapse#7120 (also see matrix-org/synapse#7400).

from synapse.rest.media.v1._base import Responder
from synapse.rest.media.v1.storage_provider import StorageProvider
from synapse.util.logcontext import LoggingContext, make_deferred_yieldable
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be a deprecated import path last touched in July 2019 (1.2.0rc1).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Although I'm now realizing I didn't even end up touching this line at the end of this PR. I can revert if we want.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seeing as this PR is about updating import paths I think it's fine to leave in :)

@clokep clokep requested a review from a team May 4, 2020 16:29
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.

2 participants