Skip to content

Commit

Permalink
Bumping version to 1.1.0rc1 (#98)
Browse files Browse the repository at this point in the history
* Bumping version to 1.1.0rc1

* Updating requirements to latest release branch

* Bumping manifest schema in tests

* Fix unit test per dbt-labs/dbt-core#5001

Co-authored-by: Github Build Bot <[email protected]>
Co-authored-by: leahwicz <[email protected]>
Co-authored-by: Jeremy Cohen <[email protected]>
  • Loading branch information
4 people authored Apr 13, 2022
1 parent 6459e12 commit 4f79029
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.1.0b1
current_version = 1.1.0rc1
parse = (?P<major>\d+)
\.(?P<minor>\d+)
\.(?P<patch>\d+)
Expand Down
2 changes: 1 addition & 1 deletion dbt/adapters/redshift/__version__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version = '1.1.0b1'
version = '1.1.0rc1'
6 changes: 3 additions & 3 deletions dev_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# install latest changes in dbt-core + dbt-postgres
# TODO: how to switch from HEAD to x.y.latest branches after minor releases?
git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-core&subdirectory=core
git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-tests-adapter&subdirectory=tests/adapter
git+https://github.com/dbt-labs/dbt-core.git#egg=dbt-postgres&subdirectory=plugins/postgres
git+https://github.com/dbt-labs/dbt-core.git@1.1.latest#egg=dbt-core&subdirectory=core
git+https://github.com/dbt-labs/dbt-core.git@1.1.latest#egg=dbt-tests-adapter&subdirectory=tests/adapter
git+https://github.com/dbt-labs/dbt-core.git@1.1.latest#egg=dbt-postgres&subdirectory=plugins/postgres

bumpversion
flake8
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def _get_dbt_core_version():


package_name = "dbt-redshift"
package_version = "1.1.0b1"
package_version = "1.1.0rc1"
dbt_core_version = _get_dbt_core_version()
description = """The Redshift adapter plugin for dbt"""

Expand Down
6 changes: 3 additions & 3 deletions tests/integration/docs_generate_tests/test_docs_generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -648,7 +648,7 @@ def expected_seeded_manifest(self, model_database=None, quote_model=False):
)

return {
'dbt_schema_version': 'https://schemas.getdbt.com/dbt/manifest/v4.json',
'dbt_schema_version': 'https://schemas.getdbt.com/dbt/manifest/v5.json',
'dbt_version': dbt.version.__version__,
'nodes': {
'model.test.model': {
Expand Down Expand Up @@ -1267,7 +1267,7 @@ def expected_redshift_incremental_view_manifest(self):
snapshot_path = self.dir('snapshot/snapshot_seed.sql')

return {
'dbt_schema_version': 'https://schemas.getdbt.com/dbt/manifest/v4.json',
'dbt_schema_version': 'https://schemas.getdbt.com/dbt/manifest/v5.json',
'dbt_version': dbt.version.__version__,
'nodes': {
'model.test.model': {
Expand Down Expand Up @@ -1533,7 +1533,7 @@ def verify_manifest(self, expected_manifest):
elif key == 'metadata':
metadata = manifest['metadata']
self.verify_metadata(
metadata, 'https://schemas.getdbt.com/dbt/manifest/v4.json')
metadata, 'https://schemas.getdbt.com/dbt/manifest/v5.json')
assert 'project_id' in metadata and metadata[
'project_id'] == '098f6bcd4621d373cade4e832627b4f6'
assert 'send_anonymous_usage_stats' in metadata and metadata[
Expand Down
1 change: 1 addition & 0 deletions tests/unit/test_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@ def assert_has_keys(
'sql',
'sql_now',
'adapter_macro',
'selected_resources',
}
REQUIRED_MODEL_KEYS = REQUIRED_MACRO_KEYS | {'this'}
MAYBE_KEYS = frozenset({'debug'})
Expand Down

0 comments on commit 4f79029

Please sign in to comment.