From d90338c67d3e8d4b12de164ac6267ed79bc021c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Diego=20Elio=20Petten=C3=B2?= Date: Thu, 3 Aug 2023 11:34:14 +0100 Subject: Update minimum supported version to Python 3.9. --- .github/workflows/pytest.yml | 2 +- .mergify.yml | 6 ------ README.md | 2 +- mypy.ini | 2 +- pyproject.toml | 2 +- setup.cfg | 2 +- 6 files changed, 5 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index c27d37f..2314f0c 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -15,7 +15,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, windows-latest, macos-latest] - python-version: [3.7, 3.8, 3.9] + python-version: [3.9] steps: - uses: actions/checkout@v2 diff --git a/.mergify.yml b/.mergify.yml index c28b2ad..3a9965e 100644 --- a/.mergify.yml +++ b/.mergify.yml @@ -8,14 +8,8 @@ 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 (macos-latest, 3.7)" - - "status-success=pytest (macos-latest, 3.8)" - "status-success=pytest (macos-latest, 3.9)" - - "status-success=pytest (windows-latest, 3.7)" - - "status-success=pytest (windows-latest, 3.8)" - "status-success=pytest (windows-latest, 3.9)" - "status-success=pre-commit" actions: diff --git a/README.md b/README.md index 1177679..6b27d3b 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ extra: ## Development 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 50f219f..17a03ee 100644 --- a/mypy.ini +++ b/mypy.ini @@ -3,7 +3,7 @@ ; SPDX-License-Identifier: 0BSD [mypy] -python_version = 3.7 +python_version = 3.9 [mypy-click_log] ignore_missing_imports = True diff --git a/pyproject.toml b/pyproject.toml index a062cb5..8d1804d 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 d9d0089..5742dce 100644 --- a/setup.cfg +++ b/setup.cfg @@ -35,7 +35,7 @@ keywords = packages = find: install_requires = construct -python_requires = ~= 3.7 +python_requires = ~= 3.9 [options.extras_require] hidapi = -- cgit v1.2.3