Description: defuse upper Python version check. This change allows building pyqi against Python 3.14 and further. Apparently, no other changes are needed at least for this version bump. . This patch addresses the Debian-specific need to track a single Python version and may not be welcome upstream. Author: Étienne Mollier Bug-Debian: https://bugs.debian.org/1143363 Forwarded: not-needed Last-Update: 2026-08-02 --- This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ --- pyqi.orig/setup.py +++ pyqi/setup.py @@ -45,9 +45,9 @@ classifiers = [s.strip() for s in classes.split('\n') if s] # Verify Python version -ver = '.'.join(map(str, [sys.version_info.major, sys.version_info.minor])) -if ver not in ['3.9', '3.10', '3.11', '3.12', '3.13']: - sys.stderr.write("Only Python 3.9 to 3.13 are supported.") +if sys.version_info.major < 3 \ + or (sys.version_info.major == 3 and sys.version_info.minor < 9 ): + sys.stderr.write("Only Python 3.9 and above are supported.") sys.exit(1) long_description = """pyqi (canonically pronounced pie chee) is a Python framework designed to support wrapping general commands in multiple types of interfaces, including at the command line, HTML, and API levels."""