From fa658961ccc4ae561a78b8c07f2f1f932cab15c0 Mon Sep 17 00:00:00 2001 From: maoguohong Date: Sun, 19 Apr 2026 09:27:26 +0800 Subject: [PATCH] =?UTF-8?q?macos26,python3.9=E8=B0=83=E9=80=9A=E4=BA=86?= =?UTF-8?q?=EF=BC=8C=E5=BA=94=E7=94=A8=E5=8F=AF=E4=BB=A5=E8=B7=91=E8=B5=B7?= =?UTF-8?q?=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 3 ++- .vscode/launch.json | 21 +++++++++++++++++++++ requirements.txt | 12 ++++++------ 3 files changed, 29 insertions(+), 7 deletions(-) create mode 100644 .vscode/launch.json diff --git a/.gitignore b/.gitignore index a12e8c7..9f9a53e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ /__pycache__ /app/__pycache__ /venv -.env \ No newline at end of file +.env +.venv \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..5203441 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,21 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + + { + "name": "Python Debugger: FastAPI/uvicorn", + "type": "debugpy", + "request": "launch", + "module": "uvicorn", + "args": [ + "main:app", + "--reload", + "--port","8000" + ], + "jinja": true + } + ] +} \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index a1dc7d6..2141e45 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,7 +8,7 @@ email-validator==1.3.1 fastapi==0.109.1 fastapi-utils==0.2.1 greenlet==2.0.2 -h11==0.16.0 +h11==0.13.0 httpcore==0.16.3 httptools==0.5.0 httpx==0.23.3 @@ -16,20 +16,20 @@ idna==3.7 itsdangerous==2.1.2 Jinja2==3.1.6 MarkupSafe==2.1.2 -orjson==3.11.6 +orjson==3.11.5 psycopg2-binary==2.9.6 pydantic==1.10.13 python-dotenv==1.0.0 -python-multipart==0.0.26 +python-multipart==0.0.20 PyYAML==6.0 -requests==2.33.0 +requests==2.32.5 rfc3986==1.5.0 sniffio==1.3.0 SQLAlchemy==1.4.47 -starlette==0.49.1 +# starlette==0.49.1 typing==3.7.4.3 typing_extensions==4.8.0 -ujson==5.12.0 +ujson==5.11.0 urllib3==2.6.3 uvicorn==0.21.1 uvloop==0.17.0