Add python 3.14 to supported versions (#1599)

* Add python 3.14 to our supported versions and to our CI
* Convert to use pyproject.toml standard dependency groups
* Fix any issues reported by CI

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Teemu R.
2026-07-07 20:42:09 +02:00
committed by GitHub
parent 531be8437a
commit d492dd4a44
11 changed files with 1488 additions and 895 deletions

View File

@@ -11,7 +11,7 @@ dependencies = [
"cryptography>=1.9",
"aiohttp>=3",
"tzdata>=2024.2 ; platform_system == 'Windows'",
"mashumaro>=3.14",
"mashumaro>=3.20"
]
classifiers = [
@@ -21,17 +21,11 @@ classifiers = [
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
]
[project.optional-dependencies]
speedups = ["orjson>=3.9.1", "kasa-crypt>=0.2.0"]
docs = [
"sphinx_rtd_theme~=2.0",
"sphinxcontrib-programoutput~=0.0",
"myst-parser",
"docutils>=0.17",
"sphinx>=7.4.7",
]
speedups = ["orjson>=3.11.1", "kasa-crypt>=0.2.0"]
shell = ["ptpython", "rich"]
[project.urls]
@@ -43,8 +37,8 @@ shell = ["ptpython", "rich"]
[project.scripts]
kasa = "kasa.cli.__main__:cli"
[tool.uv]
dev-dependencies = [
[dependency-groups]
dev = [
"pytest",
"pytest-cov",
"pytest-asyncio",
@@ -64,7 +58,13 @@ dev-dependencies = [
"ruff>=0.9.0",
"uv>=0.11.26",
]
docs = [
"sphinx_rtd_theme~=2.0",
"sphinxcontrib-programoutput~=0.0",
"myst-parser",
"docutils>=0.17",
"sphinx>=7.4.7",
]
[build-system]
requires = ["hatchling"]