Drop support for Python 3.10

This commit is contained in:
Veronica Berglyd Olsen
2025-10-22 21:23:57 +02:00
parent 2d7a42d918
commit e676bdc322
4 changed files with 7 additions and 9 deletions
-1
View File
@@ -15,7 +15,6 @@ jobs:
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
+2 -2
View File
@@ -206,9 +206,9 @@ def main(sysArgs: list | None = None) -> GuiMain | None:
# Check Packages and Versions
errorData = []
errorCode = 0
if sys.hexversion < 0x030a00f0:
if sys.hexversion < 0x030b00f0:
errorData.append(
f"At least Python 3.10 is required, found {CONFIG.verPyString}"
f"At least Python 3.11 is required, found {CONFIG.verPyString}"
)
errorCode |= 0x04
if CONFIG.verQtValue < 0x060400:
+2 -3
View File
@@ -10,10 +10,9 @@ readme = { file = "setup/description_pypi.md", content-type = "text/markdown" }
license = "GPL-3.0-or-later AND Apache-2.0 AND CC-BY-4.0"
license-files = ["LICENSE.md", "setup/LICENSE-Apache-2.0.txt"]
dynamic = ["version"]
requires-python = ">=3.10"
requires-python = ">=3.11"
classifiers = [
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
@@ -153,7 +152,7 @@ include = ["novelwriter"]
exclude = ["**/__pycache__"]
reportIncompatibleMethodOverride = false
pythonVersion = "3.10"
pythonVersion = "3.11"
[tool.pytest.ini_options]
log_level = "DEBUG"
+3 -3
View File
@@ -9,21 +9,21 @@ Build-Depends:
python3-setuptools,
python3-all,
debhelper (>= 9),
python3 (>=3.10),
python3 (>=3.11),
python3-pyqt6 (>= 6.4),
python3-pyqt6.qtsvg (>= 6.4),
python3-enchant (>= 2.0),
qt6-image-formats-plugins (>= 6.4)
Standards-Version: 4.5.1
Homepage: https://novelwriter.io
X-Python3-Version: >= 3.10
X-Python3-Version: >= 3.11
Package: novelwriter
Architecture: all
Depends:
${misc:Depends},
${python3:Depends},
python3 (>=3.10),
python3 (>=3.11),
python3-pyqt6 (>= 6.4),
python3-pyqt6.qtsvg (>= 6.4),
python3-enchant (>= 2.0),