Increase minimum version requirements for Python and Gtk

Python: 3.8
Gtk: 3.24
This commit is contained in:
Nick Hall 2023-07-01 22:54:00 +01:00
parent b41969c4c2
commit b23a2138b0
3 changed files with 5 additions and 5 deletions

View File

@ -14,13 +14,13 @@ Requirements
============
The following packages **MUST** be installed in order for Gramps to work:
* **Python** 3.5 or greater - The programming language used by Gramps. https://www.python.org/
* **GTK** 3.12 or greater - A cross-platform widget toolkit for creating graphical user interfaces. http://www.gtk.org/
* **Python** 3.8 or greater - The programming language used by Gramps. https://www.python.org/
* **GTK** 3.24 or greater - A cross-platform widget toolkit for creating graphical user interfaces. http://www.gtk.org/
* **pygobject** 3.12 or greater - Python Bindings for GLib/GObject/GIO/GTK+ https://wiki.gnome.org/Projects/PyGObject
The following three packages with GObject Introspection bindings (the gi packages)
* **cairo** 1.13.1 or greater - a 2D graphics library with support for multiple output devices. http://cairographics.org/
* **cairo** 1.14.0 or greater - a 2D graphics library with support for multiple output devices. http://cairographics.org/
* **Pycairo** 1.13.3 or greater - GObject Introspection bindings for cairo. https://github.com/pygobject/pycairo
* **pango** - a library for laying out and rendering of text, with an emphasis on internationalization. http://www.pango.org/
* **pangocairo** - Allows you to use Pango with Cairo http://www.pango.org/

View File

@ -184,7 +184,7 @@ from .gen.mime import mime_type_is_defined
#
#-------------------------------------------------------------------------
MIN_PYTHON_VERSION = (3, 5, 0, '', 0)
MIN_PYTHON_VERSION = (3, 8, 0, '', 0)
if not sys.version_info >= MIN_PYTHON_VERSION:
logging.warning(_("Your Python version does not meet the "
"requirements. At least Python %(v1)d.%(v2)d.%(v3)d is needed to"

View File

@ -51,7 +51,7 @@ _ = glocale.translation.gettext
MIN_PYGOBJECT_VERSION = (3, 12, 0)
PYGOBJ_ERR = False
MIN_GTK_VERSION = (3, 12)
MIN_GTK_VERSION = (3, 24)
UIDEFAULT = (
'''<?xml version="1.0" encoding="UTF-8"?>
<interface>