Skip to content

Commit

Permalink
Remove Python 3.8 support (#468)
Browse files Browse the repository at this point in the history
* Preparing for Release v1.8.6

* Preparing for Release v1.8.6

* Drop Python 3.8 support
  • Loading branch information
moomindani authored Oct 28, 2024
1 parent 8dc581e commit b73b808
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down Expand Up @@ -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"
Expand Down Expand Up @@ -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: |
Expand Down Expand Up @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
9 changes: 4 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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",
)

0 comments on commit b73b808

Please sign in to comment.