Skip to content

Remove all dbt dependencies from metricflow test environments#1967

Merged
tlento merged 1 commit intomainfrom
remove-dbt-deps-from-mf-dev-env
Feb 5, 2026
Merged

Remove all dbt dependencies from metricflow test environments#1967
tlento merged 1 commit intomainfrom
remove-dbt-deps-from-mf-dev-env

Conversation

@tlento
Copy link
Contributor

@tlento tlento commented Feb 2, 2026

We no longer use dbt at all inside of Metricflow prpoer, so
this removes all dependencies.

The main changes of interest involve the updates to the pre-commit
configuration. The original config was not package-specific since
all critical dependencies were available from the metricflow
environment, so we could run linters without any custom installations.

Now that metricflow has no dbt dependency in its dev environment,
mypy will no longer typecheck correctly via pre-commit in the
dbt-metricflow package. Since mypy is the only affected item we work
around this by invoking it from the makefile for dbt-metricflow,
and otherwise excluding dbt-metricflow from the pre-commit execution.

@tlento tlento requested a review from a team as a code owner February 2, 2026 20:08
@cla-bot cla-bot bot added the cla:yes label Feb 2, 2026
Copy link
Contributor Author

tlento commented Feb 2, 2026

@tlento tlento added the Run Tests With Other SQL Engines Runs the test suite against the SQL engines in our target environment label Feb 2, 2026
@tlento tlento temporarily deployed to DW_INTEGRATION_TESTS February 2, 2026 23:32 — with GitHub Actions Inactive
@tlento tlento temporarily deployed to DW_INTEGRATION_TESTS February 2, 2026 23:32 — with GitHub Actions Inactive
@tlento tlento temporarily deployed to DW_INTEGRATION_TESTS February 2, 2026 23:32 — with GitHub Actions Inactive
@tlento tlento temporarily deployed to DW_INTEGRATION_TESTS February 2, 2026 23:32 — with GitHub Actions Inactive
@tlento tlento force-pushed the add-sqlalchemy-sqlclient branch from 648f98f to 5a5ef7e Compare February 5, 2026 00:56
@tlento tlento force-pushed the remove-dbt-deps-from-mf-dev-env branch from 22b9acb to 73a31ac Compare February 5, 2026 00:56
@tlento tlento added Run Tests With Other SQL Engines Runs the test suite against the SQL engines in our target environment and removed Run Tests With Other SQL Engines Runs the test suite against the SQL engines in our target environment labels Feb 5, 2026
@tlento tlento temporarily deployed to DW_INTEGRATION_TESTS February 5, 2026 00:56 — with GitHub Actions Inactive
@tlento tlento temporarily deployed to DW_INTEGRATION_TESTS February 5, 2026 00:56 — with GitHub Actions Inactive
@tlento tlento temporarily deployed to DW_INTEGRATION_TESTS February 5, 2026 00:56 — with GitHub Actions Inactive
@tlento tlento temporarily deployed to DW_INTEGRATION_TESTS February 5, 2026 00:56 — with GitHub Actions Inactive
Copy link
Contributor Author

tlento commented Feb 5, 2026

Merge activity

  • Feb 5, 1:39 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Feb 5, 1:42 AM UTC: Graphite rebased this pull request as part of a merge.
  • Feb 5, 1:45 AM UTC: @tlento merged this pull request with Graphite.

@tlento tlento changed the base branch from add-sqlalchemy-sqlclient to graphite-base/1967 February 5, 2026 01:40
@tlento tlento changed the base branch from graphite-base/1967 to main February 5, 2026 01:40
We no longer use dbt at all inside of Metricflow prpoer, so
this removes all dependencies.

The main changes of interest involve the updates to the pre-commit
configuration. The original config was not package-specific since
all critical dependencies were available from the metricflow
environment, so we could run linters without any custom installations.

Now that metricflow has no dbt dependency in its dev environment,
mypy will no longer typecheck correctly via pre-commit in the
dbt-metricflow package. Since mypy is the only affected item we work
around this by invoking it from the makefile for dbt-metricflow,
and otherwise excluding dbt-metricflow from the pre-commit execution.
@tlento tlento force-pushed the remove-dbt-deps-from-mf-dev-env branch from 73a31ac to d7ad588 Compare February 5, 2026 01:41
@tlento tlento merged commit 80aacd7 into main Feb 5, 2026
14 checks passed
@tlento tlento deleted the remove-dbt-deps-from-mf-dev-env branch February 5, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla:yes Run Tests With Other SQL Engines Runs the test suite against the SQL engines in our target environment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants