Skip to content

Commit

Permalink
build: require dbt1.1 (#69)
Browse files Browse the repository at this point in the history
* Updated dev reqs to require pytest-dbt-adapter~=1.1.

* Updated changelog to show new requirements.

* Bumped down dbt-pytest-adapter requirement.

* Fixed issue in setup.py and setup.cfg so that it no longer uses the dbt-firebolt version to determine which version of dbt to install.
  • Loading branch information
ericf-firebolt authored May 19, 2022
1 parent 81561a7 commit d12d0ef
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Changelog

## v.1.0.6

### Under the hood

- dbt-firebolt now requires dbt v1.1.
- dbt-firebolt now requires firebolt-sdk>=0.7

### Breaking changes

- dbt-firebolt now requires dbt v1.1

## v.1.0.5

### Under the hood
Expand Down
2 changes: 1 addition & 1 deletion dbt/adapters/firebolt/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from dbt.adapters.firebolt.impl import FireboltAdapter
from dbt.include import firebolt

__version__ = '1.0.5'
__version__ = '1.0.6'

Plugin = AdapterPlugin(
adapter=FireboltAdapter,
Expand Down
3 changes: 2 additions & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ project_urls =
[options]
packages = find_namespace:
install_requires =
dbt-core~=1.1
firebolt-sdk>=0.7
python_requires = >=3.7
include_package_data = True
Expand All @@ -38,7 +39,7 @@ dev =
mypy==0.910
pre-commit==2.15.0
pytest==6.2.5
pytest-dbt-adapter==0.6.0
pytest-dbt-adapter~=0.6.0

[flake8]
max-line-length = 88
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

config = read_configuration('setup.cfg')
version = config['metadata']['version']
dbt_version = version.rsplit('.', 1)[0]
install_requires = [f'dbt-core~={dbt_version}', config['options']['install_requires']]
install_requires = config['options']['install_requires']

setup(install_requires=install_requires)

0 comments on commit d12d0ef

Please sign in to comment.