Skip to content

Commit

Permalink
Update install-python-compatibility.md (#5012)
Browse files Browse the repository at this point in the history
Closes #5006

## What are you changing in this pull request and why?

Adding an easier to glance at table for Python <> dbt Core version
compatibility.
## Checklist
- [x] Review the [Content style
guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md)
so my content adheres to these guidelines.
- [ ] For [docs
versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#about-versioning),
review how to [version a whole
page](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
and [version a block of
content](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-blocks-of-content).
- [ ] Add a checklist item for anything that needs to happen before this
PR is merged, such as "needs technical review" or "change base branch."

Adding or removing pages (delete if not applicable):
- [ ] Add/remove page in `website/sidebars.js`
- [ ] Provide a unique filename for new pages
- [ ] Add an entry for deleted pages in `website/vercel.json`
- [ ] Run link testing locally with `npm run build` to update the links
that point to deleted pages
  • Loading branch information
matthewshaver authored Feb 28, 2024
2 parents 8f0a2f7 + 6fe4f0f commit 48ef8da
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions website/docs/faqs/Core/install-python-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,11 @@ sidebar_label: 'Python version'
id: install-python-compatibility
---

Adapter plugins and their dependencies are not always compatible with the latest version of Python. For example, dbt-snowflake v0.15 is not compatible with Python 3.12, but dbt-snowflake versions 0.20+ are.
import Pythonmatrix from '/snippets/_python-compatibility-matrix.md';

New dbt minor versions will add support for new Python3 minor versions as soon as all dependencies can support it. In turn, dbt minor versions will drop support for old Python3 minor versions right before they reach [end of life](https://endoflife.date/python).
Use this table to match dbt-core versions with their compatible Python versions. New dbt minor versions will add support for new Python3 minor versions as soon as all dependencies can support it. In addition, dbt minor versions will drop support for old Python3 minor versions right before they reach [end of life](https://endoflife.date/python).

dbt Core does not support Python2.
<Pythonmatrix/>

import Pythonmatrix from '/snippets/_python-compatibility-matrix.md';
Adapter plugins and their dependencies are not always compatible with the latest version of Python. For example, dbt-snowflake v0.19 is not compatible with Python 3.9, but dbt-snowflake versions 0.20+ are.

<Pythonmatrix/>

0 comments on commit 48ef8da

Please sign in to comment.