Skip to content

Commit

Permalink
Drop support for Python <3.7.2 (#4643)
Browse files Browse the repository at this point in the history
* Drop support for 3.7.1 + 3.7.2

* Rm root level setup.py

* Rm 'dbt' pkg from build-dist script

* Fixup changelog
  • Loading branch information
jtcohen6 authored Jan 31, 2022
1 parent d9cfeb1 commit 638e3ad
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 91 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
### Under the hood
- Testing cleanup ([#4496](https://github.com/dbt-labs/dbt-core/pull/4496), [#4509](https://github.com/dbt-labs/dbt-core/pull/4509))
- Clean up test deprecation warnings ([#3988](https://github.com/dbt-labs/dbt-core/issue/3988), [#4556](https://github.com/dbt-labs/dbt-core/pull/4556))
- Use mashumaro for serialization in event logging ([#4504](https://github.com/dbt-labs/dbt-core/issue/4504), [#4505](https://github.com/dbt-labs/dbt-core/pull/4505))
- Use mashumaro for serialization in event logging ([#4504](https://github.com/dbt-labs/dbt-core/issues/4504), [#4505](https://github.com/dbt-labs/dbt-core/pull/4505))
- Drop support for Python 3.7.0 + 3.7.1 ([#4584](https://github.com/dbt-labs/dbt-core/issues/4584), [#4585](https://github.com/dbt-labs/dbt-core/pull/4585), [#4643](https://github.com/dbt-labs/dbt-core/pull/4643))

Contributors:
- [@NiallRees](https://github.com/NiallRees) ([#4447](https://github.com/dbt-labs/dbt-core/pull/4447))
Expand Down
6 changes: 3 additions & 3 deletions core/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
import os
import sys

if sys.version_info < (3, 7):
if sys.version_info < (3, 7, 2):
print('Error: dbt does not support this version of Python.')
print('Please upgrade to Python 3.7 or higher.')
print('Please upgrade to Python 3.7.2 or higher.')
sys.exit(1)


Expand Down Expand Up @@ -85,5 +85,5 @@
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
],
python_requires=">=3.7",
python_requires=">=3.7.2",
)
3 changes: 0 additions & 3 deletions scripts/build-dist.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,4 @@ do
cp -r "$DBT_PATH"/"$SUBPATH"/dist/* "$DBT_PATH"/dist/
done

cd "$DBT_PATH"
$PYTHON_BIN setup.py sdist

set +x
84 changes: 0 additions & 84 deletions setup.py

This file was deleted.

0 comments on commit 638e3ad

Please sign in to comment.