Dalba created this task. Dalba added a project: Pywikibot-core. Herald added subscribers: pywikibot-bugs-list, Aklapper. |
TASK DESCRIPTION
Importing pywikibot in Python 3.7 gives the following warning:
Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 27 2018, 04:59:51) [MSC v.1914 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> from warnings import resetwarnings as rw >>> rw() >>> import pywikibot ...pywikibot-core\pywikibot\tools\__init__.py:929: DeprecationWarning: Using or importing the ABCs from 'col lections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working class EmptyDefault(str, collections.Mapping): ...pywikibot-core\pywikibot\tools\__init__.py:987: DeprecationWarning: Using or importing the ABCs from 'col lections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working class IteratorNextMixin(collections.Iterator): ...Python37\lib\site-packages\pkg_resources\_vendor\pyparsing.py:943: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working collections.MutableMapping.register(ParseResults) ...Python37\lib\site-packages\pkg_resources\_vendor\pyparsing.py:3226: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working elif isinstance( exprs, collections.Iterable ): ...Python37\lib\site-packages\setuptools\depends.py:2: DeprecationWarning: the imp module is deprec ated in favour of importlib; see the module's documentation for alternative uses import imp ...pywikibot-core\pywikibot\data\api.py:19: DeprecationWarning: Using or importing the ABCs from 'collection s' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Container, MutableMapping WARNING: ...pywikibot-core\pywikibot\diff.py:14: DeprecationWarning: Using or importing the ABCs from 'colle ctions' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working from collections import Sequence
>>>
TASK DETAIL
EMAIL PREFERENCES
To: Dalba
Cc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
Cc: Aklapper, pywikibot-bugs-list, Dalba, Magul, Tbscho, MayS, Mdupont, JJMC89, Avicennasis, mys_721tx, jayvdb, Masti, Alchimista, Rxy
_______________________________________________ pywikibot-bugs mailing list pywikibot-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs