Files
ISSSTELEON/Transformation/pyproject.toml
T

27 lines
1.1 KiB
TOML

[project]
name = "transformation"
version = "0.1.0"
description = "dbt transformation layer: bronze → silver (observacion/procedimiento) → gold (cohorts, indicators)."
requires-python = ">=3.12,<3.14"
dependencies = []
# dbt-core lives in the groups, one per engine: dbt-mysql still requires dbt-core 1.7, while the others run on
# 1.12, so `mysql` is installed on its own (`uv sync --only-group mysql`). What must run on MySQL stays within
# dbt 1.7: its `unit_tests` are ignored there.
[dependency-groups]
sqlite = ["dbt-core>=1.12,<1.13", "dbt-sqlite>=1.10"]
sqlserver = ["dbt-core>=1.12,<1.13", "dbt-sqlserver[mssql]>=1.12.2"]
postgres = ["dbt-core>=1.12,<1.13", "dbt-postgres>=1.10"]
mysql = ["dbt-core>=1.7,<1.8", "dbt-mysql>=1.7,<1.8"]
[tool.uv]
package = false
default-groups = ["sqlite"]
# dbt-sqlite 1.10 asks for an older dbt-adapters than dbt-core 1.12 needs; it runs on the newer one.
override-dependencies = ["dbt-adapters>=1.24.5,<2"]
conflicts = [
[{ group = "mysql" }, { group = "sqlite" }],
[{ group = "mysql" }, { group = "sqlserver" }],
[{ group = "mysql" }, { group = "postgres" }],
]