From b9672d1a35b36beb03d14451291488077da8636c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Tue, 3 Oct 2023 07:24:58 +0200 Subject: [PATCH] deps: Bump minimal Python version - drop support for EOL Python 3.7 - add support for Python 3.12 --- .github/workflows/test.yml | 10 +++++----- pyproject.toml | 2 +- setup.cfg | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e023da25..14f2e00a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,28 +13,28 @@ jobs: matrix: os: [ubuntu-latest, windows-latest, macos-latest] python-version: - - '3.7' - '3.8' - '3.9' - '3.10' - '3.11' + - '3.12' exclude: - - os: windows-latest - python-version: 3.7 - os: windows-latest python-version: 3.8 - os: windows-latest python-version: 3.9 - os: windows-latest python-version: '3.10' - - os: macos-latest - python-version: 3.7 + - os: windows-latest + python-version: '3.11' - os: macos-latest python-version: 3.8 - os: macos-latest python-version: 3.9 - os: macos-latest python-version: '3.10' + - os: macos-latest + python-version: '3.11' name: ${{ matrix.os }}, Python ${{ matrix.python-version }} steps: diff --git a/pyproject.toml b/pyproject.toml index e16bd5e9..bb13e961 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -48,7 +48,7 @@ select = [ "SLF", "N" ] -target-version = "py37" +target-version = "py38" [tool.ruff.mccabe] max-complexity = 16 diff --git a/setup.cfg b/setup.cfg index 94409adf..9fbb641a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -18,11 +18,11 @@ classifiers = Programming Language :: Python Programming Language :: Python :: 3 Programming Language :: Python :: 3 :: Only - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Topic :: Software Development :: Internationalization Topic :: Software Development :: Localization Topic :: Utilities @@ -37,7 +37,7 @@ project_urls = [options] packages = wlc -python_requires = >=3.7 +python_requires = >=3.8 package_dir = wlc=wlc include_package_data = 1