diff --git a/.flake8 b/.flake8 index 0771f40..cf0b33c 100644 --- a/.flake8 +++ b/.flake8 @@ -1,4 +1,4 @@ [flake8] ignore=E501,E741,W504,E402 max-line-length=100 -exclude=frontend +exclude=frontend,.venv/ diff --git a/Dockerfile b/Dockerfile index 7b653e8..033fac2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ media-types \ && rm -rf /var/lib/apt/lists/* -RUN python -m pip install "poetry==2.1.4" +RUN python -m pip install "poetry==2.2.0" COPY . /app WORKDIR /app diff --git a/poetry.lock b/poetry.lock index f5f2a10..ecdbdf1 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.1.4 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.2.0 and should not be changed by hand. [[package]] name = "aiolimiter" @@ -1932,5 +1932,5 @@ files = [ [metadata] lock-version = "2.1" -python-versions = "^3.11" -content-hash = "ddaa27b6b6dd1730db1fd36abba2e21dfcd9807d66dc9ab426aca4c8c429534e" +python-versions = ">=3.11.0,<4.0" +content-hash = "c34622d7aef2504180c8ecfe1db509708db1f163f5601d2c90cdf0ce1df67b68" diff --git a/pyproject.toml b/pyproject.toml index 41b2913..e8bad98 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,37 +1,44 @@ -[tool.poetry] +[project] name = "msys2-web" version = "0.1.0" description = "" -authors = ["Christoph Reiter "] +authors = [{ name = "Christoph Reiter", email = "reiter.christoph@gmail.com" }] +requires-python = ">=3.11.0,<4.0" license = "MIT" +dependencies = [ + "httpx[http2]>=0.28.1,<0.29", + "fastapi>=0.116.0,<0.117", + "uvicorn[standard]>=0.35.0,<0.36", + "jinja2>=3.1.2,<4", + "fastapi-etag>=0.4.0,<0.5", + "gunicorn>=23.0.0,<24", + "aiolimiter>=1.0.0,<2", + "pydantic>=2.0.3,<3", + "MarkupSafe>=3.0.2,<4", + "uvicorn-worker>=0.3.0,<0.4", + "packageurl-python>=0.17.0,<0.18", + "pyzstd>=0.17.0,<0.18", + "mcp>=1.10.1,<2", +] + +[dependency-groups] +dev = [ + "reuse>=5.0.2,<6", + "mypy==1.17.1", + "flake8>=7.0.0,<8", + "pytest>=8.0.0,<9", + "requests>=2.23.0,<3", + "respx>=0.22.0,<0.23", +] + +[tool.poetry] package-mode = false -[tool.poetry.dependencies] -python = "^3.11" -httpx = {extras = ["http2"], version = "^0.28.1"} -fastapi = "^0.116.0" -uvicorn = {extras = ["standard"], version = "^0.35.0"} -jinja2 = "^3.1.2" -fastapi-etag = "^0.4.0" -gunicorn = "^23.0.0" -aiolimiter = "^1.0.0-beta.1" -pydantic = "^2.0.3" -MarkupSafe = "^3.0.2" -uvicorn-worker = "^0.3.0" -packageurl-python = "^0.17.0" -pyzstd = "^0.17.0" -mcp = "^1.10.1" - -[tool.poetry.group.dev.dependencies] -reuse = "^5.0.2" -mypy = "1.17.1" -flake8 = "^7.0.0" -pytest = "^8.0.0" -requests = "^2.23.0" -respx = "^0.22.0" +[tool.uv] +package = false [build-system] -requires = ["poetry-core>=1.0.0"] +requires = ["poetry-core>=2.2.0"] build-backend = "poetry.core.masonry.api" [tool.mypy]