Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Hörist <philipp@hoerist.com>2022-12-28 19:20:35 +0300
committerPhilipp Hörist <philipp@hoerist.com>2022-12-28 19:20:35 +0300
commit20edba3be6d75102533b06fbde631ac86c749944 (patch)
treec314f6b802b4fb8645db9fc93bef9d569e29ce06
parent747c569638e0abb877517cee162854c765df8a32 (diff)
change: Depend on Python 3.10
-rw-r--r--README.md2
-rw-r--r--debian/control4
-rw-r--r--pyproject.toml4
-rw-r--r--setup.cfg4
-rwxr-xr-xsetup.py4
5 files changed, 9 insertions, 9 deletions
diff --git a/README.md b/README.md
index d3042e689..f55137497 100644
--- a/README.md
+++ b/README.md
@@ -2,7 +2,7 @@
### Runtime Requirements
-- [Python](https://www.python.org/) (>=3.9)
+- [Python](https://www.python.org/) (>=3.10)
- [PyGObject](https://pypi.org/project/PyGObject/) (>=3.42.0)
- [pycairo](https://pypi.org/project/pycairo/)
- [cairo](https://gitlab.freedesktop.org/cairo/cairo) (>=1.16.0)
diff --git a/debian/control b/debian/control
index 87f942c28..4ec2259bd 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Build-Depends:
dh-python,
gettext (>= 0.17-4),
libglib2.0-dev,
- python3 (>= 3.9),
+ python3 (>= 3.10),
python3-css-parser,
python3-gi,
python3-gi-cairo,
@@ -30,7 +30,7 @@ Depends:
${misc:Depends},
${python3:Depends},
desktop-file-utils,
- python3 (>= 3.9),
+ python3 (>= 3.10),
python3-css-parser (>= 1.0.2),
python3-gi (>= 3.42.0),
python3-gi-cairo (>= 1.14.0~),
diff --git a/pyproject.toml b/pyproject.toml
index adc69d0ba..e4026f5db 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -11,7 +11,7 @@ ignore-words-list = "claus,pres,ser,trough"
[tool.pyright]
-pythonVersion = "3.9"
+pythonVersion = "3.10"
pythonPlatform = "All"
typeCheckingMode = "strict"
@@ -155,7 +155,7 @@ exclude = [
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
-target-version = "py39"
+target-version = "py310"
[tool.ruff.per-file-ignores]
"test/*" = ["E402"]
diff --git a/setup.cfg b/setup.cfg
index 7aea9518b..21c21fc47 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -14,11 +14,11 @@ classifiers =
Environment :: X11 Applications :: GTK
License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Operating System :: OS Independent
- Programming Language :: Python :: 3.9
+ Programming Language :: Python :: 3.10
Topic :: Communications :: Chat
[options]
-python_requires = >=3.9
+python_requires = >=3.10
packages = find:
test_suite = test
install_requires =
diff --git a/setup.py b/setup.py
index b1d40c344..4c04bb527 100755
--- a/setup.py
+++ b/setup.py
@@ -8,8 +8,8 @@ import logging
import os
import sys
-if sys.version_info < (3, 9):
- sys.exit('Gajim needs Python 3.9+')
+if sys.version_info < (3, 10):
+ sys.exit('Gajim needs Python 3.10+')
import subprocess
from pathlib import Path