-
Notifications
You must be signed in to change notification settings - Fork 187
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
DepractionWarning from implicitly required module imp #38
Comments
* Going from whois to python-whois * Use a py2-less python-whois, until upstream python-whois is fixed Cf. Fixes richardpenman/whois#38 * Use pywhois fork what also has 'SyntaxWarning`s fixed Solves #110
sorry I would like to keep python2 - some people aren't able to upgrade |
Python 3.12 is coming. It will drop all support for Many packages maintain support for the long-deprecated Python2 without the use of Packages like |
I reached out to the We have two options, it would appear. Either There's nothing stopping development here. We can gracefully break step from Python 2 with a version number increase. Releases for Python 2 can remain on an older version number (mostly for security patching), while development for Python 3 can continue. If it were me, and dropping Python 2 years after its retirement wasn't an option, I'd do as I've done before. Grab a fork of I do not want to see this project die, as I do still depend on it. I hope that I can still depend upon it when Python 3.12 is released. @richardpenman perhaps one of the few options I've noted here would work for you, particularly my final note about forking. Thanks.
EDIT 2: So I rebuilt my venv with the latest of everything. The imp deprecation is still present. It would seem this issue still goes unfixed. |
Just another bump on this. Python 3.12 comes out in less then 3 months. This package and everything that uses it will stop working unless this deprecation is fixed. |
The
from future import standard_library
, that is widely used here inpywhois
, hits animport imp
in the future module here, which in my test setup results in aDeprecationWarning
(my setup:pytest
, Python 3.7.0, pytest-5.3.5, py-1.8.1, pluggy-0.13.1). I would like to usepywhois
in my project, but the warning is undesirable...I don't see a simple fix for this (If there is, I'd like pointers on how to contribute with it!) so I'm instead raising the question; Is it about time to drop support for py2 and thereby make it possibly to remove
future
as a dependency ofpywhois
?From my point of view, py2 is dead and gone, so those who cling to it should not expect to get updates in libraries like
pywhois
.The text was updated successfully, but these errors were encountered: