From ef116b204bf13fd0dfd2c05ba9436d74e9963377 Mon Sep 17 00:00:00 2001 From: Cor Date: Tue, 7 Nov 2023 16:46:42 +0100 Subject: [PATCH] Test for dbt 1.7 (#48) * Test for dbt 1.7 --- CHANGELOG.md | 2 ++ setup.cfg | 10 ++++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index da58c11..9465bac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +- Test dbt v1.7 ([PR](https://github.com/godatadriven/pytest-dbt-core/pull/48)) + ## [0.2.3] - 2023-08-25 - Remove upper version constrain for dbt core ([PR](https://github.com/godatadriven/pytest-dbt-core/pull/43)) diff --git a/setup.cfg b/setup.cfg index f8b8571..8bd436b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,7 +29,7 @@ where = src [options.extras_require] test = - dbt-spark[ODBC]>=1.1.0,<1.7.0 + dbt-spark[ODBC]>=1.1.0,<1.8.0 pyspark>=3.0.0,<4.0.0 pre-commit>=2.14.1 pytest>=6.2.5 @@ -71,9 +71,9 @@ spark_options = [tox:tox] envlist = - py3.7-dbt-spark{11,12,13,14,15} # dbt-spark v1.6 does not support Python 3.7 - py{3.8,3.9,3.10}-dbt-spark{11,12,13,14,15,16} - py3.11-dbt-spark{14,15,16} # Previous dbt-spark versions fail when using Python 3.11 + py3.7-dbt-spark{11,12,13,14,15} # dbt-spark v1.6 or later does not support Python 3.7 + py{3.8,3.9,3.10}-dbt-spark{11,12,13,14,15,16,17} + py3.11-dbt-spark{14,15,16,17} # Previous dbt-spark versions fail when using Python 3.11 isolated_build = true skip_missing_interpreters = true @@ -94,6 +94,7 @@ deps = dbt-spark14: dbt-spark[ODBC]~=1.4.0 dbt-spark15: dbt-spark[ODBC]~=1.5.0 dbt-spark16: dbt-spark[ODBC]~=1.6.0 + dbt-spark17: dbt-spark[ODBC]~=1.7.0 pip >= 19.3.1 extras = test commands = pytest {posargs:tests} @@ -113,6 +114,7 @@ deps = dbt-spark14: dbt-spark[ODBC]~=1.4.0 dbt-spark15: dbt-spark[ODBC]~=1.5.0 dbt-spark16: dbt-spark[ODBC]~=1.6.0 + dbt-spark17: dbt-spark[ODBC]~=1.7.0 pip >= 19.3.1 extras = test commands_pre = dbt deps --project-dir {toxinidir}/docs/source/_static/dbt_project --profiles-dir {toxinidir}/docs/source/_static/dbt_project