diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e966eb0..a4ad3bf 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -54,7 +54,7 @@ jobs: # - name: Set up Python # uses: actions/setup-python@v4 # with: -# python-version: '3.8' +# python-version: '3.9' # # - name: Install python dependencies # run: | @@ -82,7 +82,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11"] env: TOXENV: "unit" @@ -136,7 +136,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.8' + python-version: '3.9' - name: Install python dependencies run: | @@ -182,7 +182,7 @@ jobs: fail-fast: false matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11"] steps: - name: Set up Python ${{ matrix.python-version }} diff --git a/CHANGELOG.md b/CHANGELOG.md index c0e5c5a..6679df9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ - Fixes the get_location table function to work for both Iceberg and non-Iceberg tables on macOS and Windows. - Adds a helper function to retrieve the Iceberg catalog namespace from the profile.yaml file. - Adds merge_exclude_columns and incremental_predicates features. - +- Drop Python 3.8 support ## v1.8.6 - Fix session provisioning timeout and delay handling diff --git a/setup.py b/setup.py index 01a311b..d68a154 100644 --- a/setup.py +++ b/setup.py @@ -2,10 +2,10 @@ import os import sys -# require python 3.7 or newer -if sys.version_info < (3, 8): +# require python 3.9 or newer +if sys.version_info < (3, 9): print('Error: dbt does not support this version of Python.') - print('Please upgrade to Python 3.8 or higher.') + print('Please upgrade to Python 3.9 or higher.') sys.exit(1) # require version of setuptools that supports find_namespace_packages @@ -83,10 +83,9 @@ def get_version(rel_path): 'Operating System :: MacOS :: MacOS X', 'Operating System :: POSIX :: Linux', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', ], - python_requires=">=3.8", + python_requires=">=3.9", )