FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Move speech code into a subpackage by dhermes · Pull Request #2431 · googleapis/google-cloud-python · GitHub

Move speech code into a subpackage - #2431

Closed
dhermes wants to merge 4 commits into
googleapis:masterfrom
dhermes:make-speech-subpackage
Closed

Move speech code into a subpackage#2431
dhermes wants to merge 4 commits into
googleapis:masterfrom
dhermes:make-speech-subpackage

Conversation

dhermes commented Sep 26, 2016
edited
Loading

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-speech-subpackage ../hotfix official/master
python make_commits.py \
  --git-root "${PROJECT_DIR}/../hotfix" \
  --package speech \
  --package-name "Google Cloud Speech" \
  --readme "${READMES_DIR}/speech/README.rst"

Last two commits written by hand. Final commit takes it out of the umbrella package since the implementation isn't complete.

FYI @daspecster this will have implications on open PRs.

dhermes added packaging api: speech Issues related to the Speech-to-Text API. labels Sep 26, 2016
googlebot added the cla: yes This human has signed the Contributor License Agreement. label Sep 26, 2016
Done via:

$ mkdir -p speech/google/cloud
$ cp google/__init__.py speech/google/__init__.py
$ git add speech/google/__init__.py
$ cp google/cloud/__init__.py speech/google/cloud/__init__.py
$ git add speech/google/cloud/__init__.py
$ git mv google/cloud/speech speech/google/cloud/speech
$ git mv unit_tests/speech speech/unit_tests
- Adding README, setup.py, MANIFEST.in, .coveragerc and tox.ini
- Adding google-cloud-speech as a dependency to the umbrella
  package
- Adding the speech subdirectory into the list of packages
  for verifying the docs
- Incorporating the speech subdirectory into the umbrella
  coverage report
- Adding the speech only tox tests to the Travis config
- Adding {toxinidir}/../core as a dependency for the speech
  tox config
Done via:

$ git grep -l 'unit_tests.speech._fixtures' |
> xargs sed -i s/'unit_tests.speech._fixtures'/'unit_tests._fixtures'/g
This is because the implementation is not complete.
dhermes force-pushed the make-speech-subpackage branch from 2a5022f to 9c00d52 Compare September 27, 2016 00:11

dhermes commented Sep 27, 2016

Copy link
Copy Markdown
Contributor Author

Rebased after #2432. Had a Green build but I can't merge this because after it's over, the google/ and unit_tests/ directories are empty, which makes the umbrella tox -e py${VERSION}$ tests fail.

dhermes closed this Sep 27, 2016
dhermes deleted the make-speech-subpackage branch September 27, 2016 00:12
parthea pushed a commit that referenced this pull request Apr 1, 2026
Skip all blob tests

Fixes #<481790217> 🦕
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: speech Issues related to the Speech-to-Text 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


Back | FazBrowse Home | New Git URL