From 656d687cedc297869b79b465ac618ebde8411db8 Mon Sep 17 00:00:00 2001 From: System-Arch <33330183+System-Arch@users.noreply.github.com> Date: Thu, 22 Dec 2022 18:54:03 -0500 Subject: [PATCH] Drop Python 2 support --- recipes/msys2/all/conanfile.py | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/recipes/msys2/all/conanfile.py b/recipes/msys2/all/conanfile.py index b2a4401bf9c66..27d8a46ab4cf2 100644 --- a/recipes/msys2/all/conanfile.py +++ b/recipes/msys2/all/conanfile.py @@ -7,16 +7,9 @@ import shutil import subprocess import errno +import ctypes -try: - import ctypes -except ImportError: - pass -except ValueError: - pass - -required_conan_version = ">=1.47.0" - +required_conan_version = ">=1.49.0" class lock: def __init__(self): @@ -39,7 +32,6 @@ def close(self): __del__ = close - class MSYS2Conan(ConanFile): name = "msys2" description = "MSYS2 is a software distro and building platform for Windows"