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] (#14)

Source-Link: googleapis/synthtool@1f37ce7
Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:8e84e0e0d71a0d681668461bba02c9e1394c785f31a10ae3470660235b673086
  • Loading branch information
gcf-owl-bot[bot] authored Aug 24, 2022
1 parent 14b3b9a commit 964c9aa
Show file tree
Hide file tree
Showing 5 changed files with 476 additions and 9 deletions.
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:8e84e0e0d71a0d681668461bba02c9e1394c785f31a10ae3470660235b673086
# created: 2022-08-24T15:24:05.205983455Z
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
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
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
Loading

0 comments on commit 964c9aa

Please sign in to comment.