Skip to content

Commit 4b5b59b

Browse files
committed
Fix test for default query comment append behaviour
Default behaviour was changed in dbt-adapters 1.15 Pin minor version of dbt-adapters, as minor updates may introduce breaking changes
1 parent e1095dc commit 4b5b59b

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
kind: Dependencies
2+
body: Update dbt-adapters to 1.15.1
3+
time: 2025-05-28T19:17:26.738442+02:00
4+
custom:
5+
Author: damian3031
6+
Issue: ""
7+
PR: "483"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def _dbt_trino_version():
7777
},
7878
install_requires=[
7979
"dbt-common>=1.14.0,<2.0",
80-
"dbt-adapters>=1.10.4,<2.0",
80+
"dbt-adapters~=1.15.1",
8181
"trino~=0.331",
8282
# add dbt-core to ensure backwards compatibility of installation, this is not a functional dependency
8383
"dbt-core>=1.8.0",

tests/unit/test_adapter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ def setUp(self):
6868

6969
self.config = config_from_parts_or_dicts(project_cfg, profile_cfg)
7070
self.assertEqual(self.config.query_comment.comment, "dbt")
71-
self.assertEqual(self.config.query_comment.append, False)
71+
self.assertEqual(self.config.query_comment.append, None)
7272

7373
@property
7474
def adapter(self):

0 commit comments

Comments
 (0)