mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Upgrade to py12 (#1354)
* Upgrade to py12 compatible aiohttp beta version * Fix uvloop deprecation warning causing pytest not to run * Fix test due to asyncio task scheduling race condition * Fix test_state_in_unknown_class for Python 3.12+ due to PEP 678 changes * Add Python 3.12 support in GitHub Actions and project configurations * Add changelog entry --------- Co-authored-by: Alex Root Junior <jroot.junior@gmail.com>
This commit is contained in:
parent
c208bcf748
commit
c1bafea3e8
6 changed files with 35 additions and 7 deletions
|
|
@ -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",
|
||||
|
|
@ -41,7 +42,7 @@ classifiers = [
|
|||
]
|
||||
dependencies = [
|
||||
"magic-filter>=1.0.12,<1.1",
|
||||
"aiohttp~=3.8.5",
|
||||
"aiohttp~=3.9.0",
|
||||
"pydantic>=2.4.1,<2.6",
|
||||
"aiofiles~=23.2.1",
|
||||
"certifi>=2023.7.22",
|
||||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue