From eacde63fbb302ce45f5005ef1ccbce077ad3d62a Mon Sep 17 00:00:00 2001 From: Bo Tang Date: Sun, 8 Dec 2024 02:19:02 -0500 Subject: [PATCH] Bug fixed: limit python version --- pkg/meta.yaml | 4 ++-- pkg/setup.py | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/pkg/meta.yaml b/pkg/meta.yaml index 29821437..64291994 100644 --- a/pkg/meta.yaml +++ b/pkg/meta.yaml @@ -21,7 +21,7 @@ channels: requirements: host: - - python >=3.9 + - python <3.12 - pip - numpy >=1.22 - scipy @@ -32,7 +32,7 @@ requirements: - scikit-learn - pytorch >=1.13.1 run: - - python >=3.9 + - python <3.12 - numpy >=1.22 - scipy - pathos diff --git a/pkg/setup.py b/pkg/setup.py index b524469a..c6a33cac 100644 --- a/pkg/setup.py +++ b/pkg/setup.py @@ -24,6 +24,8 @@ author = "Bo Tang", # mail address author_email = "bolucas.tang@mail.utoronto.ca", + # restrict Python version + python_requires="<3.12" # dependencies install_requires = [ "numpy",