✨ Add Python 3.13 support and update dependencies

Extends Python version support to include 3.13 in CI workflows,
tox environments, and documentation. Updates dependencies to
ensure compatibility with the new Python version and resolves
legacy workarounds for macOS GitHub Actions runners.

Upgrades include:
- `pyside6` to version 6.9.1
- `click` to version 8.2.1
- Other relevant dependency updates for compatibility.

Re-enables `pyupgrade` pre-commit hook targeting Python 3.12+.

Fixed binary creation for Intel macOS.
This commit is contained in:
Robert Honz
2025-07-01 08:04:21 +02:00
parent e35f5eef78
commit d3164f48de
8 changed files with 67 additions and 58 deletions
+5 -4
View File
@@ -10,8 +10,9 @@ classifiers = [
"License :: OSI Approved :: GNU Affero General Public License v3",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
]
requires-python = ">=3.12,<3.13"
requires-python = ">=3.12,<3.14"
dynamic = ["dependencies"]
[project.urls]
@@ -34,8 +35,8 @@ dataclasses-json = "^0.6.7"
pathvalidate = "^3.3.1"
m3u8 = "^6.0.0"
coloredlogs = "^15.0.1"
pyside6 = { version = "6.8.0.1", optional = true }
pyqtdarktheme-fork = { version = "^2.3.2", optional = true }
pyside6 = { version = "6.9.1", optional = true }
pyqtdarktheme-fork = { version = "^2.3.4", optional = true }
mpegdash = "^0.4.0"
rich = "^14.0.0"
toml = "^0.10.2"
@@ -140,7 +141,7 @@ ignore = [
[tool.black]
# https://github.com/psf/black
target-version = ["py312"]
target-version = ["py312", "py313"]
line-length = 120
color = true
preview = true