Skip to content

Merge main into feature/click-cli#6761

Merged
iknox-fa merged 159 commits intofeature/click-clifrom
merge_main_to_feature/click-cli
Jan 27, 2023
Merged

Merge main into feature/click-cli#6761
iknox-fa merged 159 commits intofeature/click-clifrom
merge_main_to_feature/click-cli

Conversation

@iknox-fa
Copy link
Contributor

@iknox-fa iknox-fa commented Jan 26, 2023

resolves https://github.com/orgs/dbt-labs/projects/38/views/1

Description

This PR represents the body of work for API-ification phase 1. As that has all been reviewed previously a complete line-by-line review is probably not needed however, the following steps have been taken to ensure the merge was done correctly:

  • Merge in both branches until no outstanding PRs remain.
  • Ensure testing parity. At this point not all tests on feature/click-cli pass but we expect that tests on this branch will pass if they also pass there. Note that it's expected that the failing for different reasons but that doesn't mean that it's a regression.
  • Check code coverage for any portions of code with low test coverage and do manual testing there.

Checklist

eve-johns and others added 30 commits October 17, 2022 16:58
* fix f string issue

* removed one space

* Add changelog

* fixed return format

Co-authored-by: Leah Antkiewicz <leah.antkiewicz@fishtownanalytics.com>
* Updated string formatting on non-f-strings.

Found all cases of strings separated by white space on a single line and
removed white space separation. EX: "hello " "world" -> "hello world".

* add changelog entry
* Create functors to initialize event types with str-type member attributes. Before this change, the spec of various classes expected base_msg and msg params to be str's. This assumption did not always hold true. post_init hooks ensures the spec is obeyed.
* Add new changelog.
* Add msg type change functor to a few other events that could use it.

Co-authored-by: Mila Page <versusfacit@users.noreply.github.com>
…y. (#6095)

Co-authored-by: Mila Page <versusfacit@users.noreply.github.com>
* convert 027 cycle test

* remove no-op expect_pass=False

* remove postgres from test names
* Convert test to functional set.

* Remove old statement tests from integration test set.

* Nix whitespace

Co-authored-by: Mila Page <versusfacit@users.noreply.github.com>
* switch out to use our action

* point to main
* point to correct workflow

* add inputs
* Initial structured logging changes

* remove "this" from core/dbt/events/functions.py

* CT-1047: Fix execution_time definitions to use float

* CT-1047: Revert unintended checking of changes to functions.py

* WIP

* first pass to resolve circular deps

* more circular dep resolution

* remove a bunch of duplication

* move message into log line

* update comments

* fix field that wen missing during rebase

* remove double import

* remove some comments and extra code

* fix pre-commit

* rework deprecations

* WIP converting messages

* WIP converting messages

* remove stray comment

* WIP more message conversion

* WIP more message conversion

* tweak the messages

* convert last message

* rename

* remove warn_or_raise as never used

* add fake calls to all new events

* fix some tests

* put back deprecation

* restore deprecation fully

* fix unit test

* fix log levels

* remove some skipped ids

* fix macro log function

* fix how messages are built to match expected outcome

* fix expected test message

* small fixes from reviews

* fix conflict resolution in UI

Co-authored-by: Gerda Shank <gerda@dbtlabs.com>
Co-authored-by: Peter Allen Webb <peter.webb@dbtlabs.com>
* converting 023_exit_codes_tests

* use packages fixture, clean up test names
…ker (#6180)

* Bump python from 3.10.7-slim-bullseye to 3.11.0-slim-bullseye in /docker

Bumps python from 3.10.7-slim-bullseye to 3.11.0-slim-bullseye.

---
updated-dependencies:
- dependency-name: python
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add automated changelog yaml from template for bot PR

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Github Build Bot <buildbot@fishtownanalytics.com>
* Updates lib to use new profile name functionality

* Adds changie entry

* Fixes formatting
* Combine various print result log events with different levels

* Changie

* more merge cleanup

* Specify DynamicLevel for event classes that must specify level
* Remove root_path

* Bump manifest schema to 8

* Update tests and compability utility for v8, root_path removal
…/core (#6144)

* Update colorama requirement in /core

Updates the requirements on [colorama](https://github.com/tartley/colorama) to permit the latest version.
- [Release notes](https://github.com/tartley/colorama/releases)
- [Changelog](https://github.com/tartley/colorama/blob/master/CHANGELOG.rst)
- [Commits](tartley/colorama@0.3.9...0.4.6)

---
updated-dependencies:
- dependency-name: colorama
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Add automated changelog yaml from template for bot PR

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Github Build Bot <buildbot@fishtownanalytics.com>
* converting 044_test_run_operations
* init pr for dbt_debug test conversion

* removal of old test

* minor test format change

* add new Base class and Test classes

* reformatting test, new method for capsys and error messgae to check, todo fix badproject

* refomatting tests, ready for review

* checking yaml file, and small reformat

* modifying since update wasn't working in ci/cd
iknox-fa and others added 7 commits January 26, 2023 12:43
* Optimization to remove graph analysis bottleneck in large dags.

* Add changelog entry.
* Test converted and reformatted for pytest.

* Ax old versions of 052 test

* Nix the 'os' import and black format

* Change names of models to be more PEP like

* cleanup code

Co-authored-by: Mila Page <versusfacit@users.noreply.github.com>
@cla-bot cla-bot bot added the cla:yes label Jan 26, 2023
…leases (#6602)

* Add release workflows

* Update nightly-release.yml

* Set default `test_run` value to `true`

* Update .bumpversion.cfg

* Resolve review comment

- Update workflow docs
- Change workflow name
- Set `test_run` default value to `true`

* Update Slack secret

* PyPI
@iknox-fa iknox-fa marked this pull request as ready for review January 27, 2023 18:50
@iknox-fa iknox-fa requested a review from a team as a code owner January 27, 2023 18:50
@iknox-fa iknox-fa requested a review from a team January 27, 2023 18:50
@iknox-fa iknox-fa requested review from a team and leahwicz as code owners January 27, 2023 18:50
@iknox-fa iknox-fa requested a review from nssalian January 27, 2023 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.