WebexCommunity / WebexPythonSDK

Work with the Webex APIs in native Python!
https://webexcommunity.github.io/WebexPythonSDK/
MIT License
239 stars 153 forks source link

Address DeprecationWarning #139

Closed frvge closed 9 months ago

frvge commented 4 years ago

A project that works fine with pytest starts throwing DeprecationWarnings the moment I add from webexteamssdk import WebexTeamsAPI

venv/lib/python3.8/site-packages/future-0.18.2-py3.8.egg/future/standard_library/__init__.py:65
  /Users/frvge/myproject/venv/lib/python3.8/site-packages/future-0.18.2-py3.8.egg/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

platform darwin -- Python 3.8.3, pytest-6.0.2, py-1.9.0,

I guess it's because webexteamssdk imports from future and the future package imports imp.

I'm aware I can suppress these warnings, so this is more meant as a FYI.

Used webexteamssdk>=1.6.0

joshjhans commented 2 years ago

Any news on this?

Joezanini commented 9 months ago

https://docs.python.org/3/reference/simple_stmts.html#future-statements

Joezanini commented 9 months ago

I am going to be making the changes to remove this dependency from the project.