diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a76df7e9e..c361cb987 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -59,7 +59,6 @@ jobs: python -m pip --version pre-commit --version mypy --version - dbt --version - name: pre-commit hooks run: pre-commit run --all-files --show-diff-on-failure @@ -204,7 +203,7 @@ jobs: - name: Check wheel distributions run: | - dbt --version + python -c "import dbt.adapters.redshift" - name: Install source distributions run: | @@ -212,4 +211,4 @@ jobs: - name: Check source distributions run: | - dbt --version + python -c "import dbt.adapters.redshift" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 88942e251..f68eb3320 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -48,7 +48,7 @@ on: package_test_command: description: "Package test command" type: string - default: "dbt --version" + default: "python -c \"import dbt.adapters.redshift\"" required: true test_run: description: "Test run (Publish release as draft)" @@ -92,7 +92,7 @@ on: package_test_command: description: "Package test command" type: string - default: "dbt --version" + default: "python -c \"import dbt.adapters.redshift\"" required: true test_run: description: "Test run (Publish release as draft)" diff --git a/setup.py b/setup.py index a1b63306b..6cfd2823e 100644 --- a/setup.py +++ b/setup.py @@ -55,6 +55,7 @@ def _plugin_version() -> str: # Pin to the patch or minor version, and bump in each new minor version of dbt-redshift. "redshift-connector<=2.0.918, >=2.0.913, !=2.0.914", # installed via dbt-core but referenced directly; don't pin to avoid version conflicts with dbt-core + "sqlparse>=0.2.3,<0.5", "agate", ], zip_safe=False,