Skip to content

Commit

Permalink
Minimum Python 3.7 and update build tools
Browse files Browse the repository at this point in the history
  • Loading branch information
gouline committed Dec 8, 2023
1 parent ad7dc87 commit 11edb79
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: "3.6.x"
python-version: "3.7.x"

- name: Requirements
run: make requirements
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

- uses: actions/setup-python@v4
with:
python-version: "3.6.x"
python-version: "3.7.x"

- uses: actions/cache@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Metabase data model.

## Requirements

Requires Python 3.6 or above.
Requires Python 3.7 or above.

## Main Features

Expand Down
10 changes: 5 additions & 5 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
setuptools>=45
setuptools>=68
wheel
pylint>=2.13.9
mypy>=0.971
pylint>=3.0.2
mypy>=1.7.1
types-requests
types-PyYAML
black>=22.8.0
isort>=5.10.1
black>=23.11.0
isort>=5.12.0
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

from setuptools import find_packages, setup

if sys.version_info < (3, 6):
raise ValueError("Requires Python 3.6+")
if sys.version_info < (3, 7):
raise ValueError("Requires Python 3.7+")


def requires_from_file(filename: str) -> list:
Expand Down

0 comments on commit 11edb79

Please sign in to comment.