Skip to content
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

Updating python support versions #5015

Merged
merged 8 commits into from
Feb 28, 2024
21 changes: 3 additions & 18 deletions website/docs/faqs/Core/install-python-compatibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,11 @@ sidebar_label: 'Python version'
id: install-python-compatibility
---

<VersionBlock firstVersion="1.6">
import Pythonmatrix from '/snippets/_python-compatibility-matrix.md';

The latest version of `dbt-core` is compatible with Python versions 3.8, 3.9, 3.10 and 3.11.
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).
matthewshaver marked this conversation as resolved.
Show resolved Hide resolved

</VersionBlock>

<VersionBlock firstVersion="1.4" lastVersion="1.5">

The latest version of `dbt-core` is compatible with Python versions 3.7, 3.8, 3.9, 3.10 and 3.11.

</VersionBlock>

<VersionBlock lastVersion="1.3">

The latest version of `dbt-core` is compatible with Python versions 3.7, 3.8, 3.9, and 3.10

</VersionBlock>
<Pythonmatrix/>

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.

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).

Since v0.15.0, dbt Core no longer supports Python2.
9 changes: 9 additions & 0 deletions website/snippets/_python-compatibility-matrix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
## Python compatibility matrix

| dbt-core version | v1.0 | v1.1 | v1.2 | v1.3 | v1.4 | v1.5 | v1.6 | v1.7 | v1.8 |
|:-----------------|:----:|:----:|:----:|:----:|:----:|:----:|:----:|:-----:|:-----:|
| Python 3.8 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Python 3.9 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Python 3.10 | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Python 3.11 | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ | ✅ | ✅ | ✅ |
| Python 3.12 | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ❌ | ✅ | ✅ |
Loading