Skip to content

Commit

Permalink
Requiring Python >=3.8 enables walrus operator (#852) (#855)
Browse files Browse the repository at this point in the history
* Requiring Python >=3.8 enables walrus operator

* Update comment to be evergreen

---------

Co-authored-by: Mike Alfare <[email protected]>
(cherry picked from commit 4368ef4)

Co-authored-by: Doug Beatty <[email protected]>
  • Loading branch information
github-actions[bot] and dbeatty10 authored Aug 3, 2023
1 parent 4de9484 commit 48e421e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changes/unreleased/Fixes-20230803-102915.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
kind: Fixes
body: Requiring Python >=3.8 enables walrus operator
time: 2023-08-03T10:29:15.371798-06:00
custom:
Author: cemsbr dbeatty10
Issue: "849"
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env python
import sys

# require python 3.7 or newer
# require a supported version of Python
if sys.version_info < (3, 8):
print("Error: dbt does not support this version of Python.")
print("Please upgrade to Python 3.8 or higher.")
Expand Down Expand Up @@ -92,5 +92,5 @@ def _dbt_core_version(plugin_version: str) -> str:
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
python_requires=">=3.7",
python_requires=">=3.8",
)

0 comments on commit 48e421e

Please sign in to comment.