Skip to content

Commit

Permalink
deps: Bump minimal Python version
Browse files Browse the repository at this point in the history
- drop support for EOL Python 3.7
- add support for Python 3.12
  • Loading branch information
nijel committed Oct 3, 2023
1 parent 5f2ecad commit b9672d1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ select = [
"SLF",
"N"
]
target-version = "py37"
target-version = "py38"

[tool.ruff.mccabe]
max-complexity = 16
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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

Expand Down

0 comments on commit b9672d1

Please sign in to comment.