GeezerVison is showing github.com — Copybara import of the project: · meken/python-aiplatform@d84f687
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/.OwlBot.lock.yaml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
13 | 13 | # limitations under the License. |
14 | 14 | docker: |
15 | 15 | image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest |
16 | | - digest: sha256:7a40313731a7cb1454eef6b33d3446ebb121836738dc3ab3d2d3ded5268c35b6 |
| 16 | + digest: sha256:ddf4551385d566771dc713090feb7b4c1164fb8a698fe52bbe7670b24236565b |
Collapse file
Copy file name to clipboardExpand all lines: .kokoro/docker/docs/Dockerfile +6-6Lines changed: 6 additions & 6 deletions | Original file line number | Diff line number | Diff line change |
|---|
@@ -60,16 +60,16 @@ RUN apt-get update \ |
60 | 60 | && rm -rf /var/lib/apt/lists/* \ |
61 | 61 | && rm -f /var/cache/apt/archives/*.deb |
62 | 62 |
|
63 | | -###################### Install python 3.8.11 |
| 63 | +###################### Install python 3.9.13 |
64 | 64 |
|
65 | | -# Download python 3.8.11 |
66 | | -RUN wget https://www.python.org/ftp/python/3.8.11/Python-3.8.11.tgz |
| 65 | +# Download python 3.9.13 |
| 66 | +RUN wget https://www.python.org/ftp/python/3.9.13/Python-3.9.13.tgz |
67 | 67 |
|
68 | 68 | # Extract files |
69 | | -RUN tar -xvf Python-3.8.11.tgz |
| 69 | +RUN tar -xvf Python-3.9.13.tgz |
70 | 70 |
|
71 | | -# Install python 3.8.11 |
72 | | -RUN ./Python-3.8.11/configure --enable-optimizations |
| 71 | +# Install python 3.9.13 |
| 72 | +RUN ./Python-3.9.13/configure --enable-optimizations |
73 | 73 | RUN make altinstall |
74 | 74 |
|
75 | 75 | ###################### Install pip |
|
Collapse file
Copy file name to clipboard +4-2Lines changed: 4 additions & 2 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | 1 | gcp-docuploader |
2 | | -gcp-releasetool |
| 2 | +gcp-releasetool>=1.10.5 # required for compatibility with cryptography>=39.x |
3 | 3 | importlib-metadata |
4 | 4 | typing-extensions |
5 | 5 | twine |
6 | 6 | wheel |
7 | 7 | setuptools |
8 | | -nox |
| 8 | +nox>=2022.11.21 # required to remove dependency on py |
| 9 | +charset-normalizer<3 |
| 10 | +click<8.1.0 |
Collapse file
Copy file name to clipboardExpand all lines: .kokoro/requirements.txt +194-173Lines changed: 194 additions & 173 deletions Large diffs are not rendered by default.
Collapse file
Copy file name to clipboard +40Lines changed: 40 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +# Format: //devtools/kokoro/config/proto/build.proto |
| 2 | + |
| 3 | +# Build logs will be here |
| 4 | +action { |
| 5 | + define_artifacts { |
| 6 | + regex: "**/*sponge_log.xml" |
| 7 | + } |
| 8 | +} |
| 9 | + |
| 10 | +# Specify which tests to run |
| 11 | +env_vars: { |
| 12 | + key: "RUN_TESTS_SESSION" |
| 13 | + value: "py-3.11" |
| 14 | +} |
| 15 | + |
| 16 | +# Declare build specific Cloud project. |
| 17 | +env_vars: { |
| 18 | + key: "BUILD_SPECIFIC_GCLOUD_PROJECT" |
| 19 | + value: "ucaip-sample-tests" |
| 20 | +} |
| 21 | + |
| 22 | +env_vars: { |
| 23 | + key: "TRAMPOLINE_BUILD_FILE" |
| 24 | + value: "github/python-aiplatform/.kokoro/test-samples.sh" |
| 25 | +} |
| 26 | + |
| 27 | +# Configure the docker image for kokoro-trampoline. |
| 28 | +env_vars: { |
| 29 | + key: "TRAMPOLINE_IMAGE" |
| 30 | + value: "gcr.io/cloud-devrel-kokoro-resources/python-samples-testing-docker" |
| 31 | +} |
| 32 | + |
| 33 | +# Download secrets for samples |
| 34 | +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/python-docs-samples" |
| 35 | + |
| 36 | +# Download trampoline resources. |
| 37 | +gfile_resources: "/bigstore/cloud-devrel-kokoro-resources/trampoline" |
| 38 | + |
| 39 | +# Use the trampoline script to run in docker. |
| 40 | +build_file: "python-aiplatform/.kokoro/trampoline_v2.sh" |
Collapse file
Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +# Format: //devtools/kokoro/config/proto/build.proto |
| 2 | + |
| 3 | +env_vars: { |
| 4 | + key: "INSTALL_LIBRARY_FROM_SOURCE" |
| 5 | + value: "True" |
| 6 | +} |
Collapse file
Copy file name to clipboard +11Lines changed: 11 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +# Format: //devtools/kokoro/config/proto/build.proto |
| 2 | + |
| 3 | +env_vars: { |
| 4 | + key: "INSTALL_LIBRARY_FROM_SOURCE" |
| 5 | + value: "True" |
| 6 | +} |
| 7 | + |
| 8 | +env_vars: { |
| 9 | + key: "TRAMPOLINE_BUILD_FILE" |
| 10 | + value: "github/python-aiplatform/.kokoro/test-samples-against-head.sh" |
| 11 | +} |
Collapse file
Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +# Format: //devtools/kokoro/config/proto/build.proto |
| 2 | + |
| 3 | +env_vars: { |
| 4 | + key: "INSTALL_LIBRARY_FROM_SOURCE" |
| 5 | + value: "False" |
| 6 | +} |
Collapse file
Copy file name to clipboard +6Lines changed: 6 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +# Format: //devtools/kokoro/config/proto/build.proto |
| 2 | + |
| 3 | +env_vars: { |
| 4 | + key: "INSTALL_LIBRARY_FROM_SOURCE" |
| 5 | + value: "True" |
| 6 | +} |
Collapse file
Copy file name to clipboardExpand all lines: .pre-commit-config.yaml +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
25 | 25 | rev: 22.3.0 |
26 | 26 | hooks: |
27 | 27 | - id: black |
28 | | -- repo: https://gitlab.com/pycqa/flake8 |
| 28 | +- repo: https://github.com/pycqa/flake8 |
29 | 29 | rev: 3.9.2 |
30 | 30 | hooks: |
31 | 31 | - id: flake8 |