Add Python 3.12 support in GitHub Actions and project configurations

This commit is contained in:
Nachtalb 2023-11-03 20:47:53 +01:00
parent 548c857646
commit ea18972a6b
No known key found for this signature in database
GPG key ID: FB8B6CA09AE73612
2 changed files with 4 additions and 2 deletions

View file

@ -33,6 +33,7 @@ jobs:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- 'pypy3.8'
- 'pypy3.9'

View file

@ -34,6 +34,7 @@ classifiers = [
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
@ -144,7 +145,7 @@ features = [
serve = "sphinx-autobuild --watch aiogram/ --watch CHANGELOG.rst --watch README.rst docs/ docs/_build/ {args}"
[tool.hatch.envs.dev]
python = "3.11"
python = "3.12"
features = [
"dev",
"fast",
@ -185,7 +186,7 @@ view-cov = "google-chrome-stable reports/py{matrix:python}/coverage/index.html"
[[tool.hatch.envs.test.matrix]]
python = ["38", "39", "310", "311"]
python = ["38", "39", "310", "311", "312"]
[tool.ruff]
line-length = 99