Switch to uv package manager and static semver; fix for pydantic and pandas updates

This commit is contained in:
phil 2024-12-14 15:57:11 +01:00
parent 594c267731
commit ccb8728bbb
9 changed files with 2178 additions and 2183 deletions

View file

@ -1,64 +1,63 @@
[project]
name = "gisaf"
dynamic = ["version"]
description = ""
authors = [
{name = "phil", email = "phil.dev@philome.mooo.com"},
]
name = "gisaf-backend"
version = "0.6.0-alpha"
description = "Gisaf backend"
authors = [{ name = "phil", email = "phil.dev@philome.mooo.com" }]
dependencies = [
"apscheduler>=3.10.4",
"asyncpg>=0.28.0",
"fastapi>=0.111",
"geoalchemy2>=0.14.2",
"geopandas>=0.14.4",
"itsdangerous>=2.1.2",
"orjson>=3.9.10",
"pandas>=2.1.1",
"passlib[bcrypt]>=1.7.4",
"pydantic-settings>=2.0.3",
"pyshp>=2.3.1",
"python-jose[cryptography]>=3.3.0",
"python-multipart>=0.0.9",
"pyyaml>=6.0.1",
"redis>=5.0.1",
"sqlalchemy[asyncio]>=2.0.23",
"sqlmodel>=0.0.18",
"uvicorn>=0.23.2",
"websockets>=12.0",
"aiosqlite>=0.19.0",
"psycopg>=3.1.18",
"plotly>=5.20.0",
"matplotlib>=3.8.3",
"aiopath>=0.6.11",
"psycopg2-binary>=2.9.9",
"psutil>=5.9.8",
"aiopath>=0.6.11",
"aiosqlite>=0.19.0",
"apscheduler>=3.10.4",
"asyncpg>=0.28.0",
"fastapi>=0.111",
"geoalchemy2>=0.14.2",
"geopandas>=1.0.1",
"itsdangerous>=2.1.2",
"matplotlib>=3.8.3",
"orjson>=3.9.10",
"pandas>=2.1.1",
"passlib[bcrypt]>=1.7.4",
"plotly>=5.20.0",
"psutil>=5.9.8",
"psycopg2-binary>=2.9.9",
"psycopg>=3.1.18",
"pydantic-settings[yaml]>=2.7",
"pyshp>=2.3.1",
"python-jose[cryptography]>=3.3.0",
"python-multipart>=0.0.9",
"pyyaml>=6.0.1",
"redis>=5.0.1",
"sqlalchemy[asyncio]>=2.0.23",
"sqlmodel>=0.0.18",
"uvicorn>=0.23.2",
"websockets>=12.0",
"pyxdg>=0.28",
]
requires-python = ">=3.11,<4"
requires-python = ">=3.11"
readme = "README.md"
license = {text = "GPLv3"}
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project.scripts]
gisaf-backend = "gisaf_backend:main"
[project.optional-dependencies]
contextily = ["contextily>=1.4.0"]
mqtt = ["aiomqtt>=1.2.1"]
all = ["gisaf[contextily]", "gisaf[mqtt]"]
all = ["gisaf-backend[contextily]", "gisaf-backend[mqtt]"]
[tool.pdm.version]
source = "scm"
write_to = "gisaf/_version.py"
write_template = "__version__: str = '{}'"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.pdm.dev-dependencies]
dev = [
"ipdb>=0.13.13",
"pandas-stubs>=2.1.4.231218",
"pretty-errors>=1.2.25",
"types-psycopg2>=2.9.21.20",
"types-PyYAML>=6.0.12.12",
"asyncpg-stubs>=0.29.1",
"types-python-jose>=3.3.4.20240106",
"types-passlib>=1.7.7.20240311",
[tool.hatch.build.targets.wheel]
packages = ["src/gisaf"]
[tool.uv]
dev-dependencies = [
"ipdb>=0.13.13",
"pandas-stubs>=2.1.4.231218",
"pretty-errors>=1.2.25",
"types-psycopg2>=2.9.21.20",
"types-PyYAML>=6.0.12.12",
"asyncpg-stubs>=0.29.1",
"types-python-jose>=3.3.4.20240106",
"types-passlib>=1.7.7.20240311",
]