Skip to content
This repository was archived by the owner on Mar 6, 2026. It is now read-only.

feat: Introduce compatibility with native namespace packages - #1720

Closed
parthea wants to merge 2 commits into
mainfrom
migrate-to-native-namespace-packages
Closed

feat: Introduce compatibility with native namespace packages#1720
parthea wants to merge 2 commits into
mainfrom
migrate-to-native-namespace-packages

Conversation

@parthea

Copy link
Copy Markdown
Contributor

@product-auto-labelproduct-auto-labelBot added size: m Pull request size is medium. api: bigquery Issues related to the googleapis/python-bigquery API. labels Nov 13, 2023
@parthea
partheaforce-pushed the migrate-to-native-namespace-packages branch 3 times, most recently from 695affd to fbeb2b0CompareNovember 13, 2023 17:58
@partheaparthea added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 13, 2023
@parthea

Copy link
Copy Markdown
ContributorAuthor

Adding do not merge as there is an upcoming release freeze. This should be merged after the release freeze ends on November 29th.

@parthea
partheaforce-pushed the migrate-to-native-namespace-packages branch from fbeb2b0 to c9a0753CompareNovember 13, 2023 20:24
@partheaparthea self-assigned this Nov 13, 2023
@parthea
partheaforce-pushed the migrate-to-native-namespace-packages branch 2 times, most recently from 336a9dc to e69ce81CompareNovember 14, 2023 10:48
@parthea
partheaforce-pushed the migrate-to-native-namespace-packages branch from e69ce81 to df642b0CompareNovember 14, 2023 10:49
@parthea
parthea marked this pull request as ready for review November 14, 2023 15:05
@parthea
parthea requested review from a team and mrfaizalNovember 14, 2023 15:05

@kiraksikiraksi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

google.joinpath("othermod.py").write_text("")
env = dict(os.environ, PYTHONPATH=str(tmp_path))
cmd = [sys.executable, "-m", "google.othermod"]
subprocess.check_call(cmd, env=env)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were you able to run this test with subprocess without specifying to do it in the shell? It wasn't able to find the tmp path without me specifying to run in the shell, which is the small edit I did in the other PR for this

@parthea

Copy link
Copy Markdown
ContributorAuthor

Superseded by #1726

@partheaparthea closed this Nov 21, 2023
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigqueryIssues related to the googleapis/python-bigquery API.do not mergeIndicates a pull request not ready for merge, due to either quality or timing.size: mPull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

use native support for namespace packages

2 participants

@parthea@kiraksi