Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency on imp #2

Open
watchbynight opened this issue Jan 21, 2025 · 2 comments
Open

Dependency on imp #2

watchbynight opened this issue Jan 21, 2025 · 2 comments

Comments

@watchbynight
Copy link

I am trying to build zodbtools and I keep running into the need for imp, which was EOL with Python 3.9.

I'm trying to use Plone and the system I'm working on has Python 3.12.

I'm new to Plone, but have done a little with Python here and there. ChatGPT is suggesting I hunt down "import imp" and replace it with importlib. That seems like a lot of esoteric work for something that should be a pretty front line system like ZODB.

Is there something I'm missing here?

@perrinjerome
Copy link
Member

imp is not used anywhere in zodbtools, this does not seem a problem with zodbtools. Can you please double check on your side, or show a traceback of the error you have ?

@navytux
Copy link
Member

navytux commented Jan 21, 2025

The imp dependency probably comes in via pygolang which should be already fixed in https://lab.nexedi.com/nexedi/pygolang/-/commit/68f384a9 (see navytux/pygolang#1 for details).

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

No branches or pull requests

3 participants