Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.

TASK DESCRIPTION
  **Steps to replicate the issue** (include links if applicable):
  
  install hacking with Python 3.7. Dependencies are hacking 4.1.0, flake 3.8.4, 
(new) importlib-metadata 5.1 and others
  
  **What happens?**:
  
    22:50:52 hacking-py37 run-test: commands[1] | flake8 --version
    22:50:52 [611] /src$ /src/.tox/hacking-py37/bin/flake8 --version
    22:50:52 Traceback (most recent call last):
    22:50:52   File "/src/.tox/hacking-py37/bin/flake8", line 8, in <module>
    22:50:52     sys.exit(main())
    22:50:52   File 
"/src/.tox/hacking-py37/lib/python3.7/site-packages/flake8/main/cli.py", line 
22, in main
    22:50:52     app.run(argv)
    22:50:52   File 
"/src/.tox/hacking-py37/lib/python3.7/site-packages/flake8/main/application.py",
 line 363, in run
    22:50:52     self._run(argv)
    22:50:52   File 
"/src/.tox/hacking-py37/lib/python3.7/site-packages/flake8/main/application.py",
 line 350, in _run
    22:50:52     self.initialize(argv)
    22:50:52   File 
"/src/.tox/hacking-py37/lib/python3.7/site-packages/flake8/main/application.py",
 line 330, in initialize
    22:50:52     self.find_plugins(config_finder)
    22:50:52   File 
"/src/.tox/hacking-py37/lib/python3.7/site-packages/flake8/main/application.py",
 line 153, in find_plugins
    22:50:52     self.check_plugins = 
plugin_manager.Checkers(local_plugins.extension)
    22:50:52   File 
"/src/.tox/hacking-py37/lib/python3.7/site-packages/flake8/plugins/manager.py", 
line 357, in __init__
    22:50:52     self.namespace, local_plugins=local_plugins
    22:50:52   File 
"/src/.tox/hacking-py37/lib/python3.7/site-packages/flake8/plugins/manager.py", 
line 238, in __init__
    22:50:52     self._load_entrypoint_plugins()
    22:50:52   File 
"/src/.tox/hacking-py37/lib/python3.7/site-packages/flake8/plugins/manager.py", 
line 254, in _load_entrypoint_plugins
    22:50:52     eps = importlib_metadata.entry_points().get(self.namespace, ())
    22:50:52 AttributeError: 'EntryPoints' object has no attribute 'get'
  
  This is due to new importlib-metadata 5.1 change published yesterday

TASK DETAIL
  https://phabricator.wikimedia.org/T323799

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: Xqt
Cc: Aklapper, pywikibot-bugs-list, matej_suchanek, JJMC89, Xqt, PotsdamLamb, 
Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, 
Tbscho, MayS, Mdupont, Dvorapa, Altostratus, Avicennasis, mys_721tx, jayvdb, 
Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to