GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: Introduce compatibility with native namespace packages by parthea · Pull Request #1720 · googleapis/python-bigquery

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

Conversation

@parthea

@parthea parthea commented Nov 13, 2023

Copy link
Copy Markdown
Contributor

Similar to googleapis/google-auth-library-python#1205
Also see https://packaging.python.org/en/latest/guides/packaging-namespace-packages/#native-namespace-packages

Fixes #313 🦕

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

parthea commented Nov 13, 2023

Copy link
Copy Markdown
Contributor Author

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@parthea
parthea force-pushed the migrate-to-native-namespace-packages branch from fbeb2b0 to c9a0753 Compare November 13, 2023 20:24
@parthea parthea self-assigned this Nov 13, 2023
@parthea
parthea force-pushed the migrate-to-native-namespace-packages branch 2 times, most recently from 336a9dc to e69ce81 Compare November 14, 2023 10:48
@parthea
feat: Introduce compatibility with native namespace packages
df642b0
@parthea
parthea force-pushed the migrate-to-native-namespace-packages branch from e69ce81 to df642b0 Compare November 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 mrfaizal November 14, 2023 15:05
@parthea
Update copyright year
5d8e3a2
@kiraksi kiraksi mentioned this pull request Nov 14, 2023
feat: introduce compatibility with native namespace packages googleapis/python-bigquery-storage#706
Merged
4 tasks done
kiraksi
kiraksi approved these changes Nov 16, 2023
View reviewed changes

@kiraksi kiraksi left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread tests/unit/test_packaging.py
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)

@kiraksi kiraksi Nov 16, 2023

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
This was referenced Nov 16, 2023
Remove pkg_resource dependency after native namespace compatibility is implemented #1725
Closed
feat: removed pkg_resources from all test files and moved importlib into pandas extra #1726
Merged
@parthea

parthea commented Nov 21, 2023

Copy link
Copy Markdown
Contributor Author

Superseded by #1726

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

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

Reviewers

@mrfaizal mrfaizal Awaiting requested review from mrfaizal
1 more reviewer
@kiraksi kiraksi kiraksi approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@parthea parthea

Labels

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

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

use native support for namespace packages

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@parthea @kiraksi
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.