From a3ddabe740fa123b6c2060962d3ddb86959945c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Thu, 3 Aug 2023 11:13:59 +0100 Subject: Update minimum supported Python version to 3.9. --- .github/workflows/pytest.yml | 2 +- .mergify.yml | 4 ++-- README.md | 2 +- mypy.ini | 2 +- pyproject.toml | 2 +- setup.cfg | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 04a2c94..4cf3c3f 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest] - python-version: [3.7, 3.8, 3.9, "3.10", 3.11] + python-version: [3.9, "3.10", 3.11] steps: - uses: actions/checkout@v3 diff --git a/.mergify.yml b/.mergify.yml index 9bc4b9b..0d2145b 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -8,9 +8,9 @@ pull_request_rules: - or: - "#approved-reviews-by>=1" - "author=Flameeyes" - - "status-success=pytest (ubuntu-latest, 3.7)" - - "status-success=pytest (ubuntu-latest, 3.8)" - "status-success=pytest (ubuntu-latest, 3.9)" + - "status-success=pytest (ubuntu-latest, 3.10)" + - "status-success=pytest (ubuntu-latest, 3.11)" - "status-success=pre-commit" actions: merge: diff --git a/README.md b/README.md index 351de39..beca0ba 100644 --- a/README.md +++ b/README.md @@ -125,7 +125,7 @@ even if they are all from the same manufacturer, will use different protocols. If you want to contribute code, please note that the target language -is Python 3.7, and that the style to follow is for the most part PEP8 +is Python 3.9, and that the style to follow is for the most part PEP8 compatible. To set up your development environment follow these guidelines: diff --git a/mypy.ini b/mypy.ini index 9ff4178..528d1f9 100644 --- a/mypy.ini +++ b/mypy.ini @@ -3,7 +3,7 @@ ; SPDX-License-Identifier: MIT [mypy] -python_version = 3.7 +python_version = 3.9 [mypy-absl.testing.*] ignore_missing_imports = True diff --git a/pyproject.toml b/pyproject.toml index a7c08d1..127c20f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,7 +16,7 @@ requires = [ [tool.black] line-length = 88 -target-version = ['py37'] +target-version = ['py39'] exclude = ''' /( \.eggs diff --git a/setup.cfg b/setup.cfg index 7f4a507..d586ba5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -31,7 +31,7 @@ keywords = packages = find: install_requires = attrs -python_requires = ~= 3.7 +python_requires = ~= 3.9 [options.data_files] lib/udev/rules = -- cgit v1.2.3