Skip to content

Commit 45d683d

Browse files
Switch Docker build to uv and tighten dbt adapter lower bounds to >=1.8
- Replace pip with uv in Dockerfile to avoid pip's resolution-too-deep error - Bump dbt-core and all adapter lower bounds from >=0.20 to >=1.8 (pre-1.8 is EOL) Co-Authored-By: Itamar Hartstein <haritamar@gmail.com>
1 parent 2f98ef7 commit 45d683d

2 files changed

Lines changed: 18 additions & 18 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN apt-get update \
1818
/var/tmp/*
1919

2020
COPY . /app
21-
RUN pip install --upgrade pip
22-
RUN pip install --no-cache-dir "/app[all]"
21+
RUN pip install uv
22+
RUN uv pip install --no-cache --system "/app[all]"
2323

2424
ENTRYPOINT ["edr"]

pyproject.toml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ packages = [{include = "elementary"}]
2525
[tool.poetry.dependencies]
2626
python = ">=3.10,<3.14"
2727
click = ">=7.0,<9.0"
28-
dbt-core = ">=0.20,<2.0.0"
28+
dbt-core = ">=1.8,<2.0.0"
2929
requests = ">=2.28.1,<3.0.0"
3030
beautifulsoup4 = "<5.0.0"
3131
ratelimit = "*"
@@ -45,21 +45,21 @@ tabulate = ">= 0.9.0"
4545
tenacity = ">=8.0,<10.0"
4646
pytz = ">= 2025.1"
4747

48-
dbt-snowflake = {version = ">=0.20,<2.0.0", optional = true}
49-
dbt-bigquery = {version = ">=0.20,<2.0.0", optional = true}
50-
dbt-redshift = {version = ">=0.20,<2.0.0", optional = true}
51-
dbt-postgres = {version = ">=0.20,<2.0.0", optional = true}
52-
dbt-databricks = {version = ">=0.20,<2.0.0", optional = true}
53-
dbt-spark = {version = ">=0.20,<2.0.0", optional = true}
54-
dbt-athena-community = {version = ">=1.6.3,<2.0.0", optional = true}
55-
dbt-trino = {version = ">=1.5.0,<2.0.0", optional = true}
56-
dbt-clickhouse = {version = ">=0.20,<2.0.0", optional = true}
57-
dbt-duckdb = {version = ">=1.5.0,<2.0.0", optional = true}
58-
dbt-dremio = {version = ">=1.5.0,<2.0.0", optional = true}
59-
dbt-fabric = {version = ">=1.4,<2.0.0", optional = true}
60-
dbt-fabricspark = {version = ">=1.4,<2.0.0", optional = true}
61-
dbt-sqlserver = {version = ">=1.4,<2.0.0", optional = true}
62-
dbt-vertica = {version = ">=1.7,<2.0.0", optional = true}
48+
dbt-snowflake = {version = ">=1.8,<2.0.0", optional = true}
49+
dbt-bigquery = {version = ">=1.8,<2.0.0", optional = true}
50+
dbt-redshift = {version = ">=1.8,<2.0.0", optional = true}
51+
dbt-postgres = {version = ">=1.8,<2.0.0", optional = true}
52+
dbt-databricks = {version = ">=1.8,<2.0.0", optional = true}
53+
dbt-spark = {version = ">=1.8,<2.0.0", optional = true}
54+
dbt-athena-community = {version = ">=1.8,<2.0.0", optional = true}
55+
dbt-trino = {version = ">=1.8,<2.0.0", optional = true}
56+
dbt-clickhouse = {version = ">=1.8,<2.0.0", optional = true}
57+
dbt-duckdb = {version = ">=1.8,<2.0.0", optional = true}
58+
dbt-dremio = {version = ">=1.8,<2.0.0", optional = true}
59+
dbt-fabric = {version = ">=1.8,<2.0.0", optional = true}
60+
dbt-fabricspark = {version = ">=1.8,<2.0.0", optional = true}
61+
dbt-sqlserver = {version = ">=1.8,<2.0.0", optional = true}
62+
dbt-vertica = {version = ">=1.8,<2.0.0", optional = true}
6363
[tool.poetry.extras]
6464
snowflake = ["dbt-snowflake"]
6565
bigquery = ["dbt-bigquery"]

0 commit comments

Comments
 (0)