Skip to content

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.logging.context import LoggingContext, make_deferred_yieldable
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
@clokep clokep merged commit b4b6525 into master May 5, 2020
@clokep clokep deleted the clokep/logging-context-update branch May 5, 2020 11:11
MadLittleMods added a commit to element-hq/synapse that referenced this pull request Oct 2, 2025
…t.current_context` methods (#18989)

These were added for backwards compatibility (and essentially
deprecated) in matrix-org/synapse#7408
(2020-05-04) because
[`synapse-s3-storage-provider`](https://github.com/matrix-org/synapse-s3-storage-provider)
previously relied on them -- but `synapse-s3-storage-provider` since
been
[updated](matrix-org/synapse-s3-storage-provider#36)
to no longer use them.
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.

3 participants