From 46d7eb5643c1add241a412193f4520763bd6e6c9 Mon Sep 17 00:00:00 2001 From: Priit Laes Date: Sat, 13 Mar 2021 15:18:57 +0200 Subject: [PATCH] build: nix: Drop support for Python 3.{2,3,4} versions Python project currently supports only 3.6+, so keep 3.5 still on lifeline... 2.7 has also end of life status. --- nix/build-all.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/nix/build-all.py b/nix/build-all.py index 0e888c4bcd..ee2ad96d28 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -75,7 +75,7 @@ ch.setLevel(logging.INFO) logger.addHandler(ch) PROJECT_NAME="IfcOpenShell" -PYTHON_VERSIONS=["2.7.16", "3.2.6", "3.3.6", "3.4.6", "3.5.3", "3.6.2", "3.7.3", "3.8.6", "3.9.1"] +PYTHON_VERSIONS=["2.7.16", "3.5.3", "3.6.2", "3.7.3", "3.8.6", "3.9.1"] JSON_VERSION="v3.6.1" OCE_VERSION="0.18" OCCT_VERSION="7.5.3" @@ -149,13 +149,6 @@ if get_os() == "Darwin": # C++11 features used in OCCT 7+ need a more recent stdlib TOOLSET = "10.9" if USE_OCCT else "10.6" -# python 3.4 doesn't seem to build anymore on recent versions of clang -if get_os() == "Darwin": - try: - PYTHON_VERSIONS.remove("3.4.6") - except ValueError as e: - pass - try: IFCOS_NUM_BUILD_PROCS = os.environ["IFCOS_NUM_BUILD_PROCS"] except KeyError: