From 839efe71e0a6cb1cfc30cb9798a63c80c4584a4c Mon Sep 17 00:00:00 2001 From: Adam Novak Date: Tue, 17 Dec 2024 15:36:24 -0500 Subject: [PATCH 1/2] Remove import of removed, unused imp module Python 3.12 doesn't have `imp`, and this file doesn't seem to actually use it. --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 6e7e89cf..3b217cdd 100644 --- a/build.py +++ b/build.py @@ -14,7 +14,7 @@ from __future__ import print_function -import os, sys, argparse, platform, subprocess, imp, shutil, distutils.dir_util, json +import os, sys, argparse, platform, subprocess, shutil, distutils.dir_util, json from collections import OrderedDict From 9001cd9eedd062042f67db90f3e7565a3a78a6f7 Mon Sep 17 00:00:00 2001 From: Adam Novak Date: Tue, 17 Dec 2024 15:40:47 -0500 Subject: [PATCH 2/2] Remove unused distutils import --- build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.py b/build.py index 3b217cdd..27330803 100644 --- a/build.py +++ b/build.py @@ -14,7 +14,7 @@ from __future__ import print_function -import os, sys, argparse, platform, subprocess, shutil, distutils.dir_util, json +import os, sys, argparse, platform, subprocess, shutil, json from collections import OrderedDict