This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 361e577cbcf Fix python client dependency issue (#12934)
361e577cbcf is described below
commit 361e577cbcf83cde5e739b774cf20bc23e38f64c
Author: Haonan <[email protected]>
AuthorDate: Tue Jul 16 10:28:04 2024 +0800
Fix python client dependency issue (#12934)
---
.github/workflows/multi-language-client.yml | 8 ++------
iotdb-client/client-py/pom.xml | 7 +++++++
2 files changed, 9 insertions(+), 6 deletions(-)
diff --git a/.github/workflows/multi-language-client.yml
b/.github/workflows/multi-language-client.yml
index 3f1180a7d16..de6fb4a0ce7 100644
--- a/.github/workflows/multi-language-client.yml
+++ b/.github/workflows/multi-language-client.yml
@@ -107,12 +107,8 @@ jobs:
fail-fast: false
max-parallel: 15
matrix:
- python: ['3.x']
- os: [ubuntu-latest]
- include:
- - python: '3.6'
- os: ubuntu-20.04
- runs-on: ${{ matrix.os }}
+ python: [ '3.6', '3.x' ]
+ runs-on: ${{ (matrix.python == '3.6' && 'ubuntu-20.04') || 'ubuntu-latest'
}}
steps:
- uses: actions/checkout@v4
diff --git a/iotdb-client/client-py/pom.xml b/iotdb-client/client-py/pom.xml
index 13636635cd5..1ce573da3c7 100644
--- a/iotdb-client/client-py/pom.xml
+++ b/iotdb-client/client-py/pom.xml
@@ -37,6 +37,12 @@
<version>1.3.3-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
+ <dependency>
+ <groupId>org.apache.iotdb</groupId>
+ <artifactId>iotdb-thrift</artifactId>
+ <version>1.3.3-SNAPSHOT</version>
+ <scope>provided</scope>
+ </dependency>
</dependencies>
<build>
<resources>
@@ -188,6 +194,7 @@
<usedDependencies>
<!-- This dependency is only used for ensuring the
build order -->
<usedDependency>org.apache.iotdb:iotdb-thrift-commons</usedDependency>
+
<usedDependency>org.apache.iotdb:iotdb-thrift</usedDependency>
</usedDependencies>
</configuration>
</plugin>