1
0
mirror of https://gitlab.com/libvirt/libvirt-python.git synced 2025-11-26 16:23:47 +03:00

setup: Bump the minimum version of Python to 3.6

3.6 is already EOL, but many platforms still default to Python 3.6 when
it comes to the default platform Python package. Since we don't rely
on any 3.7+ features in the bindings at the moment, let's keep
everyone's life simpler and stay with 3.6 for now, we can bump it again
in the future.

Signed-off-by: Erik Skultety <eskultet@redhat.com>
This commit is contained in:
Erik Skultety
2023-06-07 16:47:41 +02:00
parent 90bf275b7d
commit fa96143b35

View File

@@ -14,8 +14,8 @@ import shutil
import subprocess
import time
if sys.version_info < (3, 5):
print("libvirt-python requires Python >= 3.5 to build")
if sys.version_info < (3, 6):
print("libvirt-python requires Python >= 3.6 to build")
sys.exit(1)
MIN_LIBVIRT = "0.9.11"