From 0e404084cfd6c14e002fd71d88ffff0b163df12b Mon Sep 17 00:00:00 2001 From: HydrogenSulfate <490868991@qq.com> Date: Thu, 11 Jan 2024 10:18:07 +0000 Subject: [PATCH] fix scm tools --- pyproject.toml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0634b0bf6..d9c8a7cb0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,7 @@ license = {text = "Apache-2.0"} authors = [ { name = "PaddlePaddle" }, ] -requires-python = ">=3.7" +requires-python = ">=3.8" keywords = [ "Machine learning", "Deep learning", @@ -70,4 +70,8 @@ ignore = ["E501", "E741"] extend-exclude = ["./ppsci/geometry/inflation.py", "./ppsci/autodiff/__init__.py"] [tool.setuptools_scm] -write_to = "ppsci/_version.py" +version_file = "ppsci/_version.py" +tag_regex = "v(\\d+\\.\\d+\\.\\d+)" +fallback_version = "0.0.0" +version_scheme = "post-release" +