From 185c6103932c1cb5340f549f2020226d6110935d Mon Sep 17 00:00:00 2001 From: troyyyyy Date: Tue, 2 Jan 2024 16:01:46 +0800 Subject: [PATCH 1/2] [FIX] resolve flat-layout issue --- docs/conf.py | 2 +- pyproject.toml | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index b9bfbb9..1232cfc 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -27,7 +27,7 @@ sys.path.append(os.path.abspath("./ABL/")) project = "ABL" slug = re.sub(r"\W+", "-", project.lower()) project = "ABL-Package" -copyright = "2023, Author" +copyright = "LAMDA, 2024" author = "Author" # -- General configuration --------------------------------------------------- diff --git a/pyproject.toml b/pyproject.toml index 9355614..a56cc09 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "abl" -version = "0.1.4" +version = "0.1.5" authors = [ { name="LAMDA 2024" }, ] @@ -41,4 +41,7 @@ Issues = "https://github.com/AbductiveLearning/ABL-Package/issues" test = [ "pytest-cov", "black==22.10.0", -] \ No newline at end of file +] + +[tool.setuptools.packages.find] +where = ["abl"] \ No newline at end of file From c004e0afb6072f109184514ed3375839b6a2c670 Mon Sep 17 00:00:00 2001 From: troyyyyy Date: Tue, 2 Jan 2024 16:27:58 +0800 Subject: [PATCH 2/2] [FIX] change zoopt version --- pyproject.toml | 7 ++----- requirements.txt | 2 +- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index a56cc09..534a288 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,7 @@ classifiers = [ ] dependencies = [ "numpy>=1.15.0", - "pyswip>=0.2.9", + "pyswip==0.2.9", "torch>=1.11.0", "torchvision>=0.12.0", "zoopt>=0.3.0", @@ -41,7 +41,4 @@ Issues = "https://github.com/AbductiveLearning/ABL-Package/issues" test = [ "pytest-cov", "black==22.10.0", -] - -[tool.setuptools.packages.find] -where = ["abl"] \ No newline at end of file +] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 6c27923..8fd3a3f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ numpy>=1.15.0, -pyswip>=0.2.9, +pyswip==0.2.9, torch>=1.11.0, torchvision>=0.12.0, zoopt>=0.3.0,