Skip to content

[Brook G1] Moved temporalio/common.py into a package. - #367

Closed
moetemp wants to merge 1 commit into
moe/brook/review/basefrom
moe/brook/review/g1-common-package
Closed

moetemp wants to merge 1 commit into
moe/brook/review/basefrom
moe/brook/review/g1-common-package

Conversation

@moetemp

@moetemp moetemp commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

What was changed

This PR renames temporalio/common.py to temporalio/common/__init__.py.

It's a pure git mv. The import path stays temporalio.common.

Depends on nothing.
Part of the Brook review series.

Why?

A package can hold private submodules, and the Streams PRs put their code under temporalio/common/_streams/. The rename doesn't need Streams, so it can merge first and alone. Users see no change, so there's no changelog fragment.

Checklist

  1. How was this tested:
    • poe lint, poe gen-docs and the common and converter tests.
    • Fork CI passes, except the arm jobs, since the fork has no arm runners.

A package can hold private submodules, such as the Streams API, under
`temporalio.common`. The code and the import path stay the same.
@moetemp

moetemp commented Nov 5, 2026

Copy link
Copy Markdown
Owner Author

Closing this. The Streams code now lives in its own temporalio.streams package, so nothing needs temporalio/common.py to become a package.

@moetemp moetemp closed this Nov 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Changelog entry rides another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant