fix: unify all services to poetry pyproject.toml format
template-service and export-service used [project]+setuptools format which is incompatible with poetry install in Dockerfile. Unified to [tool.poetry] + poetry-core build-backend. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
2a5a47b18e
commit
43e5f468eb
|
|
@ -1,24 +1,23 @@
|
|||
[project]
|
||||
[tool.poetry]
|
||||
name = "export-service"
|
||||
version = "0.1.0"
|
||||
description = "Export microservice - generates PNG, PDF, Excel, PPT, HTML exports"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = [
|
||||
"fastapi>=0.110.0",
|
||||
"uvicorn[standard]>=0.27.0",
|
||||
"sqlalchemy[asyncio]>=2.0.25",
|
||||
"asyncpg>=0.29.0",
|
||||
"alembic>=1.13.0",
|
||||
"pydantic>=2.5.0",
|
||||
"pydantic-settings>=2.1.0",
|
||||
"httpx>=0.26.0",
|
||||
"openpyxl>=3.1.2",
|
||||
"python-pptx>=0.6.23",
|
||||
"jinja2>=3.1.3",
|
||||
# "weasyprint>=61.0", # complex native deps – enable if needed
|
||||
"reportlab>=4.1.0",
|
||||
]
|
||||
description = "DataViz Pro Export Service"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.12"
|
||||
fastapi = "^0.115"
|
||||
uvicorn = {extras = ["standard"], version = "^0.34"}
|
||||
sqlalchemy = {extras = ["asyncio"], version = "^2.0"}
|
||||
asyncpg = "^0.30"
|
||||
alembic = "^1.14"
|
||||
pydantic = "^2.10"
|
||||
pydantic-settings = "^2.7"
|
||||
httpx = "^0.27"
|
||||
openpyxl = "^3.1"
|
||||
python-pptx = "^1.0"
|
||||
jinja2 = "^3.1"
|
||||
reportlab = "^4.1"
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=68.0"]
|
||||
build-backend = "setuptools.backends._legacy:_Backend"
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
|
|
|||
|
|
@ -1,18 +1,18 @@
|
|||
[project]
|
||||
[tool.poetry]
|
||||
name = "template-service"
|
||||
version = "0.1.0"
|
||||
description = "Template management microservice"
|
||||
requires-python = ">=3.12"
|
||||
dependencies = [
|
||||
"fastapi>=0.115.0",
|
||||
"uvicorn[standard]>=0.34.0",
|
||||
"sqlalchemy[asyncio]>=2.0.0",
|
||||
"asyncpg>=0.30.0",
|
||||
"alembic>=1.14.0",
|
||||
"pydantic>=2.10.0",
|
||||
"pydantic-settings>=2.7.0",
|
||||
]
|
||||
description = "DataViz Pro Template Service"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.12"
|
||||
fastapi = "^0.115"
|
||||
uvicorn = {extras = ["standard"], version = "^0.34"}
|
||||
sqlalchemy = {extras = ["asyncio"], version = "^2.0"}
|
||||
asyncpg = "^0.30"
|
||||
alembic = "^1.14"
|
||||
pydantic = "^2.10"
|
||||
pydantic-settings = "^2.7"
|
||||
|
||||
[build-system]
|
||||
requires = ["setuptools>=75.0"]
|
||||
build-backend = "setuptools.build_meta"
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
||||
|
|
|
|||
Loading…
Reference in New Issue