From c9f7d2a677659483abb67ff23897feb9ca39938d Mon Sep 17 00:00:00 2001 From: cyjseagull Date: Sun, 15 Dec 2024 10:39:47 +0800 Subject: [PATCH] use the pypip to install wedpr-python-gateway-sdk (#129) * use the pypip to install wedpr-python-gateway-sdk * publish wedpr-gateway-sdk --- cpp/wedpr-transport/sdk-wrapper/java/bindings/build.gradle | 2 +- cpp/wedpr-transport/sdk-wrapper/python/bindings/setup.py | 2 +- docker-files/model/model/Dockerfile | 3 +-- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/cpp/wedpr-transport/sdk-wrapper/java/bindings/build.gradle b/cpp/wedpr-transport/sdk-wrapper/java/bindings/build.gradle index 7383a7d..772b981 100644 --- a/cpp/wedpr-transport/sdk-wrapper/java/bindings/build.gradle +++ b/cpp/wedpr-transport/sdk-wrapper/java/bindings/build.gradle @@ -96,7 +96,7 @@ dependencies { archivesBaseName = 'wedpr-gateway-sdk' group = 'com.webank.wedpr' -version = '3.0.0-SNAPSHOT' +version = '3.0.0' jar { exclude '**/*.xml' diff --git a/cpp/wedpr-transport/sdk-wrapper/python/bindings/setup.py b/cpp/wedpr-transport/sdk-wrapper/python/bindings/setup.py index f668277..9190c7b 100644 --- a/cpp/wedpr-transport/sdk-wrapper/python/bindings/setup.py +++ b/cpp/wedpr-transport/sdk-wrapper/python/bindings/setup.py @@ -20,7 +20,7 @@ def run(self): setup_args = dict( name='wedpr-python-gateway-sdk', packages=find_packages(), - version="3.0.0-20241019", + version="3.0.0-20241213", description="wedpr-python-gateway-sdk: The gateway sdk for WeDPR", long_description_content_type="text/markdown", author="WeDPR Development Team", diff --git a/docker-files/model/model/Dockerfile b/docker-files/model/model/Dockerfile index 82afab8..67b902d 100644 --- a/docker-files/model/model/Dockerfile +++ b/docker-files/model/model/Dockerfile @@ -11,8 +11,7 @@ ENV DEBIAN_FRONTEND=noninteractive \ SOURCE=${SOURCE_BRANCH:-main} # install the gateway sdk -# TODO: replace with pypip -RUN pip install --no-cache-dir -i https://test.pypi.org/simple/ wedpr-python-gateway-sdk +RUN pip install --no-cache-dir -i https://mirrors.aliyun.com/pypi/simple wedpr-python-gateway-sdk # obtain the source, no need to fetch the submodule(vcpkg) here RUN git clone https://github.com/WeBankBlockchain/WeDPR-Component.git -b ${SOURCE}