Skip to content

Commit

Permalink
Minimum Python 3.8 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 80bffda commit c449574
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 12 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.7.16"
python-version: "3.8.18"

- 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.7.16"
python-version: "3.8.18"

- 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.7 or above.
Requires Python 3.8 or above.

## Main Features

Expand Down
12 changes: 6 additions & 6 deletions requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
pip>=23.3.1
setuptools>=68
wheel
pylint>=2.17.7
mypy>=1.4.1
setuptools>=69.0.2
wheel>=0.42.0
pylint>=3.0.2
mypy>=1.7.1
types-requests
types-PyYAML
black>=23.3.0
isort>=5.11.5
black>=23.11.0
isort>=5.12.0
5 changes: 2 additions & 3 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, 7):
raise ValueError("Requires Python 3.7+")
if sys.version_info < (3, 8):
raise ValueError("Requires Python 3.8+")


def requires_from_file(filename: str) -> list:
Expand Down Expand Up @@ -39,7 +39,6 @@ def requires_from_file(filename: str) -> list:
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Software Development :: Libraries",
Expand Down

0 comments on commit c449574

Please sign in to comment.