-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Many dbt commands (dbt run, dbt test, ...) are breaking on Python 3.9.7 released yesterday: https://docs.python.org/release/3.9.7/whatsnew/changelog.html.
Here is a traceback:
2021-09-01 14:55:10.133377 (MainThread): Running with dbt=0.20.1
2021-09-01 14:55:11.273707 (MainThread): Encountered an error:
2021-09-01 14:55:11.273998 (MainThread): Profile() takes no arguments
2021-09-01 14:55:11.275664 (MainThread): Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/dbt/main.py", line 125, in main
results, succeeded = handle_and_check(args)
File "/usr/local/lib/python3.9/site-packages/dbt/main.py", line 203, in handle_and_check
task, res = run_from_args(parsed)
File "/usr/local/lib/python3.9/site-packages/dbt/main.py", line 242, in run_from_args
task = parsed.cls.from_args(args=parsed)
File "/usr/local/lib/python3.9/site-packages/dbt/task/base.py", line 157, in from_args
return super().from_args(args)
File "/usr/local/lib/python3.9/site-packages/dbt/task/base.py", line 75, in from_args
config = cls.ConfigType.from_args(args)
File "/usr/local/lib/python3.9/site-packages/dbt/config/runtime.py", line 233, in from_args
project, profile = cls.collect_parts(args)
File "/usr/local/lib/python3.9/site-packages/dbt/config/runtime.py", line 211, in collect_parts
profile = cls._get_rendered_profile(
File "/usr/local/lib/python3.9/site-packages/dbt/config/runtime.py", line 190, in _get_rendered_profile
return Profile.render_from_args(
File "/usr/local/lib/python3.9/site-packages/dbt/config/profile.py", line 423, in render_from_args
return cls.from_raw_profiles(
File "/usr/local/lib/python3.9/site-packages/dbt/config/profile.py", line 388, in from_raw_profiles
return cls.from_raw_profile_info(
File "/usr/local/lib/python3.9/site-packages/dbt/config/profile.py", line 338, in from_raw_profile_info
return cls.from_credentials(
File "/usr/local/lib/python3.9/site-packages/dbt/config/profile.py", line 242, in from_credentials
profile = cls(
TypeError: Profile() takes no arguments
For more details please see the following Slack thread: https://getdbt.slack.com/archives/C99SNSRTK/p1630506829031300
DouweM, tnightengale, edgarrmondragon, aaronsteers, iserko and 2 more
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working