From 26aa52ab057afb0c3f85ffc64f220eae0e9a222c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donatas=20Ma=C5=BEionis?= Date: Tue, 23 Aug 2022 12:05:17 +0300 Subject: [PATCH 1/4] Lower min required Python version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 589c4d6..7af24a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -5,7 +5,7 @@ build-backend = "flit_core.buildapi" [project] name = "lazy_loader" version = "0.1rc2" -requires-python = ">=3.8" +requires-python = ">=3.7" authors = [{name = "The Scientific Python Group"}] readme = "README.md" license = {file = "LICENSE.md"} From da48c42cc6168fff691493d98d35b1caa3a51b4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donatas=20Ma=C5=BEionis?= Date: Mon, 29 Aug 2022 10:22:24 +0300 Subject: [PATCH 2/4] Add Python 3.7 classifier --- pyproject.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/pyproject.toml b/pyproject.toml index 6d6b8fd..31955b7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,6 +13,7 @@ classifiers = [ "Development Status :: 4 - Beta", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", From ce8f4fdc630a60112094fa64cae3e01c57dc4338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donatas=20Ma=C5=BEionis?= Date: Mon, 29 Aug 2022 10:27:19 +0300 Subject: [PATCH 3/4] Add Python 3.7 to test workflow --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1b71ea5..2715bd9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,7 +8,7 @@ jobs: strategy: matrix: os: [ubuntu, macos, windows] - python-version: ["3.8", "3.9", "3.10", "3.11-dev"] + python-version: ["3.7", "3.8", "3.9", "3.10", "3.11-dev"] steps: - uses: actions/checkout@v3 From bf18fef99942520146c166d9e961adfd565fdd2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Donatas=20Ma=C5=BEionis?= Date: Mon, 29 Aug 2022 10:28:17 +0300 Subject: [PATCH 4/4] Set pyupgrade hook to Python 3.7 plus --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index dae70b7..ae1a4a8 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -32,7 +32,7 @@ repos: rev: v2.37.3 hooks: - id: pyupgrade - args: [--py38-plus] + args: [--py37-plus] - repo: https://github.com/pre-commit/mirrors-prettier rev: v2.7.1 hooks: