Thanks to visit codestin.com
Credit goes to github.com

Skip to content

tests(pypi): add tests for namespace shims generation #3066

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

Merged

Conversation

rickeylev
Copy link
Collaborator

This adds functional tests for the generated pkgutil namespace files.

The test works by creating two wheels with the necessary structure:

  • An __init__.py file isn't in the wheel for the namespace package
  • They are both part of the namespace package.
  • The test verifies both are importable.

These are the tests for #3059

@rickeylev rickeylev requested review from aignas and groodt as code owners July 6, 2025 22:40
@rickeylev rickeylev added this pull request to the merge queue Jul 7, 2025
Merged via the queue into bazel-contrib:main with commit 466ac33 Jul 7, 2025
3 checks passed
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