You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2024/07/16 01:45:14 UTC
(iotdb) 01/01: Fix python client dependency issue
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch fix_python_client_dep
in repository https://gitbox.apache.org/repos/asf/iotdb.git
commit 7c142a2d37ba60d89a2c05ae938ddbe2926e5929
Author: HTHou <hh...@outlook.com>
AuthorDate: Tue Jul 16 09:44:54 2024 +0800
Fix python client dependency issue
---
.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>