From 576a0977947e587280333452129efa80f49cb449 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wuyi=E6=97=A0=E7=96=91?= <444835641@qq.com> Date: Sun, 6 Aug 2023 23:03:55 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=8C=20=E9=94=81=E5=AE=9A`fastapi`?= =?UTF-8?q?=E7=89=88=E6=9C=AC=E4=B8=BA`0.97.0`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- poetry.lock | 19 +++++++++---------- pyproject.toml | 1 + requirements.txt | 41 ++++++++++++++++++++--------------------- 3 files changed, 30 insertions(+), 31 deletions(-) diff --git a/poetry.lock b/poetry.lock index a919b14..4a3824d 100644 --- a/poetry.lock +++ b/poetry.lock @@ -720,22 +720,21 @@ reference = "mirrors" [[package]] name = "fastapi" -version = "0.100.1" +version = "0.97.0" description = "FastAPI framework, high performance, easy to learn, fast to code, ready for production" optional = false python-versions = ">=3.7" files = [ - {file = "fastapi-0.100.1-py3-none-any.whl", hash = "sha256:ec6dd52bfc4eff3063cfcd0713b43c87640fefb2687bbbe3d8a08d94049cdf32"}, - {file = "fastapi-0.100.1.tar.gz", hash = "sha256:522700d7a469e4a973d92321ab93312448fbe20fca9c8da97effc7e7bc56df23"}, + {file = "fastapi-0.97.0-py3-none-any.whl", hash = "sha256:95d757511c596409930bd20673358d4a4d709004edb85c5d24d6ffc48fabcbf2"}, + {file = "fastapi-0.97.0.tar.gz", hash = "sha256:b53248ee45f64f19bb7600953696e3edf94b0f7de94df1e5433fc5c6136fa986"}, ] [package.dependencies] -pydantic = ">=1.7.4,<1.8 || >1.8,<1.8.1 || >1.8.1,<2.0.0 || >2.0.0,<2.0.1 || >2.0.1,<3.0.0" +pydantic = ">=1.7.4,<1.8 || >1.8,<1.8.1 || >1.8.1,<2.0.0" starlette = ">=0.27.0,<0.28.0" -typing-extensions = ">=4.5.0" [package.extras] -all = ["email-validator (>=2.0.0)", "httpx (>=0.23.0)", "itsdangerous (>=1.1.0)", "jinja2 (>=2.11.2)", "orjson (>=3.2.1)", "pydantic-extra-types (>=2.0.0)", "pydantic-settings (>=2.0.0)", "python-multipart (>=0.0.5)", "pyyaml (>=5.3.1)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0)", "uvicorn[standard] (>=0.12.0)"] +all = ["email-validator (>=1.1.1)", "httpx (>=0.23.0)", "itsdangerous (>=1.1.0)", "jinja2 (>=2.11.2)", "orjson (>=3.2.1)", "python-multipart (>=0.0.5)", "pyyaml (>=5.3.1)", "ujson (>=4.0.1,!=4.0.2,!=4.1.0,!=4.2.0,!=4.3.0,!=5.0.0,!=5.1.0)", "uvicorn[standard] (>=0.12.0)"] [package.source] type = "legacy" @@ -1736,13 +1735,13 @@ reference = "mirrors" [[package]] name = "pycln" -version = "2.2.0" +version = "2.2.1" description = "A formatter for finding and removing unused import statements." optional = false python-versions = ">=3.6.2,<4" files = [ - {file = "pycln-2.2.0-py3-none-any.whl", hash = "sha256:8f2d8be5781de0114cf37d2327c52268093f9ee87712a7fbabc982a17e03cce2"}, - {file = "pycln-2.2.0.tar.gz", hash = "sha256:e1962987979a7365e113ac0728978c36e0d1f6d4c17b3d26a6d33bc2320efb7f"}, + {file = "pycln-2.2.1-py3-none-any.whl", hash = "sha256:686f55b511d11d7f114dcbe0c7d1512443441e1dd00a74ee9ba6b6c1b775c9e2"}, + {file = "pycln-2.2.1.tar.gz", hash = "sha256:560ed5dec5e44d3250ed1cd6b080080c4022c24dfd2840902113b42d31775bd0"}, ] [package.dependencies] @@ -2710,4 +2709,4 @@ reference = "mirrors" [metadata] lock-version = "2.0" python-versions = "^3.8.1" -content-hash = "8eb6445cb47c9cf1a7fe12e8e722e60dd40b44d93ababf4cf88af6074bc42796" +content-hash = "0bfa67219932831808c09c3fdc6d7ff5f924f810a67552ab77bf64819b9a960d" diff --git a/pyproject.toml b/pyproject.toml index ef8b00e..c7b8dcc 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,6 +34,7 @@ websockets = "^10.4" loguru = "^0.6.0" urllib3 = "^1.26.15" mpmath = "^1.3.0" +fastapi = "^0.97.0" trio = "^0.22.0" [tool.poetry.group.dev.dependencies] diff --git a/requirements.txt b/requirements.txt index 8b87886..64b672d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,68 +1,67 @@ --index-url https://mirrors.bfsu.edu.cn/pypi/web/simple aiofiles==23.1.0 ; python_full_version >= "3.8.1" and python_version < "4.0" -aiohttp==3.8.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +aiohttp==3.8.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" aiosignal==1.3.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" aiosqlite==0.19.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -anyio==3.7.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +anyio==3.7.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" apscheduler==3.10.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -async-generator==1.10 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" async-timeout==4.0.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" attrs==23.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" backports-zoneinfo==0.2.1 ; python_full_version >= "3.8.1" and python_version < "3.9" bcrypt==4.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" beautifulsoup4==4.12.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -certifi==2023.5.7 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +certifi==2023.7.22 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" cffi==1.15.1 ; os_name == "nt" and implementation_name != "pypy" and python_full_version >= "3.8.1" and python_full_version < "4.0.0" -charset-normalizer==3.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -click==8.1.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +charset-normalizer==3.2.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +click==8.1.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" colorama==0.4.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" and (platform_system == "Windows" or sys_platform == "win32") -dnspython==2.3.0 ; python_full_version >= "3.8.1" and python_version < "4.0" +dnspython==2.4.1 ; python_full_version >= "3.8.1" and python_version < "4.0" email-validator==2.0.0.post2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -exceptiongroup==1.1.1 ; python_full_version >= "3.8.1" and python_version < "3.11" -fastapi-amis-admin==0.5.7 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +exceptiongroup==1.1.2 ; python_full_version >= "3.8.1" and python_version < "3.11" +fastapi-amis-admin==0.5.8 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" fastapi-user-auth==0.5.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" fastapi==0.97.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -frozenlist==1.3.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +frozenlist==1.4.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" gitdb==4.0.10 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -gitpython==3.1.31 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +gitpython==3.1.32 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" greenlet==2.0.2 ; python_full_version >= "3.8.1" and (platform_machine == "win32" or platform_machine == "WIN32" or platform_machine == "AMD64" or platform_machine == "amd64" or platform_machine == "x86_64" or platform_machine == "ppc64le" or platform_machine == "aarch64") and python_full_version < "4.0.0" h11==0.14.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -httpcore==0.17.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +httpcore==0.17.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" httpx==0.24.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" idna==3.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" loguru==0.6.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -lxml==4.9.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +lxml==4.9.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" mpmath==1.3.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -msgspec==0.16.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +msgspec==0.17.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" multidict==6.0.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" outcome==1.2.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" passlib==1.7.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -pillow==9.5.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +pillow==10.0.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" pycparser==2.21 ; python_full_version >= "3.8.1" and os_name == "nt" and implementation_name != "pypy" and python_full_version < "4.0.0" -pydantic==1.10.9 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +pydantic==1.10.12 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" pypng==0.20220715.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" python-multipart==0.0.6 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" pytz==2023.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" qrcode[pil]==7.4.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -setuptools==67.8.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +setuptools==68.0.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" six==1.16.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" smmap==5.0.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" sniffio==1.3.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" sortedcontainers==2.4.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" soupsieve==2.4.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" sqlalchemy-database==0.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -sqlalchemy2-stubs==0.0.2a34 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +sqlalchemy2-stubs==0.0.2a35 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" sqlalchemy==1.4.41 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" sqlmodel==0.0.8 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" sqlmodelx==0.0.5 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" starlette==0.27.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -trio==0.22.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -typing-extensions==4.6.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +trio==0.22.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +typing-extensions==4.7.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" tzdata==2023.3 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" and platform_system == "Windows" tzlocal==5.0.1 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" urllib3==1.26.16 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" -uvicorn==0.22.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" +uvicorn==0.23.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" websockets==10.4 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" win32-setctime==1.1.0 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0" and sys_platform == "win32" yarl==1.9.2 ; python_full_version >= "3.8.1" and python_full_version < "4.0.0"