Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 3.8 minimum #193

Merged
merged 1 commit into from
Dec 8, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading