diff --git a/pyproject.toml b/pyproject.toml index c0b5f94..67a0877 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ authors = [ dependencies = [ "udocker==1.3.13", "psutil>=5.9.6", - "nebula3-python>=3.5.0", + "nebula3-python>=3.8.0", ] requires-python = ">=3.8" readme = "README.md" diff --git a/src/nebulagraph_lite/__init__.py b/src/nebulagraph_lite/__init__.py index 5b755df..c6aadda 100644 --- a/src/nebulagraph_lite/__init__.py +++ b/src/nebulagraph_lite/__init__.py @@ -2,4 +2,4 @@ __all__ = ["nebulagraph_let"] -__version__ = "0.2.2" +__version__ = "0.2.3" diff --git a/src/nebulagraph_lite/nebulagraph.py b/src/nebulagraph_lite/nebulagraph.py index c833cca..27a3662 100644 --- a/src/nebulagraph_lite/nebulagraph.py +++ b/src/nebulagraph_lite/nebulagraph.py @@ -34,7 +34,7 @@ # ModelScope Model ID MODELSCOPE_MODEL_ID = "sdfsdfoph1ofdsaofdf/nebulagraph-lite" -MODELSCOPE_MODEL_FILE_PATH = "releases/3.6.0/nebulagraph_lite.tar.gz" +MODELSCOPE_MODEL_FILE_PATH = "releases/3.8.0/nebulagraph_lite.tar.gz" MODELSCOPE_MODEL_VERSION = "master" # udocker tarball @@ -164,9 +164,9 @@ def _try_download_modelscope(self): ) # export UDOCKER_TARBALL={self.base_path} - os.environ["UDOCKER_TARBALL"] = ( - f"{self.base_path}/{UDOCKER_TARBALL_FILENAME}" - ) + os.environ[ + "UDOCKER_TARBALL" + ] = f"{self.base_path}/{UDOCKER_TARBALL_FILENAME}" return model_file except Exception as e: fancy_dict_print( diff --git a/tools/host_artifacts_on_modelscope.md b/tools/host_artifacts_on_modelscope.md index f5decf8..062dcf0 100644 --- a/tools/host_artifacts_on_modelscope.md +++ b/tools/host_artifacts_on_modelscope.md @@ -5,7 +5,7 @@ ```bash git clone https://sdfsdfoph1ofdsaofdf@www.modelscope.cn/sdfsdfoph1ofdsaofdf/nebulagraph-lite.git -cd nebulagraph-lite/releases/3.6.0 +cd nebulagraph-lite/releases/3.8.0 docker save -o nebulagraph_lite_meta.tar vesoft/nebula-metad:v3 docker save -o nebulagraph_lite_storage.tar vesoft/nebula-storaged:v3 docker save -o nebulagraph_lite_graph.tar vesoft/nebula-graphd:v3 @@ -34,7 +34,7 @@ sudo apt-get install git-lfs -y git lfs install git lfs track "*.tar.gz" -git add releases/3.6.0/*.tar.gz +git add releases/3.8.0/*.tar.gz git add releases/3.6.0/*.ngql git commit -m "add artifacts"