From 31af4f24e1a3ebf8eca28fb744d0a70f83bd6644 Mon Sep 17 00:00:00 2001 From: dmiller Date: Tue, 20 Jan 2026 22:33:15 +0000 Subject: [PATCH] Declare Python version support in RPM. See #3182 --- zenmap.spec.in | 3 +-- zenmap/pyproject.toml | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zenmap.spec.in b/zenmap.spec.in index 161f39ada..5f4aba529 100644 --- a/zenmap.spec.in +++ b/zenmap.spec.in @@ -14,12 +14,11 @@ Source0: https://nmap.org/dist/nmap-%{version}.tgz URL: https://nmap.org/zenmap/ BuildArch: noarch -AutoReqProv: no BuildRequires: python3-devel # Add any build-time deps declared in pyproject.toml [build-system.requires] BuildRequires: python3-setuptools, python3-wheel, python3-build, python3-setuptools-gettext BuildRequires: desktop-file-utils -Requires: python3 >= 3.0, nmap, python3-gobject, gtk3 +Requires: python3 >= 3.8, nmap, python3-gobject, gtk3 %global debug_package %{nil} Prefix: %{_prefix} diff --git a/zenmap/pyproject.toml b/zenmap/pyproject.toml index d2ae311a8..28cb2d2c3 100644 --- a/zenmap/pyproject.toml +++ b/zenmap/pyproject.toml @@ -12,6 +12,7 @@ readme = {file = "README", content-type = "text/plain"} dependencies = [ "PyGObject", ] +requires-python = ">= 3.8" [project.urls] Homepage = "https://nmap.org/zenmap/"