mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 17:50:20 +00:00
Ignore some pkg_resources
related DeprecationWarnings
There's nothing Salt can do, they are triggered by it's dependencies. Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
This commit is contained in:
parent
a2228b9751
commit
5e125028c9
1 changed files with 11 additions and 0 deletions
|
@ -118,6 +118,17 @@ warnings.filterwarnings(
|
|||
category=DeprecationWarning,
|
||||
)
|
||||
|
||||
warnings.filterwarnings(
|
||||
"ignore",
|
||||
"Deprecated call to `pkg_resources.declare_namespace.*",
|
||||
category=DeprecationWarning,
|
||||
)
|
||||
warnings.filterwarnings(
|
||||
"ignore",
|
||||
".*pkg_resources is deprecated as an API.*",
|
||||
category=DeprecationWarning,
|
||||
)
|
||||
|
||||
|
||||
def __define_global_system_encoding_variable__():
|
||||
import sys
|
||||
|
|
Loading…
Add table
Reference in a new issue