From 797d622f3d6b6c462de77cfd89e32e566def8177 Mon Sep 17 00:00:00 2001 From: Riccardo Pittau Date: Fri, 3 May 2024 10:17:39 +0200 Subject: [PATCH] Update supported Python versions Minimum supported Python version is now 3.8 Change-Id: I55464209f0c876bf42af3c2f6976730c1739a0b6 --- bifrost-cli | 6 +++--- setup.cfg | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/bifrost-cli b/bifrost-cli index 522fc3f9e..c2cdfa79d 100755 --- a/bifrost-cli +++ b/bifrost-cli @@ -1,12 +1,12 @@ #!/bin/sh if ! python3 --version > /dev/null; then - echo "Python 3 not found, version 3.6 or newer is required for Bifrost" + echo "Python 3 not found, version 3.8 or newer is required for Bifrost" exit 1 fi -if ! python3 -c "import sys; assert sys.version_info >= (3, 6)" 2> /dev/null; then - echo "Python 3.6 or newer is required for Bifrost" +if ! python3 -c "import sys; assert sys.version_info >= (3, 8)" 2> /dev/null; then + echo "Python 3.8 or newer is required for Bifrost" exit 1 fi diff --git a/setup.cfg b/setup.cfg index 66a9b7956..3b399f1a5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -19,6 +19,8 @@ classifier = Programming Language :: Python :: 3 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 [files] packages =