Skip to content

Commit

Permalink
NEW: add Python 3.11 and 3.12, and remove 3.7 πŸ§‘β€πŸ’»
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Perestoronin committed Jan 25, 2024
1 parent 18088ef commit c634ca2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.black]
line-length = 120
target_version = ["py37", "py38", "py39", "py310"]
target_version = ["py38", "py39", "py310", "py311", "py312"]

[tool.isort]
combine_as_imports = true
Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
install_requires=[
"pkgsettings>=0.9.2",
"fqn-decorators>=1.2.5,<3.0.0",
"setuptools; python_version >= '3.12'",
"typing-extensions>=4.5.0,<5.0.0",
],
extras_require={
Expand All @@ -39,10 +40,11 @@
"License :: OSI Approved :: Apache Software License",
"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",
"Topic :: Software Development :: Libraries :: Python Modules",
],
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
addopts = --tb=short

[tox]
envlist = py37,py38,py39,py310
envlist = py38,py39,py310,py311,py312
skipsdist = true

[testenv]
Expand Down

0 comments on commit c634ca2

Please sign in to comment.