diff options
author | Philipp Hörist <philipp@hoerist.com> | 2022-12-28 19:20:35 +0300 |
---|---|---|
committer | Philipp Hörist <philipp@hoerist.com> | 2022-12-28 19:20:35 +0300 |
commit | 20edba3be6d75102533b06fbde631ac86c749944 (patch) | |
tree | c314f6b802b4fb8645db9fc93bef9d569e29ce06 | |
parent | 747c569638e0abb877517cee162854c765df8a32 (diff) |
change: Depend on Python 3.10
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | debian/control | 4 | ||||
-rw-r--r-- | pyproject.toml | 4 | ||||
-rw-r--r-- | setup.cfg | 4 | ||||
-rwxr-xr-x | setup.py | 4 |
5 files changed, 9 insertions, 9 deletions
@@ -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"] @@ -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 = @@ -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 |