diff --git a/dagster/requirements.txt b/dagster/requirements.txt index 292a724..fc9d2ab 100644 --- a/dagster/requirements.txt +++ b/dagster/requirements.txt @@ -1,16 +1,17 @@ # dbt-core 1.10 is deprecated as of the dbt v2 release. Reaching 1.12 needs # dagster-dbt >= 0.29 (0.27 caps dbt-core at <1.11), which pins dagster to the # matching 1.13 release. -# duckdb must stay in step with superset/requirements.txt in -# postcard-company-datamart at the DATAMART_REF in docker-compose.yml, which -# the Superset image is built from: both open the same warehouse file, and a -# newer writer produces a format the reader cannot open. +# duckdb is pinned explicitly: unpinned, dbt-duckdb resolves it to the newest +# release. Superset reads the warehouse with the duckdb in superset/requirements.txt +# in postcard-company-datamart, at the DATAMART_REF in docker-compose.yml. That +# one must be at least as new as this one: no older duckdb opens a file a newer +# one created. This can move up to Superset's pin, never past it. dagster==1.13.26 dagster-dbt==0.29.26 dagster-duckdb==0.29.26 dagster-webserver==1.13.26 dbt-core==1.12.6 dbt-duckdb==1.11.0 -duckdb==1.5.6 +duckdb==2.0.0 pydantic<2.9.0 watchdog<5 diff --git a/docker-compose.yml b/docker-compose.yml index 034dfa5..24bd28d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: # To build from another branch or tag: DATAMART_REF=main docker compose build generator: build: - context: https://github.com/cnstlungu/postcard-company-datamart.git#${DATAMART_REF:-v1.4.0}:generator + context: https://github.com/cnstlungu/postcard-company-datamart.git#${DATAMART_REF:-v1.5.0}:generator volumes: - ./shared:/shared environment: @@ -15,7 +15,7 @@ services: # project, so edits you make there survive restarts. dbt: build: - context: https://github.com/cnstlungu/postcard-company-datamart.git#${DATAMART_REF:-v1.4.0}:postcard_company + context: https://github.com/cnstlungu/postcard-company-datamart.git#${DATAMART_REF:-v1.5.0}:postcard_company volumes: - ./dbt/postcard_company:/datamart/postcard_company dagster: @@ -47,7 +47,7 @@ services: superset: build: - context: https://github.com/cnstlungu/postcard-company-datamart.git#${DATAMART_REF:-v1.4.0}:superset + context: https://github.com/cnstlungu/postcard-company-datamart.git#${DATAMART_REF:-v1.5.0}:superset environment: # Read by the datamart's superset/entrypoint.sh at container start. These were # build args until it turned out `docker history` shows them.