Dvorapa created this task.
Dvorapa added projects: Pywikibot, Toolforge.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
Since beginning of June all Pywikibot scripts in Toolforge fail to run due to
the following issue:
(setuptools 33.1.1 (/usr/lib/python3/dist-packages),
Requirement.parse('setuptools!=50.0.0,<50.2.0,>=49.4.0; python_version <
"3.6"'))
A package necessary for pywikibot is outdated.
Please update required module with:
pip install "setuptools!=50.0.0,<50.2.0,>=49.4.0"
You may continue on your own risk; type CTRL-C to stop.
CRITICAL: Exiting due to uncaught exception <class 'AttributeError'>
Traceback (most recent call last):
File "pwb.py", line 399, in <module>
if not main():
File "pwb.py", line 394, in main
module)
File "pwb.py", line 93, in run_python_file
check_pwb_versions(package)
File "pwb.py", line 51, in check_pwb_versions
if scripts_version.release > wikibot_version.release:
AttributeError: 'Version' object has no attribute 'release'
CRITICAL: Exiting due to uncaught exception <class 'AttributeError'>
**Expected behavior**
Scripts should not throw critical error with this message. Also Toolforge
Pywikibot installation is not installed using setuptools (it is cloned by git),
so the message is pointless here.
**Configuration**
Toolforge, Python 3.5.3, Debian 9.13 Stretch (Linux 4.19), python3-setuptools
33.1.1 <https://packages.debian.org/stretch/python3-setuptools>
TASK DETAIL
https://phabricator.wikimedia.org/T284939
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Dvorapa
Cc: Xqt, Aklapper, pywikibot-bugs-list, Dvorapa, Devnull, Jyoo1011,
JohnsonLee01, SHEKH, Dijkstra, Khutuck, Nintendofan885, Zkhalido, Viztor,
Wenyi, skpuneethumar, Zylc, Bstorm, 1978Gage2001, Operator873, Bsandipan,
DSquirrelGM, Chicocvenancio, Tbscho, MayS, Freddy2001, Mdupont, JJMC89,
Altostratus, Avicennasis, Luke081515, mys_721tx, Jitrixis, Gryllida, jayvdb,
Masti, scfc, Alchimista, coren, Krenair
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]