From 57cbdb1323eba880e1bbe391933ea6b96d322e87 Mon Sep 17 00:00:00 2001 From: Sam Debruyn Date: Tue, 16 May 2023 14:44:00 +0200 Subject: [PATCH] update Python minimum version to 3.8 (#3369) ## What are you changing in this pull request and why? Docs change for PR https://github.com/dbt-labs/dbt-core/pull/7623 / issue https://github.com/dbt-labs/dbt-core/issues/7082 resolves #3368 ## Checklist - [x] Add versioning components, as described in [Versioning Docs](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#versioning-entire-pages) - [ ] Add a note to the prerelease version [Migration Guide](https://github.com/dbt-labs/docs.getdbt.com/tree/current/website/docs/guides/migration/versions) - [x] Review the [Content style guide](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/content-style-guide.md) and [About versioning](https://github.com/dbt-labs/docs.getdbt.com/blob/current/contributing/single-sourcing-content.md#adding-a-new-version) so my content adheres to these guidelines. - [x] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch." --------- Co-authored-by: Doug Beatty <44704949+dbeatty10@users.noreply.github.com> Co-authored-by: mirnawong1 <89008547+mirnawong1@users.noreply.github.com> --- .../connect-data-platform/bigquery-setup.md | 2 +- .../docs/faqs/Core/install-pip-os-prereqs.md | 17 ++++++++++++++++- .../faqs/Core/install-python-compatibility.md | 12 +++++++++--- .../reference/warehouse-setups/glue-setup.md | 4 ++-- 4 files changed, 28 insertions(+), 7 deletions(-) diff --git a/website/docs/docs/core/connect-data-platform/bigquery-setup.md b/website/docs/docs/core/connect-data-platform/bigquery-setup.md index 2cd72099377..051d5a75dd4 100644 --- a/website/docs/docs/core/connect-data-platform/bigquery-setup.md +++ b/website/docs/docs/core/connect-data-platform/bigquery-setup.md @@ -12,7 +12,7 @@ meta: slack_channel_name: '#db-bigquery' slack_channel_link: 'https://getdbt.slack.com/archives/C99SNSRTK' platform_name: 'Big Query' - config_page: 'bigquery-configs' + config_page: '/reference/resource-configs/bigquery-configs' --- diff --git a/website/docs/faqs/Core/install-pip-os-prereqs.md b/website/docs/faqs/Core/install-pip-os-prereqs.md index f6dddec195d..41a4e4ec60e 100644 --- a/website/docs/faqs/Core/install-pip-os-prereqs.md +++ b/website/docs/faqs/Core/install-pip-os-prereqs.md @@ -23,7 +23,13 @@ sudo yum install redhat-rpm-config gcc libffi-devel \ ### MacOS + +The MacOS requires Python 3.8 or higher to successfully install and run dbt Core. + + + The MacOS requires Python 3.7 or higher to successfully install and run dbt Core. + To check the Python version: @@ -33,7 +39,7 @@ python --version ``` -If you need a compatible version, you can download and install [Python version 3.7 or higher for MacOS](https://www.python.org/downloads/macos). +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 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 @@ -55,6 +61,15 @@ 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.7 or higher for Windows](https://www.python.org/downloads/windows/). + For further questions, please see the [Python compatibility FAQ](/faqs/Core/install-python-compatibility) diff --git a/website/docs/faqs/Core/install-python-compatibility.md b/website/docs/faqs/Core/install-python-compatibility.md index e1ecd2aced2..d24466f4990 100644 --- a/website/docs/faqs/Core/install-python-compatibility.md +++ b/website/docs/faqs/Core/install-python-compatibility.md @@ -1,13 +1,19 @@ --- title: What version of Python can I use? -description: "Python versions 3.7 and newer can be used with dbt Core" +description: "Python versions 3.8 and newer can be used with dbt Core" sidebar_label: 'Python version' id: install-python-compatibility --- - + -The latest version of `dbt-core` is compatible with Python versions 3.7, 3.8, 3.9, 3.10, and 3.11. +The latest version of `dbt-core` is compatible with Python versions 3.8, 3.9, 3.10 and 3.11. + + + + + +The latest version of `dbt-core` is compatible with Python versions 3.7, 3.8, 3.9, 3.10 and 3.11. diff --git a/website/docs/reference/warehouse-setups/glue-setup.md b/website/docs/reference/warehouse-setups/glue-setup.md index fbea87b0411..e0fb9556853 100644 --- a/website/docs/reference/warehouse-setups/glue-setup.md +++ b/website/docs/reference/warehouse-setups/glue-setup.md @@ -70,7 +70,7 @@ You will find bellow a least privileged policy to enjoy all features of **`dbt-g Please to update variables between **`<>`**, here are explanations of these arguments: -|Args |Description | +|Args |Description | |---|---| |region|The region where your Glue database is stored | |AWS Account|The AWS account where you run your pipeline| @@ -189,7 +189,7 @@ Please to update variables between **`<>`**, here are explanations of these argu ### Configuration of the local environment -Because **`dbt`** and **`dbt-glue`** adapter are compatible with Python versions 3.7, 3.8, and 3.9, check the version of Python: +Because **`dbt`** and **`dbt-glue`** adapter are compatible with Python versions 3.8, and 3.9, check the version of Python: ```bash $ python3 --version