Skip to content

Commit

Permalink
chore: remove 'pip install' statements from python_library templates …
Browse files Browse the repository at this point in the history
…[autoapprove] (#351)

Source-Link: googleapis/synthtool@69fabae
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:562802bfac02e012a6ac34eda282f81d06e77326b82a32d7bbb1369ff552b387

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] committed Aug 24, 2022
1 parent ac979bb commit e50e922
Show file tree
Hide file tree
Showing 6 changed files with 477 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/.OwlBot.lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
digest: sha256:c6c965a4bf40c19011b11f87dbc801a66d3a23fbc6704102be064ef31c51f1c3
# created: 2022-08-09T15:58:56.463048506Z
digest: sha256:562802bfac02e012a6ac34eda282f81d06e77326b82a32d7bbb1369ff552b387
# created: 2022-08-24T17:07:22.006876712Z
4 changes: 1 addition & 3 deletions .kokoro/publish-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,12 @@ export PYTHONUNBUFFERED=1
export PATH="${HOME}/.local/bin:${PATH}"

# Install nox
python3 -m pip install --user --upgrade --quiet nox
python3 -m pip install --require-hashes -r .kokoro/requirements.txt
python3 -m nox --version

# build docs
nox -s docs

python3 -m pip install --user gcp-docuploader

# create metadata
python3 -m docuploader create-metadata \
--name=$(jq --raw-output '.name // empty' .repo-metadata.json) \
Expand Down
5 changes: 1 addition & 4 deletions .kokoro/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,9 @@
set -eo pipefail

# Start the releasetool reporter
python3 -m pip install gcp-releasetool
python3 -m pip install --require-hashes -r .kokoro/requirements.txt
python3 -m releasetool publish-reporter-script > /tmp/publisher-script; source /tmp/publisher-script

# Ensure that we have the latest versions of Twine, Wheel, and Setuptools.
python3 -m pip install --upgrade twine wheel setuptools

# Disable buffering, so that the logs stream through.
export PYTHONUNBUFFERED=1

Expand Down
8 changes: 8 additions & 0 deletions .kokoro/requirements.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
gcp-docuploader
gcp-releasetool
importlib-metadata
typing-extensions
twine
wheel
setuptools
nox

0 comments on commit e50e922

Please sign in to comment.