Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
The failure might be causes by the missing `sys._getframemodulename`:
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/opt/hostedtoolcache/GraalPy/25.0.3/x64/lib/python3.12/runpy.py",
line 198, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/opt/hostedtoolcache/GraalPy/25.0.3/x64/lib/python3.12/runpy.py",
line 88, in _run_code
exec(code, run_globals)
File "/home/runner/work/pywikibot/pywikibot/pwb.py", line 40, in <module>
sys.exit(main())
File "/home/runner/work/pywikibot/pywikibot/pwb.py", line 36, in main
runpy.run_path(str(path), run_name='__main__')
File "/opt/hostedtoolcache/GraalPy/25.0.3/x64/lib/python3.12/runpy.py",
line 287, in run_path
return _run_module_code(code, init_globals, run_name,
File "/opt/hostedtoolcache/GraalPy/25.0.3/x64/lib/python3.12/runpy.py",
line 98, in _run_module_code
_run_code(code, mod_globals, init_globals,
File "/opt/hostedtoolcache/GraalPy/25.0.3/x64/lib/python3.12/runpy.py",
line 88, in _run_code
exec(code, run_globals)
File
"/home/runner/work/pywikibot/pywikibot/pywikibot/scripts/wrapper.py", line 315,
in <module>
import pywikibot as pwb
File "/home/runner/work/pywikibot/pywikibot/pywikibot/__init__.py", line
36, in <module>
from pywikibot.bot import (
File "/home/runner/work/pywikibot/pywikibot/pywikibot/bot.py", line 2321,
in <module>
critical = redirect_func(pwb_logging.critical,
File
"/home/runner/work/pywikibot/pywikibot/pywikibot/tools/_deprecate.py", line
740, in redirect_func
source_module = sys._getframemodulename( # type: ignore[attr-defined]
AttributeError: module 'sys' has no attribute '_getframemodulename'
TASK DETAIL
https://phabricator.wikimedia.org/T432968
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]