Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Move bigtable code into a subpackage#2410

Merged
dhermes merged 2 commits into
googleapis:mastergoogleapis/google-cloud-python:masterfrom
dhermes:make-bigtable-subpackagedhermes/google-cloud-python:make-bigtable-subpackageCopy head branch name to clipboard
Sep 26, 2016
Merged

Move bigtable code into a subpackage#2410
dhermes merged 2 commits into
googleapis:mastergoogleapis/google-cloud-python:masterfrom
dhermes:make-bigtable-subpackagedhermes/google-cloud-python:make-bigtable-subpackageCopy head branch name to clipboard

Conversation

@dhermes

@dhermes dhermes commented Sep 23, 2016

Copy link
Copy Markdown
Contributor

Towards #2404. See #2367 for a reference point.

Done via:

$ mkdir -p bigtable/google/cloud
$ cp google/__init__.py bigtable/google/__init__.py
$ git add bigtable/google/__init__.py
$ cp google/cloud/__init__.py bigtable/google/cloud/__init__.py
$ git add bigtable/google/cloud/__init__.py
$ git mv google/cloud/bigtable bigtable/google/cloud/bigtable
$ git mv unit_tests/bigtable bigtable/unit_tests
- Adding setup.py, MANIFEST.in, README, .coveragerc and tox.ini
- Adding google-cloud-bigtable as a dependency to the umbrella
  package
- Adding the bigtable subdirectory into the list of packages
  for verifying the docs
- Incorporating the bigtable subdirectory into the umbrella
  coverage report
- Adding the bigtable only tox tests to the Travis config
- Updating the project main README to refer the bigtable
  subdirectory
- Renamed bigtable _testing imports (since in a new place)
- Adding {toxinidir}/../core as a dependency for the bigtable
  tox config
- Updating the location of the ignored bigtable generated
  files both in the `pycodestyle` config in `tox.ini`
  and in `run_pylint`

Changed the bigtable test helper import via:

$ git grep -l 'from unit_tests.bigtable._testing import _FakeStub' |
> xargs sed -i s/'from unit_tests.bigtable._testing import _FakeStub'/'from unit_tests._testing import _FakeStub'/g
@dhermes dhermes added packaging api: bigtable Issues related to the Bigtable API. labels Sep 23, 2016
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 23, 2016
@dhermes

dhermes commented Sep 23, 2016

Copy link
Copy Markdown
Contributor Author

For reference, the 2nd commit is essentially these 3 (from core) mushed together:

@dhermes

dhermes commented Sep 23, 2016

Copy link
Copy Markdown
Contributor Author

Just occurred to me that I didn't move the system test.

@tseaver

tseaver commented Sep 26, 2016

Copy link
Copy Markdown
Contributor

@dhermes Before merging, what did you decide to do about the system tests?

@dhermes

dhermes commented Sep 26, 2016

Copy link
Copy Markdown
Contributor Author

I punted to #2404 on system tests.

@tseaver

tseaver commented Sep 26, 2016

Copy link
Copy Markdown
Contributor

LGTM

@dhermes dhermes merged commit d1dd186 into googleapis:master Sep 26, 2016
@dhermes dhermes deleted the make-bigtable-subpackage branch September 26, 2016 19:11
parthea pushed a commit that referenced this pull request Apr 1, 2026
Thank you for opening a Pull Request! Before submitting your PR, there
are a few things you can do to make sure it goes smoothly:
- [x] Make sure to open an issue as a
[bug/issue](https://github.com/googleapis/python-bigquery-dataframes/issues/new/choose)
before writing your code! That way we can discuss the change, evaluate
designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [ ] Appropriate docs were updated (if necessary)

Fixes #2410  🦕
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.