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 — Move bigquery code into a subpackage by dhermes · Pull Request #2418 · googleapis/google-cloud-python

Conversation

@dhermes

@dhermes dhermes commented Sep 25, 2016

Copy link
Copy Markdown
Contributor

This PR was created via: https://gist.github.com/dhermes/e239691aa584bd56a5352e34aad27cf3

export PROJECT_DIR="${HOME}/google-cloud-python"
export READMES_DIR="${HOME}/i-wrote-some-readmes-for-2357"
cd ${PROJECT_DIR}
git worktree add -b make-bigquery-subpackage ../hotfix official/master
python make_commits.py \
  --git-root "${PROJECT_DIR}/../hotfix" \
  --package bigquery \
  --package-name "Google BigQuery" \
  --readme "${READMES_DIR}/bigquery/README.rst"

Sorry, something went wrong.

Uh oh!

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

All reactions
@dhermes dhermes added api: bigquery Issues related to the BigQuery API. packaging labels Sep 25, 2016
@dhermes dhermes assigned tseaver and theacodes Sep 25, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 25, 2016
@dhermes dhermes mentioned this pull request Sep 25, 2016
[TRACKING] Move all packages into subpackages #2404
Closed
25 of 32 tasks
theacodes
theacodes approved these changes Sep 25, 2016
View reviewed changes
Comment thread bigquery/README.rst Outdated
query.run()

for row in query.rows:
print row

This comment was marked as spam.

Sign in to view

Sorry, something went wrong.

Uh oh!

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

@dhermes
dhermes force-pushed the make-bigquery-subpackage branch from 6b7e52e to dec1f3d Compare September 26, 2016 16:34
@dhermes

dhermes commented Sep 26, 2016

Copy link
Copy Markdown
Contributor Author

Folded the print(...) change into 2nd commit

All reactions

Sorry, something went wrong.

Uh oh!

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

@tseaver

tseaver commented Sep 26, 2016

Copy link
Copy Markdown
Contributor

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

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

dhermes added 2 commits September 26, 2016 12:43
@dhermes
Moving all bigquery files into subdirectory.
bcb12eb
Done via:

$ mkdir -p bigquery/google/cloud
$ cp google/__init__.py bigquery/google/__init__.py
$ git add bigquery/google/__init__.py
$ cp google/cloud/__init__.py bigquery/google/cloud/__init__.py
$ git add bigquery/google/cloud/__init__.py
$ git mv google/cloud/bigquery bigquery/google/cloud/bigquery
$ git mv unit_tests/bigquery bigquery/unit_tests
@dhermes
Making bigquery subpackage into a proper package.
9670183
- Adding README, setup.py, MANIFEST.in, .coveragerc and tox.ini
- Adding google-cloud-bigquery as a dependency to the umbrella
  package
- Adding the bigquery subdirectory into the list of packages
  for verifying the docs
- Incorporating the bigquery subdirectory into the umbrella
  coverage report
- Adding the bigquery only tox tests to the Travis config
- Adding {toxinidir}/../core as a dependency for the bigquery
  tox config
@dhermes
dhermes force-pushed the make-bigquery-subpackage branch from dec1f3d to 9670183 Compare September 26, 2016 19:44
@dhermes

dhermes commented Sep 26, 2016

Copy link
Copy Markdown
Contributor Author

As with #2416 and #2417, Pushed to resolve rebase conflict and re-ran script. Won't wait on Travis since a) that could be awhile and b) this will be painful.

All reactions

Sorry, something went wrong.

Uh oh!

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

@dhermes
dhermes merged commit afd0ae4 into googleapis:master Sep 26, 2016
@dhermes
dhermes deleted the make-bigquery-subpackage branch September 26, 2016 19:45
@dhermes dhermes mentioned this pull request Sep 26, 2016
Move logging code into a subpackage #2420
Merged
parthea pushed a commit that referenced this pull request Apr 1, 2026
@TrevorBergeron
deps: Drop support for python 3.9 (#2418)
5d0ffb8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer
@theacodes theacodes theacodes approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

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

Assignees

@tseaver tseaver

@theacodes theacodes

Labels

api: bigquery Issues related to the BigQuery API. cla: yes This human has signed the Contributor License Agreement. packaging

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

4 participants

@dhermes @tseaver @theacodes @googlebot
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.