diff --git a/.gitea/workflows/build_app.yaml b/.gitea/workflows/build_app.yaml index 4be868a..09efe14 100644 --- a/.gitea/workflows/build_app.yaml +++ b/.gitea/workflows/build_app.yaml @@ -8,6 +8,7 @@ on: - '*RuntimeDockerfile' - '.gitignore' - 'README.md' + - 'pyproject.toml' - '.gitea/workflows/**' diff --git a/AlpineRuntimeDockerfile b/AlpineRuntimeDockerfile index 4eac719..01697fc 100644 --- a/AlpineRuntimeDockerfile +++ b/AlpineRuntimeDockerfile @@ -19,7 +19,7 @@ COPY --from=builder /venv /venv ENV PATH="/venv/.venv/bin:${PATH}" RUN chmod a+x /venv/.venv/bin/activate \ - && activate + && source /venv/.venv/bin/activate WORKDIR /app diff --git a/pyproject.toml b/pyproject.toml index d3fb992..95a355f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "fastapi-template" -version = "0.1.4" +version = "0.1.5" description = "" authors = ["chenwj113 "] license = "MIT" diff --git a/requirements.txt b/requirements.txt index 44f68b8..2467942 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,25 +1,75 @@ -aiofiles==22.1.0 -aioredis==2.0.1 -aiomysql==0.1.1 -bcrypt==4.0.1 -email_validator>=2.0.0 -fastapi==0.111.0 -fastapi-plugins==0.13.0 -FastAPI-SQLAlchemy==0.2.1 -pydantic>=2.0.0 -pydantic-settings==2.2.1 -# pydantic-sqlalchemy==0.0.9 -python-multipart>=0.0.7 -pytest==7.2.1 -requests==2.28.2 -sqlacodegen==2.3.0 -SQLAlchemy==2.0.1 -uvicorn==0.20.0 -PyJWT==2.6.0 -passlib==1.7.4 -Pillow==9.4.0 -captcha==0.4 -jinja2==3.1.2 -pycryptodome==3.17 -qiniu==7.10.0 -pytz==2022.7.1 \ No newline at end of file +--index-url https://pypi.tuna.tsinghua.edu.cn/simple + +aiojobs==1.2.1 ; python_version >= "3.10" and python_version < "4.0" +aiomysql==0.1.1 ; python_version >= "3.10" and python_version < "4.0" +aioredis==2.0.1 ; python_version >= "3.10" and python_version < "4.0" +annotated-types==0.7.0 ; python_version >= "3.10" and python_version < "4.0" +anyio==4.4.0 ; python_version >= "3.10" and python_version < "4.0" +async-timeout==4.0.3 ; python_version >= "3.10" and python_version < "4.0" +authx==1.3.0 ; python_version >= "3.10" and python_version < "4.0" +captcha==0.6.0 ; python_version >= "3.10" and python_version < "4.0" +certifi==2024.6.2 ; python_version >= "3.10" and python_version < "4.0" +cffi==1.17.0 ; python_version >= "3.10" and python_version < "4.0" and platform_python_implementation != "PyPy" +charset-normalizer==3.3.2 ; python_version >= "3.10" and python_version < "4.0" +click==8.1.7 ; python_version >= "3.10" and python_version < "4.0" +colorama==0.4.6 ; python_version >= "3.10" and python_version < "4.0" and (sys_platform == "win32" or platform_system == "Windows") +cryptography==43.0.0 ; python_version >= "3.10" and python_version < "4.0" +dnspython==2.6.1 ; python_version >= "3.10" and python_version < "4.0" +ecdsa==0.19.0 ; python_version >= "3.10" and python_version < "4.0" +email-validator==2.1.1 ; python_version >= "3.10" and python_version < "4.0" +exceptiongroup==1.2.1 ; python_version >= "3.10" and python_version < "3.11" +fastapi-cli==0.0.4 ; python_version >= "3.10" and python_version < "4.0" +fastapi-limiter==0.1.6 ; python_version >= "3.10" and python_version < "4.0" +fastapi-plugins==0.13.0 ; python_version >= "3.10" and python_version < "4.0" +fastapi-sqlalchemy==0.2.1 ; python_version >= "3.10" and python_version < "4.0" +fastapi==0.111.0 ; python_version >= "3.10" and python_version < "4.0" +greenlet==3.0.3 ; python_version >= "3.10" and python_version < "4.0" and (platform_machine == "aarch64" or platform_machine == "ppc64le" or platform_machine == "x86_64" or platform_machine == "amd64" or platform_machine == "AMD64" or platform_machine == "win32" or platform_machine == "WIN32") +h11==0.14.0 ; python_version >= "3.10" and python_version < "4.0" +hiredis==2.3.2 ; python_version >= "3.10" and python_version < "4.0" +httpcore==1.0.5 ; python_version >= "3.10" and python_version < "4.0" +httptools==0.6.1 ; python_version >= "3.10" and python_version < "4.0" +httpx==0.27.0 ; python_version >= "3.10" and python_version < "4.0" +idna==3.7 ; python_version >= "3.10" and python_version < "4.0" +itsdangerous==2.2.0 ; python_version >= "3.10" and python_version < "4.0" +jinja2==3.1.4 ; python_version >= "3.10" and python_version < "4.0" +markdown-it-py==3.0.0 ; python_version >= "3.10" and python_version < "4.0" +markupsafe==2.1.5 ; python_version >= "3.10" and python_version < "4.0" +mdurl==0.1.2 ; python_version >= "3.10" and python_version < "4.0" +orjson==3.10.4 ; python_version >= "3.10" and python_version < "4.0" +passlib==1.7.4 ; python_version >= "3.10" and python_version < "4.0" +pillow==10.4.0 ; python_version >= "3.10" and python_version < "4.0" +pyasn1==0.6.0 ; python_version >= "3.10" and python_version < "4.0" +pycparser==2.22 ; python_version >= "3.10" and python_version < "4.0" and platform_python_implementation != "PyPy" +pydantic-core==2.18.4 ; python_version >= "3.10" and python_version < "4.0" +pydantic-settings==2.3.1 ; python_version >= "3.10" and python_version < "4.0" +pydantic==2.7.3 ; python_version >= "3.10" and python_version < "4.0" +pygments==2.18.0 ; python_version >= "3.10" and python_version < "4.0" +pyjwt[crypto]==2.9.0 ; python_version >= "3.10" and python_version < "4.0" +pymysql==1.1.1 ; python_version >= "3.10" and python_version < "4.0" +python-dateutil==2.9.0.post0 ; python_version >= "3.10" and python_version < "4.0" +python-dotenv==1.0.1 ; python_version >= "3.10" and python_version < "4.0" +python-jose==3.3.0 ; python_version >= "3.10" and python_version < "4.0" +python-json-logger==2.0.7 ; python_version >= "3.10" and python_version < "4.0" +python-multipart==0.0.9 ; python_version >= "3.10" and python_version < "4.0" +pytz==2024.1 ; python_version >= "3.10" and python_version < "4.0" +pyyaml==6.0.1 ; python_version >= "3.10" and python_version < "4.0" +qiniu==7.13.2 ; python_version >= "3.10" and python_version < "4.0" +redis==5.0.5 ; python_version >= "3.10" and python_version < "4.0" +redis[hiredis]==5.0.5 ; python_version >= "3.10" and python_version < "4.0" +requests==2.32.3 ; python_version >= "3.10" and python_version < "4.0" +rich==13.7.1 ; python_version >= "3.10" and python_version < "4.0" +rsa==4.9 ; python_version >= "3.10" and python_version < "4" +shellingham==1.5.4 ; python_version >= "3.10" and python_version < "4.0" +six==1.16.0 ; python_version >= "3.10" and python_version < "4.0" +sniffio==1.3.1 ; python_version >= "3.10" and python_version < "4.0" +sqlalchemy==2.0.0 ; python_version >= "3.10" and python_version < "4.0" +starlette==0.37.2 ; python_version >= "3.10" and python_version < "4.0" +tenacity==8.3.0 ; python_version >= "3.10" and python_version < "4.0" +typer==0.12.3 ; python_version >= "3.10" and python_version < "4.0" +typing-extensions==4.12.2 ; python_version >= "3.10" and python_version < "4.0" +ujson==5.10.0 ; python_version >= "3.10" and python_version < "4.0" +urllib3==2.2.2 ; python_version >= "3.10" and python_version < "4.0" +uvicorn[standard]==0.30.1 ; python_version >= "3.10" and python_version < "4.0" +uvloop==0.19.0 ; (sys_platform != "win32" and sys_platform != "cygwin") and platform_python_implementation != "PyPy" and python_version >= "3.10" and python_version < "4.0" +watchfiles==0.22.0 ; python_version >= "3.10" and python_version < "4.0" +websockets==12.0 ; python_version >= "3.10" and python_version < "4.0"