From 1a1fdac3845fcf2ae087197c32085b49eaa39825 Mon Sep 17 00:00:00 2001 From: Giulio Eulisse <10544+ktf@users.noreply.github.com> Date: Mon, 23 Sep 2024 17:46:22 +0200 Subject: [PATCH] Drop support for python2 --- alibuild_helpers/build.py | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/alibuild_helpers/build.py b/alibuild_helpers/build.py index a7d263d7..2716bf14 100644 --- a/alibuild_helpers/build.py +++ b/alibuild_helpers/build.py @@ -22,14 +22,8 @@ from alibuild_helpers.log import ProgressPrint, log_current_package from glob import glob from textwrap import dedent -try: - from collections import OrderedDict -except ImportError: - from ordereddict import OrderedDict -try: - from shlex import quote # Python 3.3+ -except ImportError: - from pipes import quote # Python 2.7 +from collections import OrderedDict +from shlex import quote # Python 3.3+ import concurrent.futures import importlib