Skip to content

Conversation

@xseman
Copy link

@xseman xseman commented Jan 14, 2026

Fixes #2573

  • Add getDefaultPackageName() method to Python strategy to extract package name from pyproject.toml
  • Support both project.name and tool.poetry.name formats in pyproject.toml
  • Add fallback to setup.py if pyproject.toml doesn't contain package name
  • Add missing 'path', 'component', and 'package-name' properties to config schema

…chema properties

- Add getDefaultPackageName() method to Python strategy to extract package name from pyproject.toml
- Support both project.name and tool.poetry.name formats in pyproject.toml
- Add fallback to setup.py if pyproject.toml doesn't contain package name
- Add missing 'path', 'component', and 'package-name' properties to config schema

Fixes googleapis#2573
@xseman xseman requested review from a team as code owners January 14, 2026 19:30
@google-cla
Copy link

google-cla bot commented Jan 14, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@product-auto-label product-auto-label bot added the size: s Pull request size is small. label Jan 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size: s Pull request size is small.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing component field in config schema - python monorepo

2 participants