From 4a3af77589ecf8003808334b6ad9ff38d1de4b7e Mon Sep 17 00:00:00 2001 From: YZY <1737221508@qq.com> Date: Thu, 30 Nov 2023 15:46:35 +0800 Subject: [PATCH] Update Python version in pyproject.toml --- backend/main.py | 2 ++ backend/pyproject.toml | 2 +- backend/test_modify.py | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 backend/test_modify.py diff --git a/backend/main.py b/backend/main.py index 4c5823b..0c2f779 100644 --- a/backend/main.py +++ b/backend/main.py @@ -4,6 +4,8 @@ from dotenv import load_dotenv load_dotenv() + + import json import os import traceback diff --git a/backend/pyproject.toml b/backend/pyproject.toml index cacdda9..2b35df2 100644 --- a/backend/pyproject.toml +++ b/backend/pyproject.toml @@ -6,7 +6,7 @@ authors = ["Abi Raja "] license = "MIT" [tool.poetry.dependencies] -python = "^3.10" +python = "^3.8" fastapi = "^0.95.0" uvicorn = "^0.24.0.post1" websockets = "^12.0" diff --git a/backend/test_modify.py b/backend/test_modify.py new file mode 100644 index 0000000..0aba17d --- /dev/null +++ b/backend/test_modify.py @@ -0,0 +1 @@ +import os \ No newline at end of file