Antonsergeevphd added a comment.
Can fix it if insert in `wrapper.py` something like this (version info):
# ... <before line 419> ...
if site_package: # search for entry points
import importlib
from importlib.metadata import entry_points
from pywikibot.i18n import set_messages_package
if sys.version_info < (3, 10):
entry_points_items = [ep for ep in
entry_points().get("pywikibot", []) if ep.name == "scriptspath"]
else:
entry_points_items = entry_points(name='scriptspath',
group='pywikibot')
for ep in entry_points_items:
path = ep.load()
found = test_paths([''], path)
# ...
This still needs to be verified
TASK DETAIL
https://phabricator.wikimedia.org/T381734
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Antonsergeevphd
Cc: Aklapper, pywikibot-bugs-list, Antonsergeevphd, mevo, PotsdamLamb,
Jyoo1011, JohnsonLee01, SHEKH, Dijkstra, Khutuck, Zkhalido, Aram, Viztor,
Wenyi, Tbscho, MayS, Mdupont, JJMC89, Dvorapa, Altostratus, Avicennasis,
mys_721tx, Xqt, jayvdb, Masti, Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]