Open mohabusama opened 5 years ago
This might make it possible to remove the future
dependency and the calls to standard_library.install_aliases()
(https://github.com/zalando-zmon/opentracing-utils/blob/4fc8e5173c0f4ebd635f1a40656a9162209144a4/opentracing_utils/common.py#L3)
This call seems to make use of the deprecated imp
module. This is annoying as our tests will print a warning
.../python3.9/site-packages/future/standard_library/__init__.py:65
.../lib/python3.9/site-packages/future/standard_library/__init__.py:65: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
-- Docs: https://docs.pytest.org/en/stable/warnings.html
There is an open upstream issue (https://github.com/PythonCharmers/python-future/issues/246), but it's open for a few years now.
Python2 EOL is coming soon, and we should support Python3-only and move on!