Skip to content

feat(common): Make python-common installable - #2

Merged
LucienShui merged 4 commits into
mainfrom
feat/omnibox-bot-model-parameters-2676
Oct 1, 2026
Merged

LucienShui merged 4 commits into
mainfrom
feat/omnibox-bot-model-parameters-2676

Conversation

@LucienShui

Copy link
Copy Markdown
Contributor

Problem

python-common is currently consumed as a source submodule and has no installable package metadata. Its project_root lookup also walks forever when the package is installed under site-packages.

Changes

  • Add setuptools package metadata and runtime dependencies.
  • Package the existing repository root as the common import package without moving files.
  • Resolve the consumer project root from the importing caller when the package is installed.

Validation

  • uv build
  • Installed the wheel into a simulated site-packages directory.
  • Verified project_root resolves to the consuming project's directory and excludes site-packages.

@LucienShui
LucienShui merged commit 80c3d09 into main Oct 1, 2026
1 check passed
@LucienShui
LucienShui deleted the feat/omnibox-bot-model-parameters-2676 branch October 1, 2026 13:28
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