Skip to content

Commit

Permalink
[FLINK-26842][python] Remove scala-bridge dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Mar 28, 2022
1 parent 45ba303 commit 8f51746
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion flink-dist/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ under the License.

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-python_${scala.binary.version}</artifactId>
<artifactId>flink-python</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
Expand Down
4 changes: 2 additions & 2 deletions flink-dist/src/main/assemblies/opt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,9 @@

<!-- Python -->
<file>
<source>../flink-python/target/flink-python_${scala.binary.version}-${project.version}.jar</source>
<source>../flink-python/target/flink-python-${project.version}.jar</source>
<outputDirectory>opt</outputDirectory>
<destName>flink-python_${scala.binary.version}-${project.version}.jar</destName>
<destName>flink-python-${project.version}.jar</destName>
<fileMode>0644</fileMode>
</file>

Expand Down
2 changes: 1 addition & 1 deletion flink-docs/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ under the License.
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-python_${scala.binary.version}</artifactId>
<artifactId>flink-python</artifactId>
<version>${project.version}</version>
</dependency>

Expand Down
2 changes: 1 addition & 1 deletion flink-end-to-end-tests/flink-python-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-python_${scala.binary.version}</artifactId>
<artifactId>flink-python</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion flink-python/apache-flink-libraries/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def find_file_path(pattern):
LIB_PATH = os.path.join(FLINK_HOME, "lib")
OPT_PATH = os.path.join(FLINK_HOME, "opt")
OPT_PYTHON_JAR_NAME = os.path.basename(
find_file_path(os.path.join(OPT_PATH, "flink-python_*.jar")))
find_file_path(os.path.join(OPT_PATH, "flink-python*.jar")))
OPT_SQL_CLIENT_JAR_NAME = os.path.basename(
find_file_path(os.path.join(OPT_PATH, "flink-sql-client*.jar")))
LICENSES_PATH = os.path.join(FLINK_HOME, "licenses")
Expand Down
8 changes: 1 addition & 7 deletions flink-python/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ under the License.
<relativePath>..</relativePath>
</parent>

<artifactId>flink-python_${scala.binary.version}</artifactId>
<artifactId>flink-python</artifactId>
<name>Flink : Python</name>

<packaging>jar</packaging>
Expand Down Expand Up @@ -72,12 +72,6 @@ under the License.
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-api-scala-bridge_${scala.binary.version}</artifactId>
<version>${project.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-table-runtime</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion flink-table/flink-sql-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ under the License.

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-python_${scala.binary.version}</artifactId>
<artifactId>flink-python</artifactId>
<version>${project.version}</version>
<scope>test</scope>
</dependency>
Expand Down

0 comments on commit 8f51746

Please sign in to comment.