mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-09 20:24:02 +00:00
Remove support for python <3.11 (#1273)
Python 3.11 ships with latest Debian Bookworm. pypy is not that widely used with this library based on statistics. It could be added back when pypy supports python 3.11.
This commit is contained in:
@@ -5,14 +5,12 @@ description = "Python API for TP-Link Kasa and Tapo devices"
|
||||
license = {text = "GPL-3.0-or-later"}
|
||||
authors = [ { name = "python-kasa developers" }]
|
||||
readme = "README.md"
|
||||
requires-python = ">=3.9,<4.0"
|
||||
requires-python = ">=3.11,<4.0"
|
||||
dependencies = [
|
||||
"asyncclick>=8.1.7",
|
||||
"pydantic>=1.10.15",
|
||||
"cryptography>=1.9",
|
||||
"async-timeout>=3.0.0",
|
||||
"aiohttp>=3",
|
||||
"typing-extensions>=4.12.2,<5.0",
|
||||
"tzdata>=2024.2 ; platform_system == 'Windows'",
|
||||
"mashumaro>=3.14",
|
||||
]
|
||||
@@ -21,8 +19,6 @@ classifiers = [
|
||||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
||||
"Operating System :: OS Independent",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.9",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
@@ -60,6 +56,7 @@ dev-dependencies = [
|
||||
"mypy~=1.0",
|
||||
"pytest-xdist>=3.6.1",
|
||||
"pytest-socket>=0.7.0",
|
||||
"ruff==0.7.4",
|
||||
]
|
||||
|
||||
|
||||
@@ -120,7 +117,7 @@ ignore-path-errors = ["docs/source/index.rst;D000"]
|
||||
|
||||
|
||||
[tool.ruff]
|
||||
target-version = "py38"
|
||||
target-version = "py311"
|
||||
|
||||
[tool.ruff.lint]
|
||||
select = [
|
||||
|
Reference in New Issue
Block a user