hello warrning due to deprecation
LucaPaterlini opened this issue · 1 comments
hello, those warnings are really ugly in my console (python3.7),
my I ask you to update the import or to allow me to open a pull request for it?
Regards,
LP
=============================== warnings summary ===============================
/usr/local/lib/python3.7/dist-packages/past/types/oldstr.py:5
/usr/local/lib/python3.7/dist-packages/past/types/oldstr.py:5: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Iterable
/usr/local/lib/python3.7/dist-packages/past/builtins/misc.py:4
/usr/local/lib/python3.7/dist-packages/past/builtins/misc.py:4: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
from collections import Mapping
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:19
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:19: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
m_new_contract('Container', ist(collections.Container))
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:23
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:23: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
m_new_contract('Hashable', ist(collections.Hashable))
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:27
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:27: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
m_new_contract('Iterator', ist(collections.Iterator))
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:28
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:28: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
m_new_contract('Sized', ist(collections.Sized))
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:29
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:29: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
m_new_contract('Callable', ist(collections.Callable))
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:30
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:30: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
m_new_contract('Sequence', ist(collections.Sequence))
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:31
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:31: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
m_new_contract('Set', ist(collections.Set))
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:32
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:32: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
m_new_contract('MutableSequence', ist(collections.MutableSequence))
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:33
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:33: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
m_new_contract('MutableSet', ist(collections.MutableSet))
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:35
/usr/local/lib/python3.7/dist-packages/contracts/library/miscellaneous_aliases.py:35: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
m_new_contract('MutableMapping', ist(collections.MutableMapping))