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

Warning imp module is deprecated #1503

Closed
acabarbaye opened this issue Apr 23, 2020 · 4 comments
Closed

Warning imp module is deprecated #1503

acabarbaye opened this issue Apr 23, 2020 · 4 comments

Comments

@acabarbaye
Copy link

When using pywin32 on Python3, I get the following warning:

##[warning]the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses

There are few places in the code where the imp module is imported e.g.

import imp, sys, os
.

@knudsvik
Copy link

Should be closed as it is covered by #1256

@mhammond
Copy link
Owner

Thanks, it is a dupe of #1256

@mhammond
Copy link
Owner

I backed this out as it broke Python 2. I'm in the process of "formally" killing support for python 2, so I'll reapply it after that.

@mhammond mhammond reopened this Jun 22, 2020
@mhammond
Copy link
Owner

Actually, it may not be just python 3 - see the failed jobs on master.

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