Port to PEP 735
both poetry and uv can now be used
This commit is contained in:
parent
52d0d9e0e0
commit
5bed553953
2
.flake8
2
.flake8
@ -1,4 +1,4 @@
|
|||||||
[flake8]
|
[flake8]
|
||||||
ignore=E501,E741,W504,E402
|
ignore=E501,E741,W504,E402
|
||||||
max-line-length=100
|
max-line-length=100
|
||||||
exclude=frontend
|
exclude=frontend,.venv/
|
||||||
|
|||||||
@ -4,7 +4,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
media-types \
|
media-types \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& 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
|
COPY . /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|||||||
6
poetry.lock
generated
6
poetry.lock
generated
@ -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]]
|
[[package]]
|
||||||
name = "aiolimiter"
|
name = "aiolimiter"
|
||||||
@ -1932,5 +1932,5 @@ files = [
|
|||||||
|
|
||||||
[metadata]
|
[metadata]
|
||||||
lock-version = "2.1"
|
lock-version = "2.1"
|
||||||
python-versions = "^3.11"
|
python-versions = ">=3.11.0,<4.0"
|
||||||
content-hash = "ddaa27b6b6dd1730db1fd36abba2e21dfcd9807d66dc9ab426aca4c8c429534e"
|
content-hash = "c34622d7aef2504180c8ecfe1db509708db1f163f5601d2c90cdf0ce1df67b68"
|
||||||
|
|||||||
@ -1,37 +1,44 @@
|
|||||||
[tool.poetry]
|
[project]
|
||||||
name = "msys2-web"
|
name = "msys2-web"
|
||||||
version = "0.1.0"
|
version = "0.1.0"
|
||||||
description = ""
|
description = ""
|
||||||
authors = ["Christoph Reiter <reiter.christoph@gmail.com>"]
|
authors = [{ name = "Christoph Reiter", email = "reiter.christoph@gmail.com" }]
|
||||||
|
requires-python = ">=3.11.0,<4.0"
|
||||||
license = "MIT"
|
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
|
package-mode = false
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
[tool.uv]
|
||||||
python = "^3.11"
|
package = false
|
||||||
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"
|
|
||||||
|
|
||||||
[build-system]
|
[build-system]
|
||||||
requires = ["poetry-core>=1.0.0"]
|
requires = ["poetry-core>=2.2.0"]
|
||||||
build-backend = "poetry.core.masonry.api"
|
build-backend = "poetry.core.masonry.api"
|
||||||
|
|
||||||
[tool.mypy]
|
[tool.mypy]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user