Skip to content

Commit 088b7da

Browse files
committed
verify compat with dbt-core~=1.0.0
1 parent e36a1db commit 088b7da

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@ RUN mkdir -p /tmp/dbt-sqlite-tests
1111

1212
RUN cd /tmp/dbt-sqlite-tests && wget https://github.com/nalgeon/sqlean/releases/download/0.12.2/crypto.so
1313

14-
RUN pip install dbt==0.21.1
14+
RUN pip install dbt-core~=1.0.0
1515

1616
# NOTE: dbt 0.19.x doesn't work with pytest-dbt-adapter >= 0.5.0; use 0.4.0
1717
# see https://github.com/dbt-labs/dbt-adapter-tests/issues/20
1818
#
1919
# pytest-dbt-adapter 0.6.0 doesn't seem to work with dbt 0.21.1,
2020
# I think it's intended for the forthcoming 1.0.0 dbt release?
21-
RUN pip install pytest-dbt-adapter==0.5.1
21+
RUN pip install pytest-dbt-adapter==0.6.0
2222

2323
# dbt-sqlite overrides some stuff pertaining to 'docs generate'
2424
# so exercise it using jaffle_shop repo

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,11 @@ and joins.
3030

3131
## How to Use This
3232

33-
Use the right version:
33+
Use the right version. Starting with the release of dbt-core 1.0.0,
34+
versions of dbt-sqlite are aligned to the same major+minor
35+
[version](https://semver.org/) of dbt-core.
3436

37+
- versions 1.0.x of this adapter work with dbt-core 1.0.x
3538
- versions 0.2.x of this adapter work with dbt 0.20.x and 0.21.x
3639
- versions 0.1.x of this adapter work with dbt 0.19.x
3740
- versions 0.0.x of this adapter work with dbt 0.18.x

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _get_plugin_version():
6363
]
6464
},
6565
install_requires=[
66-
"dbt-core>=0.20.0"
66+
"dbt-core>=1.0.0"
6767
],
6868
classifiers=[
6969
'Development Status :: 4 - Beta',

0 commit comments

Comments
 (0)