From 17c56868a48c09fa5a17e4d0555a56eb0e9651f9 Mon Sep 17 00:00:00 2001 From: Elias Bachaalany Date: Thu, 1 Jan 2026 12:09:23 -0800 Subject: [PATCH] Fix Python 3.12+ compatibility by updating construct requirement The construct<2.10 versions use the `imp` module which was removed in Python 3.12. Update the requirement to construct>=2.10 which is compatible with Python 3.12+. --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index a970d94..1423d8d 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ author_email = 'brendandg@gatech.edu', url = 'https://github.com/moyix/pdbparse/', packages = ['pdbparse'], - install_requires = ['construct>=2.9', 'construct<2.10', 'pefile'], + install_requires = ['construct>=2.10', 'pefile'], classifiers = [ 'License :: OSI Approved :: GNU General Public License (GPL)', 'Operating System :: OS Independent',