-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CT-32] [Bug] cannot run dbt - module typing has no attribute OrderedDict #4564
Comments
I've upgraded my python to 3.6.3 and it's working |
Hi, @d1bevz thanks for your but report! I'm glad to hear it's working for you. I looked into it and I was able to reproduce your error with Python 3.7.0 on both dbt 0.21 and dbt 1.0.0. Since in dbt 1.0.0 we have removed support for Python 3.6, when you update dbt you'll want to use the latest Python 3.7 patch since it seems to not be a problem in Python 3.7.9. I'm closing the ticket since the issue is resolved, however feel free to reopen if you need to. |
So we can't run dbt in python 3.7.0? |
This compatibility issue in mashumaro was fixed in the version 3.0. dbt-core uses this version since 1.3. @nathaniel-may you might want to consider support 3.7.0 that was deprecated in #4584 |
@jeff-skoldberg, today dbt does not run with Python 3.7.0 nor Python 3.7.1. I have filed a new ticket to check and see if we can undo this restriction with the information @Fatal1ty has provided. In general, we recommend running dbt with the latest Python patch release if possible. |
Makes sense. I have a 3.9 version that worked. |
@jeff-skoldberg That makes sense. dbt also lags behind the latest minor release of Python which is pretty common. For anything that doesn't support Python 3.10, using Python 3.9.14 is preferred to using Python 3.9.0 is all. Glad you were able to get it working. |
I think as long as this issue is not being solved documentation should not mention python minimum requirement 3.7.0 when it is just not working per default for dbt 1.0.0 |
Is there an existing issue for this?
Current Behavior
I run command
dbt --version
And get following result:
Windows 11 Home
Python 3.7.0
Expected Behavior
No response
Steps To Reproduce
python -m venv dbt_venv
dbt_venv\Scripts\activate
pip install dbt
pip install dbt-postgres
dbt test
Relevant log output
No response
Environment
What database are you using dbt with?
postgres
Additional Context
No response
The text was updated successfully, but these errors were encountered: