Skip to content

Commit 91904bf

Browse files
authored
chore: Upgrade to later version of gcp-uploader and protobuf (#1741)
* chore: Upgrade to later version of gcp-uploader and protobuf * chore: Add secretstorage version * chore: Use python 3.9.13 * chore: Unpin all python versions * chore: Rerun pipcompile tool * chore: Rerun pipcompile tool with --allow-unsafe * chore: Add --require-hashes * chore: Update requirements file * chore: Remove --require-hashes * chore: Print python version * chore: Add new generated hashes for requirements.txt * chore: Remove python version check in cloud build * chore: Allow synthtool to update python dependencies * chore: Add typing-extensions into requirements * chore: Unpin docker requirements.in file * chore: Add java synthtool validation * chore: Add check to import java synthtool python package
1 parent a5e7dbd commit 91904bf

File tree

6 files changed

+106
-169
lines changed

6 files changed

+106
-169
lines changed

docker/owlbot/java/container_test.yaml

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,26 @@
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
1414

15-
schemaVersion: 1.0.0
15+
schemaVersion: 2.0.0
1616
commandTests:
1717
- name: "version"
18-
command: ["java", "-version"]
18+
command: "java"
19+
args: ["-version"]
1920
# java -version outputs to stderr...
2021
expectedError: ["(java|openjdk) version \"1.8.*\""]
2122
- name: "formatter"
22-
command: ["java", "-jar", "/owlbot/google-java-format.jar", "--version"]
23+
command: "java"
24+
args: ["-jar", "/owlbot/google-java-format.jar", "--version"]
2325
expectedError: ["google-java-format: Version 1.7"]
2426
- name: "python"
25-
command: ["python", "--version"]
26-
expectedOutput: ["Python 3.6.1"]
27+
command: "python"
28+
args: ["--version"]
29+
expectedOutput: ["Python 3.9.13"]
30+
- name: "java synthtool validation"
31+
command: "python"
32+
# Use YAML List Style for this command
33+
# Having to use backslash for quotes (\") was resulting in an invalid test
34+
args:
35+
- -c
36+
- 'import synthtool.languages.java; print("import success")'
37+
expectedOutput: ["import success"]
Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
attrs==22.1.0
2-
click==7.1.2
3-
jinja2==3.0.3
4-
lxml==4.6.5
5-
typing==3.7.4.3
6-
markupsafe==2.0.1
7-
colorlog==6.7.0
8-
protobuf==3.19.5
9-
watchdog==2.1.9
10-
requests==2.27.1
11-
pyyaml==6.0
1+
attrs
2+
click
3+
jinja2
4+
lxml
5+
typing
6+
markupsafe
7+
colorlog
8+
protobuf
9+
watchdog
10+
requests
11+
pyyaml

docker/owlbot/java/src/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#
2-
# This file is autogenerated by pip-compile with python 3.10
3-
# To update, run:
2+
# This file is autogenerated by pip-compile with Python 3.9
3+
# by the following command:
44
#
55
# pip-compile --allow-unsafe --generate-hashes requirements.in
66
#

renovate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": [
33
"schedule:weekly"
44
],
5-
"ignorePaths": ["*/**", "synthtool/gcp/templates/java_library/.kokoro/requirements.txt", "synthtool/docker/owlbot/java/src/requirements.txt"],
5+
"ignorePaths": ["*/**"],
66
"internalChecksFilter": "strict",
77
"stabilityDays": 30,
88
"timezone": "America/Los_Angeles",
Lines changed: 6 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,6 @@
1-
gcp-docuploader==0.6.3
2-
google-crc32c==1.3.0
3-
googleapis-common-protos==1.56.3
4-
gcp-releasetool==1.9.1
5-
cryptography==38.0.3
6-
cachetools==4.2.4
7-
cffi==1.15.1
8-
jeepney==0.7.1
9-
jinja2==3.0.3
10-
markupsafe==2.0.1
11-
keyring==23.4.1
12-
packaging==21.3
13-
protobuf==3.19.5
14-
pyjwt==2.4.0
15-
pyparsing==3.0.9
16-
pycparser==2.21
17-
pyperclip==1.8.2
18-
python-dateutil==2.8.2
19-
requests==2.27.1
20-
certifi==2022.12.7
21-
importlib-metadata==4.8.3
22-
zipp==3.6.0
23-
google_api_core==2.8.2
24-
google-cloud-storage==2.0.0
25-
google-resumable-media==2.3.3
26-
google-cloud-core==2.3.1
27-
typing-extensions==4.1.1
28-
urllib3==1.26.12
29-
zipp==3.6.0
30-
rsa==4.9
31-
six==1.16.0
32-
attrs==22.1.0
33-
google-auth==2.14.1
34-
idna==3.4
1+
gcp-docuploader
2+
gcp-releasetool
3+
wheel
4+
setuptools
5+
typing-extensions
6+
click<8.1.0

0 commit comments

Comments
 (0)