Closed dataders closed 2 years ago
I believe https://github.com/fishtown-analytics/dbt-adapter-tests/commit/2ffb4505ba998eef160c52b86db8c005efb757f1, included in 0.5.0, accounts for a change included in dbt v0.20.0: https://github.com/fishtown-analytics/dbt/issues/3313. So pytest-dbt-adapter>0.5
should only be used with dbt-core>0.20
.
@kwigley Would it make sense to establish that mapping, say by requiring a minimum dbt-core
version here?
https://github.com/fishtown-analytics/dbt-adapter-tests/blob/54faac79c882a4e5688b89466c51f766a3074450/setup.py#L27
p.s. there's no 0.5.1 release here on GitHub? how is it different from
0.5.0
?
We should add a release here, too :) The big difference (https://github.com/fishtown-analytics/dbt-adapter-tests/commit/33872d1cc0f936677dae091c3e0b49771c280514) was adding another module with some art from core integration tests, so that we could write more effective integration tests for dbt-spark. It's still not in primetime shape, though, and finicky to use, so we haven't committed to it long term.
p.p.s why does
dbt --version
not outputdbt-synapse
when it's installed in development mode (pip install -e .
) but does show up when installed via PyPI?
This is something I've experienced and wondered myself. +1 to the mystery.
@kwigley I'm getting an inscrutable error when I use
pytest-dbt-adapter==0.5.1
that doesn't happen when I revert to0.4.0
. Below is the error message and here's the full stacktrace.p.s. there's no 0.5.1 release here on GitHub? how is it different from
0.5.0
?p.p.s why does
dbt --version
not outputdbt-synapse
when it's installed in development mode (pip install -e .
) but does show up when installed via PyPI?