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

The imp module is removed with Python 3.12 #395

Open
dvzrv opened this issue Feb 25, 2024 · 0 comments
Open

The imp module is removed with Python 3.12 #395

dvzrv opened this issue Feb 25, 2024 · 0 comments

Comments

@dvzrv
Copy link

dvzrv commented Feb 25, 2024

Hi! 👋

We're currently cleaning up packages for the Python 3.12 rebuild on Arch Linux.

I noticed that the tests in this repository are still using the imp module

import imp

This module has been removed with Python 3.12:
https://docs.python.org/dev/whatsnew/3.12.html#imp

dvzrv added a commit to dvzrv/Qt.py that referenced this issue Feb 25, 2024
As the imp module is removed with Python 3.12, use importlib instead.

https://docs.python.org/dev/whatsnew/3.12.html#imp

Fixes: mottosso#395

Signed-off-by: David Runge <dave@sleepmap.de>
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 a pull request may close this issue.

1 participant