From b4b7fd1661f97ade8d10428aa82c1986f61a690f Mon Sep 17 00:00:00 2001 From: anakinxc Date: Wed, 20 Mar 2024 16:48:55 +0800 Subject: [PATCH 1/2] Bump version --- python/requirements.txt | 2 +- python/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/python/requirements.txt b/python/requirements.txt index 335541c..e9ba5a5 100644 --- a/python/requirements.txt +++ b/python/requirements.txt @@ -1,3 +1,3 @@ cryptography grpcio -sdc-apis==0.1.0b0 \ No newline at end of file +sdc-apis==0.2.0.dev20240320 \ No newline at end of file diff --git a/python/setup.py b/python/setup.py index 841e3bb..64e82b9 100644 --- a/python/setup.py +++ b/python/setup.py @@ -54,7 +54,7 @@ def bazel_build(self, ext): setuptools.setup( name="sdc-sdk", - version="0.1.0b0", + version="0.2.0.dev20240320", author="secretflow", author_email="secretflow-contact@service.alipay.com", description="Secure Data Capsule SDK for python", From 78fd81ee268437743be17e500d4cac82ed41ebf2 Mon Sep 17 00:00:00 2001 From: anakinxc Date: Wed, 20 Mar 2024 16:57:10 +0800 Subject: [PATCH 2/2] Cleanup --- .circleci/config.yml | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index b6135bb..bc8319d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -41,9 +41,6 @@ jobs: shell: /bin/bash --login -eo pipefail steps: - checkout - - restore_cache: - name: "Restore pip cache" - key: &pip-cache pip-{{ checksum "python/requirements.txt" }}-{{ checksum "python/dev-requirements.txt" }} - run: name: "Install python deps" command: | @@ -57,10 +54,6 @@ jobs: python setup.py build_ext --inplace mkdir test-results pytest --junitxml=test-results/junit-report.xml - - save_cache: - key: *pip-cache - paths: - - /usr/local/lib64/python3.8/site-packages - store_test_results: path: python/test-results @@ -68,9 +61,6 @@ jobs: docker: - image: secretflow/trustflow-ci-ubuntu20.04:0.1.0b resource_class: large - parameters: - python_ver: - type: string shell: /bin/bash --login -eo pipefail steps: - checkout @@ -78,7 +68,7 @@ jobs: name: "build package and publish" command: | source /root/miniconda3/etc/profile.d/conda.sh - conda create -n build python=<< parameters.python_ver >> -y + conda create -n build python=3.10 -y conda activate build cd python python3 -m pip install twine @@ -97,7 +87,4 @@ workflows: publish: when: << pipeline.parameters.GHA_Action >> jobs: - - linux_publish: - matrix: - parameters: - python_ver: ["3.8", "3.9", "3.10", "3.11"] \ No newline at end of file + - linux_publish \ No newline at end of file