diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index 6a8b868a5..e5c70772e 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -158,10 +158,6 @@ jobs: pip --version tox --version - - name: Install dbt-core latest - run: | - pip install "git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-core&subdirectory=core" - - name: Run tox (snowflake) if: matrix.adapter == 'snowflake' env: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 6254fc339..6c2fc5e67 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -137,10 +137,6 @@ jobs: pip install --upgrade setuptools wheel twine check-wheel-contents pip --version - - name: Install dbt-core latest - run: | - pip install "git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-core&subdirectory=core" - - name: Build distributions run: ./scripts/build-dist.sh diff --git a/CHANGELOG.md b/CHANGELOG.md index c33f2e0a1..edb40e2cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ ### Under the hood - Resolves an issue caused when the Snowflake OCSP server is not accessible, by exposing the `insecure_mode` boolean avalable in the Snowflake python connector ([#31](https://github.com/dbt-labs/dbt-snowflake/issues/31), [#49](https://github.com/dbt-labs/dbt-snowflake/pull/49)) +- Fix test related to preventing coercion of boolean values (True, False) to numeric values (0, 1) in query results ([#76](https://github.com/dbt-labs/dbt-snowflake/issues/76)) ### Contributors - [@anthu](https://github.com/anthu) ([#48](https://github.com/dbt-labs/dbt-snowflake/pull/48)) diff --git a/dev_requirements.txt b/dev_requirements.txt index e0641f9c9..5ceb33419 100644 --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -1,6 +1,6 @@ # install latest changes in dbt-core # TODO: how to automate switching from develop to version branches? -git+https://github.com/dbt-labs/dbt.git#egg=dbt-core&subdirectory=core +git+https://github.com/dbt-labs/dbt.git@1.0.latest#egg=dbt-core&subdirectory=core bumpversion flake8 diff --git a/tests/unit/utils.py b/tests/unit/utils.py index 68d0fc33f..a4a382c5d 100644 --- a/tests/unit/utils.py +++ b/tests/unit/utils.py @@ -253,7 +253,7 @@ def _get_tester_for(self, column_type): return agate.TimeDelta() for instance in agate_helper.DEFAULT_TYPE_TESTER._possible_types: - if type(instance) is column_type: + if isinstance(instance, column_type): # include child types return instance raise ValueError(f'no tester for {column_type}')