This is an automated email from the ASF dual-hosted git repository.

martijnvisser pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 9a5cb260995 [FLINK-29531][Formats][Protobuf] Bump protoc and 
protobuf-java dependencies to 3.21.7. This closes #20978
9a5cb260995 is described below

commit 9a5cb26099575494387205269da38e587e31fc28
Author: MartijnVisser <[email protected]>
AuthorDate: Fri Oct 7 06:22:12 2022 -0500

    [FLINK-29531][Formats][Protobuf] Bump protoc and protobuf-java dependencies 
to 3.21.7. This closes #20978
    
    * [FLINK-29531][Formats][Protobuf] Bump Protoc dependencies to v3.21.7
    
    * [FLINK-29531][Formats][Protobuf] Bump protobuf-java dependencies to 
v3.21.7
    
    * [FLINK-29531][Python][Protobuf] Bump protobuf dependencies to at least 
3.20.2
    
    * [FLINK-29531[Python][Protobuf] Update NOTICE files
---
 flink-end-to-end-tests/flink-glue-schema-registry-avro-test/pom.xml | 2 +-
 flink-end-to-end-tests/flink-glue-schema-registry-json-test/pom.xml | 2 +-
 flink-formats/flink-avro-glue-schema-registry/pom.xml               | 2 +-
 flink-formats/flink-json-glue-schema-registry/pom.xml               | 2 +-
 flink-formats/flink-sql-protobuf/src/main/resources/META-INF/NOTICE | 2 +-
 flink-python/dev/dev-requirements.txt                               | 2 +-
 flink-python/src/main/resources/META-INF/NOTICE                     | 2 +-
 pom.xml                                                             | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git 
a/flink-end-to-end-tests/flink-glue-schema-registry-avro-test/pom.xml 
b/flink-end-to-end-tests/flink-glue-schema-registry-avro-test/pom.xml
index 63adebe1801..90cf2948009 100644
--- a/flink-end-to-end-tests/flink-glue-schema-registry-avro-test/pom.xml
+++ b/flink-end-to-end-tests/flink-glue-schema-registry-avro-test/pom.xml
@@ -58,7 +58,7 @@ under the License.
                        <dependency>
                                <groupId>com.google.protobuf</groupId>
                                <artifactId>protobuf-java</artifactId>
-                               <version>3.19.4</version>
+                               <version>3.21.7</version>
                        </dependency>
                        <dependency>
                                <groupId>com.google.guava</groupId>
diff --git 
a/flink-end-to-end-tests/flink-glue-schema-registry-json-test/pom.xml 
b/flink-end-to-end-tests/flink-glue-schema-registry-json-test/pom.xml
index babd08245ee..6bdd9c7d71c 100644
--- a/flink-end-to-end-tests/flink-glue-schema-registry-json-test/pom.xml
+++ b/flink-end-to-end-tests/flink-glue-schema-registry-json-test/pom.xml
@@ -58,7 +58,7 @@ under the License.
                        <dependency>
                                <groupId>com.google.protobuf</groupId>
                                <artifactId>protobuf-java</artifactId>
-                               <version>3.19.4</version>
+                               <version>3.21.7</version>
                        </dependency>
                        <dependency>
                                <groupId>com.google.guava</groupId>
diff --git a/flink-formats/flink-avro-glue-schema-registry/pom.xml 
b/flink-formats/flink-avro-glue-schema-registry/pom.xml
index 336fdba79b3..ec949d75ec9 100644
--- a/flink-formats/flink-avro-glue-schema-registry/pom.xml
+++ b/flink-formats/flink-avro-glue-schema-registry/pom.xml
@@ -52,7 +52,7 @@ under the License.
                        <dependency>
                                <groupId>com.google.protobuf</groupId>
                                <artifactId>protobuf-java</artifactId>
-                               <version>3.19.4</version>
+                               <version>3.21.7</version>
                        </dependency>
                        <dependency>
                                <groupId>com.google.guava</groupId>
diff --git a/flink-formats/flink-json-glue-schema-registry/pom.xml 
b/flink-formats/flink-json-glue-schema-registry/pom.xml
index 6d9f348c87e..921b4487301 100644
--- a/flink-formats/flink-json-glue-schema-registry/pom.xml
+++ b/flink-formats/flink-json-glue-schema-registry/pom.xml
@@ -53,7 +53,7 @@ under the License.
                        <dependency>
                                <groupId>com.google.protobuf</groupId>
                                <artifactId>protobuf-java</artifactId>
-                               <version>3.19.4</version>
+                               <version>3.21.7</version>
                        </dependency>
                        <dependency>
                                <groupId>com.google.guava</groupId>
diff --git 
a/flink-formats/flink-sql-protobuf/src/main/resources/META-INF/NOTICE 
b/flink-formats/flink-sql-protobuf/src/main/resources/META-INF/NOTICE
index 8fd8106a6c2..95526408f39 100644
--- a/flink-formats/flink-sql-protobuf/src/main/resources/META-INF/NOTICE
+++ b/flink-formats/flink-sql-protobuf/src/main/resources/META-INF/NOTICE
@@ -7,4 +7,4 @@ The Apache Software Foundation (http://www.apache.org/).
 This project bundles the following dependencies under BSD-3 License 
(https://opensource.org/licenses/BSD-3-Clause).
 See bundled license files for details.
 
-- com.google.protobuf:protobuf-java:3.21.2
+- com.google.protobuf:protobuf-java:3.21.7
diff --git a/flink-python/dev/dev-requirements.txt 
b/flink-python/dev/dev-requirements.txt
index ade4dbf0f1e..b127aec2fdd 100755
--- a/flink-python/dev/dev-requirements.txt
+++ b/flink-python/dev/dev-requirements.txt
@@ -33,4 +33,4 @@ grpcio>=1.29.0,<=1.46.3
 grpcio-tools>=1.29.0,<=1.46.3
 pemja==0.2.4; python_version >= '3.7' and platform_system != 'Windows'
 httplib2>=0.19.0,<=0.20.4
-protobuf<3.18
\ No newline at end of file
+protobuf<=3.21
diff --git a/flink-python/src/main/resources/META-INF/NOTICE 
b/flink-python/src/main/resources/META-INF/NOTICE
index d8290c98a70..54f9bdb44d9 100644
--- a/flink-python/src/main/resources/META-INF/NOTICE
+++ b/flink-python/src/main/resources/META-INF/NOTICE
@@ -34,7 +34,7 @@ This project bundles the following dependencies under the BSD 
license.
 See bundled license files for details
 
 - net.sf.py4j:py4j:0.10.9.3
-- com.google.protobuf:protobuf-java:3.21.2
+- com.google.protobuf:protobuf-java:3.21.7
 
 This project bundles the following dependencies under the MIT license. 
(https://opensource.org/licenses/MIT)
 See bundled license files for details.
diff --git a/pom.xml b/pom.xml
index 89f29740c9d..ead96d7cc30 100644
--- a/pom.xml
+++ b/pom.xml
@@ -153,7 +153,7 @@ under the License.
                <assertj.version>3.23.1</assertj.version>
                <py4j.version>0.10.9.3</py4j.version>
                <beam.version>2.38.0</beam.version>
-               <protoc.version>3.21.2</protoc.version>
+               <protoc.version>3.21.7</protoc.version>
                <okhttp.version>3.14.9</okhttp.version>
                <testcontainers.version>1.17.2</testcontainers.version>
                <lz4.version>1.8.0</lz4.version>

Reply via email to