Skip to content

Conversation

@0xeb
Copy link

@0xeb 0xeb commented Jan 1, 2026

Summary

  • Update construct requirement from >=2.9, <2.10 to >=2.10

Problem

The construct<2.10 versions use the imp module which was removed in Python 3.12, causing installation to fail with:

ModuleNotFoundError: No module named 'imp'

Solution

Update the dependency to construct>=2.10 which doesn't use the deprecated imp module and is compatible with Python 3.12+.

Test plan

  • Tested on Python 3.12 (32-bit) on Windows
  • import pdbparse works successfully after this change

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+.
@0xeb
Copy link
Author

0xeb commented Jan 1, 2026

Closing as duplicate of #62 which addresses the same issue more comprehensively.

@0xeb 0xeb closed this Jan 1, 2026
@0xeb
Copy link
Author

0xeb commented Jan 1, 2026

Note: This is a duplicate of #62 by @faratech which was opened in October 2024 and provides a more comprehensive fix including Python version classifiers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant