Skip to content

Commit

Permalink
Modernize Python versions
Browse files Browse the repository at this point in the history
- drop support for Python 3.6/3.7
- add support for Python 3.12
- update linters
  • Loading branch information
jugmac00 committed Oct 3, 2023
1 parent 6f7b81a commit 3bf98bf
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ repos:
additional_dependencies: [flake8-bugbear==22.12.6]

- repo: https://github.com/asottile/pyupgrade
rev: v3.13.0
rev: v3.14.0
hooks:
- id: pyupgrade
args: [--py36-plus]
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def read(*parts):
"pytest-cov",
],
},
python_requires=">= 3.7",
python_requires=">= 3.8",
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
Expand All @@ -61,11 +61,11 @@ def read(*parts):
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"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 :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Framework :: Flask",
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tox]
envlist =
py37,
py38,
py39,
py310,
py311,
py312,
lint,
mypy,
coverage,
Expand Down

0 comments on commit 3bf98bf

Please sign in to comment.