-
Notifications
You must be signed in to change notification settings - Fork 30k
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
deprecated python3 module "imp" used in tools/test.py #29418
Comments
Closing as duplicate of #29246 |
I'm reopening because #29246 is closed but the warning is still emitted. |
The Lines 795 to 805 in 5783ed7
|
The imp module is fully deprecated in all supported Python 3 versions. |
@targos Try using This is from the migration help found here: https://docs.python.org/3/library/imp.html#imp.find_module |
@Hellzed Thanks. Note that for the time being, we still have to support Python 2.7 and only |
@targos There's no one-size-fits-all solution here. We need to to use |
|
@asottile |
not in particular -- though the solution isn't too difficult. you'd branch on |
OK... Will try again. Thx. |
I'm on right now, pushing the branch in a moment. Sorry for the delay, busy week. |
Here's the PR: #30208 |
it is fixed |
/cc @cclauss
The text was updated successfully, but these errors were encountered: