From 8d6e2e33a54e622d7380caf3afa6752db6017a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8E=98=E6=9D=83=20=E9=A9=AC?= Date: Sun, 18 Aug 2024 11:31:26 +0800 Subject: [PATCH] feat: + python <3.12 --- README.md | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3410e08fc..6881fec25 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ ## Get Started ### Installation -> Ensure that Python 3.9+ is installed on your system. You can check this by using: `python --version`. +> Ensure that Python 3.9 or later, but less than 3.12, is installed on your system. You can check this by using: `python --version`. > You can use conda like this: `conda create -n metagpt python=3.9 && conda activate metagpt` ```bash diff --git a/setup.py b/setup.py index 8ba4c8a72..9fecfa766 100644 --- a/setup.py +++ b/setup.py @@ -109,7 +109,7 @@ setup( license="MIT", keywords="metagpt multi-agent multi-role programming gpt llm metaprogramming", packages=find_packages(exclude=["contrib", "docs", "examples", "tests*"]), - python_requires=">=3.9", + python_requires=">=3.9, <3.12", install_requires=requirements, extras_require=extras_require, cmdclass={