Drop support for Python 3.10
This commit is contained in:
@@ -15,7 +15,6 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
python-version:
|
python-version:
|
||||||
- "3.10"
|
|
||||||
- "3.11"
|
- "3.11"
|
||||||
- "3.12"
|
- "3.12"
|
||||||
- "3.13"
|
- "3.13"
|
||||||
|
|||||||
@@ -206,9 +206,9 @@ def main(sysArgs: list | None = None) -> GuiMain | None:
|
|||||||
# Check Packages and Versions
|
# Check Packages and Versions
|
||||||
errorData = []
|
errorData = []
|
||||||
errorCode = 0
|
errorCode = 0
|
||||||
if sys.hexversion < 0x030a00f0:
|
if sys.hexversion < 0x030b00f0:
|
||||||
errorData.append(
|
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
|
errorCode |= 0x04
|
||||||
if CONFIG.verQtValue < 0x060400:
|
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 = "GPL-3.0-or-later AND Apache-2.0 AND CC-BY-4.0"
|
||||||
license-files = ["LICENSE.md", "setup/LICENSE-Apache-2.0.txt"]
|
license-files = ["LICENSE.md", "setup/LICENSE-Apache-2.0.txt"]
|
||||||
dynamic = ["version"]
|
dynamic = ["version"]
|
||||||
requires-python = ">=3.10"
|
requires-python = ">=3.11"
|
||||||
classifiers = [
|
classifiers = [
|
||||||
"Programming Language :: Python :: 3 :: Only",
|
"Programming Language :: Python :: 3 :: Only",
|
||||||
"Programming Language :: Python :: 3.10",
|
|
||||||
"Programming Language :: Python :: 3.11",
|
"Programming Language :: Python :: 3.11",
|
||||||
"Programming Language :: Python :: 3.12",
|
"Programming Language :: Python :: 3.12",
|
||||||
"Programming Language :: Python :: 3.13",
|
"Programming Language :: Python :: 3.13",
|
||||||
@@ -153,7 +152,7 @@ include = ["novelwriter"]
|
|||||||
exclude = ["**/__pycache__"]
|
exclude = ["**/__pycache__"]
|
||||||
|
|
||||||
reportIncompatibleMethodOverride = false
|
reportIncompatibleMethodOverride = false
|
||||||
pythonVersion = "3.10"
|
pythonVersion = "3.11"
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
log_level = "DEBUG"
|
log_level = "DEBUG"
|
||||||
|
|||||||
@@ -9,21 +9,21 @@ Build-Depends:
|
|||||||
python3-setuptools,
|
python3-setuptools,
|
||||||
python3-all,
|
python3-all,
|
||||||
debhelper (>= 9),
|
debhelper (>= 9),
|
||||||
python3 (>=3.10),
|
python3 (>=3.11),
|
||||||
python3-pyqt6 (>= 6.4),
|
python3-pyqt6 (>= 6.4),
|
||||||
python3-pyqt6.qtsvg (>= 6.4),
|
python3-pyqt6.qtsvg (>= 6.4),
|
||||||
python3-enchant (>= 2.0),
|
python3-enchant (>= 2.0),
|
||||||
qt6-image-formats-plugins (>= 6.4)
|
qt6-image-formats-plugins (>= 6.4)
|
||||||
Standards-Version: 4.5.1
|
Standards-Version: 4.5.1
|
||||||
Homepage: https://novelwriter.io
|
Homepage: https://novelwriter.io
|
||||||
X-Python3-Version: >= 3.10
|
X-Python3-Version: >= 3.11
|
||||||
|
|
||||||
Package: novelwriter
|
Package: novelwriter
|
||||||
Architecture: all
|
Architecture: all
|
||||||
Depends:
|
Depends:
|
||||||
${misc:Depends},
|
${misc:Depends},
|
||||||
${python3:Depends},
|
${python3:Depends},
|
||||||
python3 (>=3.10),
|
python3 (>=3.11),
|
||||||
python3-pyqt6 (>= 6.4),
|
python3-pyqt6 (>= 6.4),
|
||||||
python3-pyqt6.qtsvg (>= 6.4),
|
python3-pyqt6.qtsvg (>= 6.4),
|
||||||
python3-enchant (>= 2.0),
|
python3-enchant (>= 2.0),
|
||||||
|
|||||||
Reference in New Issue
Block a user