diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 05:27:03 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-18 05:27:13 +0000 |
commit | 82f632622e56a7487a6907d824b428b09c660e3d (patch) | |
tree | 33ee2b69ff98a267395bc76624842be276727ac6 /docs/labs | |
parent | Releasing debian version 1.3.2+dfsg-1. (diff) | |
download | cvprac-82f632622e56a7487a6907d824b428b09c660e3d.tar.xz cvprac-82f632622e56a7487a6907d824b428b09c660e3d.zip |
Merging upstream version 1.4.0+dfsg.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'docs/labs')
-rw-r--r-- | docs/labs/lab06-provisioning/vc_task_retrigger.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/labs/lab06-provisioning/vc_task_retrigger.py b/docs/labs/lab06-provisioning/vc_task_retrigger.py index b5586ee..cfee3a1 100644 --- a/docs/labs/lab06-provisioning/vc_task_retrigger.py +++ b/docs/labs/lab06-provisioning/vc_task_retrigger.py @@ -7,7 +7,7 @@ import argparse import ssl import sys -from pkg_resources import parse_version +from packaging.version import parse from getpass import getpass from cvprac.cvp_client import CvpClient import requests.packages.urllib3 @@ -56,7 +56,7 @@ def main(): # Get the current CVP version cvp_release = clnt.api.get_cvp_info()['version'] - if parse_version(cvp_release) < parse_version('2020.3.0'): + if parse(cvp_release) < parse('2020.3.0'): # For older CVP, we manually trigger a compliance check try: clnt.api.check_compliance('root', 'container') |