Drop support for Python 3.10
This commit is contained in:
@@ -15,7 +15,6 @@ jobs:
|
||||
strategy:
|
||||
matrix:
|
||||
python-version:
|
||||
- "3.10"
|
||||
- "3.11"
|
||||
- "3.12"
|
||||
- "3.13"
|
||||
|
||||
@@ -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
@@ -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"
|
||||
|
||||
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user