[libvirt-python PATCH] setup: require python >= 3.5 to build

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Pytjon 3.5 is the oldest Python version available across our supported
build platforms.

Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx>
---
 setup.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.py b/setup.py
index 56b6eea..b3e418e 100755
--- a/setup.py
+++ b/setup.py
@@ -17,8 +17,8 @@ import re
 import shutil
 import time
 
-if sys.version_info[0] != 3:
-    print("libvirt-python requires Python 3.x to build")
+if sys.version_info[0] != 3 or sys.version_info[1] < 5:
+    print("libvirt-python requires Python 3 >= 3.5 to build")
     sys.exit(1)
 
 MIN_LIBVIRT = "0.9.11"
-- 
2.25.2





[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux