Commit a507457
authored
Upgrade bazel to v6.5.0, upgrade protobuf, tensorflow and dependent deps (#2290)
Summary: Upgrade Bazel from 6.2.0 to 6.5.0 along with protobuf,
tensorflow, and related dependencies. This is a coordinated upgrade
since these dependencies have hard interdependencies that make
incremental upgrades difficult.
Key changes
- Upgrade Bazel from 6.2.0 to 6.5.0 (required by these new dependencies)
- Protobuf upgrade with compatibility patches for text format handling
and JavaScript generation
- TensorFlow upgrade with patches to disable GPU/LLVM/Python features.
The GPU disable patch will not be necessary as TensorFlow's fallback
logic will work with Bazel 7
- gRPC-web upgrade to 2.0.2 and replacement of the vendored
`protoc-gen-grpc-web` with a Bazel repository
- Flatbuffers patched to remove rules_js dependency (this upgrade is
required by TensorFlow v2.20.0)
- absl upgrade (causes transitive header changes)
- Regenerated TypeScript protobuf bindings for the UI
I attempted to split this into a smaller change in #2296. TensorFlow has
a tight dependency on protobuf, which prevented that attempt from
working. I'm open to other ideas on how to split this up, but so far
this seemed like the best balance with #2293 and #2297 to follow to
complete the Bazel 7 migration.
Relevant Issues: #2282
Type of change: /kind cleanup
Test Plan: Build passes
---------
Signed-off-by: Dom Del Nano <ddelnano@gmail.com>1 parent 521c0e2 commit a507457
File tree
33 files changed
+1462
-2629
lines changed- bazel
- external
- src
- carnot/exec
- ml
- stirling
- e2e_tests
- source_connectors/socket_tracer
- ui
- src
- api
- types/generated
- third_party/protoc-gen-grpc-web
33 files changed
+1462
-2629
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
1 | 14 | | |
2 | | - | |
| 15 | + | |
3 | 16 | | |
4 | 17 | | |
5 | | - | |
| 18 | + | |
6 | 19 | | |
7 | 20 | | |
8 | | - | |
| 21 | + | |
9 | 22 | | |
10 | 23 | | |
11 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 1 | | |
28 | | - | |
| 2 | + | |
29 | 3 | | |
30 | 4 | | |
31 | | - | |
| 5 | + | |
32 | 6 | | |
33 | 7 | | |
34 | | - | |
35 | | - | |
36 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
37 | 11 | | |
38 | 12 | | |
39 | 13 | | |
| |||
44 | 18 | | |
45 | 19 | | |
46 | 20 | | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
51 | 25 | | |
52 | 26 | | |
53 | 27 | | |
| |||
60 | 34 | | |
61 | 35 | | |
62 | 36 | | |
63 | | - | |
| 37 | + | |
64 | 38 | | |
65 | 39 | | |
66 | 40 | | |
67 | 41 | | |
68 | 42 | | |
69 | | - | |
| 43 | + | |
70 | 44 | | |
71 | 45 | | |
72 | 46 | | |
73 | 47 | | |
74 | | - | |
| 48 | + | |
75 | 49 | | |
76 | 50 | | |
77 | | - | |
| 51 | + | |
78 | 52 | | |
79 | 53 | | |
80 | 54 | | |
81 | 55 | | |
82 | 56 | | |
83 | 57 | | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
90 | 64 | | |
91 | 65 | | |
92 | 66 | | |
93 | | - | |
| 67 | + | |
94 | 68 | | |
95 | | - | |
| 69 | + | |
96 | 70 | | |
97 | 71 | | |
98 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | | - | |
23 | | - | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | | - | |
26 | | - | |
| 25 | + | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
| 29 | + | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
1 | 23 | | |
2 | | - | |
| 24 | + | |
3 | 25 | | |
4 | 26 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
| 27 | + | |
11 | 28 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
17 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
18 | 50 | | |
19 | 51 | | |
| 52 | + | |
| 53 | + | |
20 | 54 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
28 | 60 | | |
29 | 61 | | |
30 | 62 | | |
31 | 63 | | |
32 | 64 | | |
33 | 65 | | |
34 | | - | |
35 | | - | |
| 66 | + | |
| 67 | + | |
0 commit comments