Skip to content

Commit

Permalink
Removing Python 3.8 support (#6373)
Browse files Browse the repository at this point in the history
## What are you changing in this pull request and why?

Closes #6333

## Checklist
- [ ] I have reviewed 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.
- [ ] The topic I'm writing about is for specific dbt version(s) and I
have versioned it according to the [version a whole
page](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version)
and/or [version a block of
content](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-blocks-of-content)
guidelines.
- [ ] I have added checklist item(s) to this list for anything anything
that needs to happen before this PR is merged, such as "needs technical
review" or "change base branch."
- [ ] The content in this PR requires a dbt release note, so I added one
to the [release notes
page](https://docs.getdbt.com/docs/dbt-versions/dbt-cloud-release-notes).
<!--
PRE-RELEASE VERSION OF dbt (if so, uncomment):
- [ ] Add a note to the prerelease version [Migration
Guide](https://github.com/dbt-labs/docs.getdbt.com/tree/current/website/docs/docs/dbt-versions/core-upgrade)
-->
<!-- 
ADDING OR REMOVING PAGES (if so, uncomment):
- [ ] 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
-->

<!-- vercel-deployment-preview -->
---
🚀 Deployment available! Here are the direct links to the updated files:


-
https://docs-getdbt-com-git-remove-pythonversion-dbt-labs.vercel.app/docs/core/connect-data-platform/glue-setup
-
https://docs-getdbt-com-git-remove-pythonversion-dbt-labs.vercel.app/docs/core/connect-data-platform/teradata-setup
-
https://docs-getdbt-com-git-remove-pythonversion-dbt-labs.vercel.app/faqs/Core/install-pip-os-prereqs
-
https://docs-getdbt-com-git-remove-pythonversion-dbt-labs.vercel.app/faqs/Core/install-python-compatibility

<!-- end-vercel-deployment-preview -->

---------

Co-authored-by: Mirna Wong <[email protected]>
  • Loading branch information
matthewshaver and mirnawong1 authored Oct 28, 2024
1 parent 42beca2 commit e5d5e6e
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 19 deletions.
2 changes: 1 addition & 1 deletion website/docs/docs/core/connect-data-platform/glue-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ Please to update variables between **`<>`**, here are explanations of these argu

### Configuration of the local environment

Because **`dbt`** and **`dbt-glue`** adapters are compatible with Python versions 3.7, 3.8, and 3.9, check the version of Python:
Because **`dbt`** and **`dbt-glue`** adapters are compatible with Python versions 3.9 or higher, check the version of Python:

```bash
$ python3 --version
Expand Down
25 changes: 11 additions & 14 deletions website/docs/docs/core/connect-data-platform/teradata-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,17 @@ import SetUpPages from '/snippets/_setup-pages-intro.md';

## Python compatibility

| Plugin version | Python 3.6 | Python 3.7 | Python 3.8 | Python 3.9 | Python 3.10 | Python 3.11 |
| -------------- | ----------- | ----------- | ----------- | ----------- | ----------- | ------------ |
| 0.19.0.x | ✅ | ✅ | ✅ | ❌ | ❌ | ❌
| 0.20.0.x | ✅ | ✅ | ✅ | ✅ | ❌ | ❌
| 0.21.1.x | ✅ | ✅ | ✅ | ✅ | ❌ | ❌
| 1.0.0.x | ❌ | ✅ | ✅ | ✅ | ❌ | ❌
|1.1.x.x | ❌ | ✅ | ✅ | ✅ | ✅ | ❌
|1.2.x.x | ❌ | ✅ | ✅ | ✅ | ✅ | ❌
|1.3.x.x | ❌ | ✅ | ✅ | ✅ | ✅ | ❌
|1.4.x.x | ❌ | ✅ | ✅ | ✅ | ✅ | ✅
|1.5.x | ❌ | ✅ | ✅ | ✅ | ✅ | ✅
|1.6.x | ❌ | ❌ | ✅ | ✅ | ✅ | ✅
|1.7.x | ❌ | ❌ | ✅ | ✅ | ✅ | ✅
|1.8.x | ❌ | ❌ | ✅ | ✅ | ✅ | ✅
| Plugin version | Python 3.9 | Python 3.10 | Python 3.11 |
| -------------- | ----------- | ----------- | ------------ |
|1.0.0.x | ✅ | ❌ | ❌
|1.1.x.x | ✅ | ✅ | ❌
|1.2.x.x | ✅ | ✅ | ❌
|1.3.x.x | ✅ | ✅ | ❌
|1.4.x.x | ✅ | ✅ | ✅
|1.5.x | ✅ | ✅ | ✅
|1.6.x | ✅ | ✅ | ✅
|1.7.x | ✅ | ✅ | ✅
|1.8.x | ✅ | ✅ | ✅

## dbt dependent packages version compatibility

Expand Down
4 changes: 2 additions & 2 deletions website/docs/faqs/Core/install-pip-os-prereqs.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ python --version

```

If you need a compatible version, you can download and install [Python version 3.8 or higher for MacOS](https://www.python.org/downloads/macos).
If you need a compatible version, you can download and install [Python version 3.9 or higher for MacOS](https://www.python.org/downloads/macos).

If your machine runs on an Apple M1 architecture, we recommend that you install dbt via [Rosetta](https://support.apple.com/en-us/HT211861). This is necessary for certain dependencies that are only supported on Intel processors.
### Ubuntu/Debian
Expand All @@ -55,6 +55,6 @@ pip install cryptography~=3.4

Windows requires Python and git to successfully install and run dbt Core.

Install [Git for Windows](https://git-scm.com/downloads) and [Python version 3.8 or higher for Windows](https://www.python.org/downloads/windows/).
Install [Git for Windows](https://git-scm.com/downloads) and [Python version 3.9 or higher for Windows](https://www.python.org/downloads/windows/).

For further questions, please see the [Python compatibility FAQ](/faqs/Core/install-python-compatibility)
2 changes: 1 addition & 1 deletion website/docs/faqs/Core/install-python-compatibility.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: What version of Python can I use?
description: "Python versions 3.8 and newer can be used with dbt Core"
description: "Python versions supported with dbt Core"
sidebar_label: 'Python version'
id: install-python-compatibility
---
Expand Down
1 change: 0 additions & 1 deletion website/snippets/_python-compatibility-matrix.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@
| Python 3.11 ||||||||||
| Python 3.10 ||||||||||
| Python 3.9 ||||||||||
| Python 3.8 ||||||||||

0 comments on commit e5d5e6e

Please sign in to comment.