Skip to content

Commit d6593de

Browse files
authored
Lower min required Python version to 3.7 (#14)
* Lower min required Python version * Add Python 3.7 classifier * Add Python 3.7 to test workflow * Set pyupgrade hook to Python 3.7 plus
1 parent eeb6a7d commit d6593de

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
strategy:
99
matrix:
1010
os: [ubuntu, macos, windows]
11-
python-version: ["3.8", "3.9", "3.10", "3.11-dev"]
11+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"]
1212

1313
steps:
1414
- uses: actions/checkout@v3

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ repos:
3232
rev: v2.37.3
3333
hooks:
3434
- id: pyupgrade
35-
args: [--py38-plus]
35+
args: [--py37-plus]
3636
- repo: https://github.com/pre-commit/mirrors-prettier
3737
rev: v2.7.1
3838
hooks:

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,15 @@ build-backend = "flit_core.buildapi"
55
[project]
66
name = "lazy_loader"
77
version = "0.1rc2.dev0"
8-
requires-python = ">=3.8"
8+
requires-python = ">=3.7"
99
authors = [{name = "Scientific Python Developers"}]
1010
readme = "README.md"
1111
license = {file = "LICENSE.md"}
1212
classifiers = [
1313
"Development Status :: 4 - Beta",
1414
"License :: OSI Approved :: BSD License",
1515
"Programming Language :: Python :: 3",
16+
"Programming Language :: Python :: 3.7",
1617
"Programming Language :: Python :: 3.8",
1718
"Programming Language :: Python :: 3.9",
1819
"Programming Language :: Python :: 3.10",

0 commit comments

Comments
 (0)