-
Notifications
You must be signed in to change notification settings - Fork 372
Use of imp
modules should be removed
#829
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
jonringer
added a commit
to NixOS/nixpkgs
that referenced
this issue
Nov 26, 2021
Deprecation warnings kill the test suite pyinvoke/invoke#829
jonringer
added a commit
to NixOS/nixpkgs
that referenced
this issue
Nov 30, 2021
Deprecation warnings kill the test suite pyinvoke/invoke#829
jonringer
added a commit
to NixOS/nixpkgs
that referenced
this issue
Dec 1, 2021
Deprecation warnings kill the test suite pyinvoke/invoke#829
Duplicate of #675. There's some context in there for how to disable this deprecation warning in pytest runs. |
#919 merged and released in Invoke 2.1.0 today. Thanks! |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
The
imp
module has been deprecated since python 3.4, and now emits warnings when used in python 3.9.6+.The logic should be replaced with
importlib
.Now if this package, or any downstream dependency uses this, pytest deprecation warnings need to be silenced or else it fails a test suite.
The text was updated successfully, but these errors were encountered: