Xqt created this task.
Xqt added projects: Pywikibot, Pywikibot-tests.
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION
`coverage run -m unittest -vv tests/site_login_logout_tests.p`y
Traceback (most recent call last):
File "/usr/lib/python3.13/unittest/__main__.py", line 18, in <module>
main(module=None)
File "/usr/lib/python3.13/unittest/main.py", line 103, in __init__
self.parseArgs(argv)
File "/usr/lib/python3.13/unittest/main.py", line 142, in parseArgs
self.createTests()
File
"/home/runner/venv-3.13/lib/python3.13/site-packages/coverage/pytracer.py",
line 264, in _trace
self.data_stack.pop()
IndexError: pop from empty list
/home/runner/venv-3.13/lib/python3.13/site-packages/coverage/pytracer.py:320:
CoverageWarning: Trace function changed, data is likely wrong: None != <bound
method PyTracer._trace of <PyTracer at 0x7fb8f2e43f80: 7948 data points in 77
files>> (trace-changed)
self.warn(
https://github.com/wikimedia/pywikibot/actions/runs/6231796982/job/16913890828
`coverage run -m pytest pywikibot --doctest-modules --ignore-glob="*gui.py"
--ignore-glob="*memento.py"`
============================= test session starts
==============================
/home/runner/venv-3.13/lib/python3.13/site-packages/coverage/pytracer.py:320:
CoverageWarning: Trace function changed, data is likely wrong: None != <bound
method PyTracer._trace of <PyTracer at 0x7f27f7ee2840: 8166 data points in 84
files>> (trace-changed)
self.warn(
platform linux -- Python 3.13.0a0, pytest-7.4.2, pluggy-1.3.0
rootdir: /home/runner/work/pywikibot/pywikibot
configfile: tox.ini
collected 16 items
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File
"/home/runner/venv-3.13/lib/python3.13/site-packages/_pytest/main.py", line
271, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/home/runner/venv-3.13/lib/python3.13/site-packages/_pytest/main.py", line
324, in _main
INTERNALERROR> config.hook.pytest_collection(session=session)
INTERNALERROR> File
"/home/runner/venv-3.13/lib/python3.13/site-packages/pluggy/_hooks.py", line
493, in __call__
INTERNALERROR> return self._hookexec(self.name, self._hookimpls,
kwargs, firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/home/runner/venv-3.13/lib/python3.13/site-packages/pluggy/_manager.py", line
115, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs,
firstresult)
INTERNALERROR>
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/home/runner/venv-3.13/lib/python3.13/site-packages/pluggy/_callers.py", line
152, in _multicall
INTERNALERROR> return outcome.get_result()
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/home/runner/venv-3.13/lib/python3.13/site-packages/pluggy/_result.py", line
114, in get_result
INTERNALERROR> raise exc.with_traceback(exc.__traceback__)
INTERNALERROR> File
"/home/runner/venv-3.13/lib/python3.13/site-packages/pluggy/_callers.py", line
77, in _multicall
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> ^^^^^^^^^^^^^^^^^^^^^^^^^
INTERNALERROR> File
"/home/runner/venv-3.13/lib/python3.13/site-packages/_pytest/main.py", line
335, in pytest_collection
INTERNALERROR> session.perform_collect()
INTERNALERROR> File
"/home/runner/venv-3.13/lib/python3.13/site-packages/_pytest/main.py", line
675, in perform_collect
INTERNALERROR> self.items.extend(self.genitems(node))
INTERNALERROR> File
"/home/runner/venv-3.13/lib/python3.13/site-packages/_pytest/main.py", line
845, in genitems
INTERNALERROR> yield from self.genitems(subnode)
INTERNALERROR> File
"/home/runner/venv-3.13/lib/python3.13/site-packages/_pytest/main.py", line
846, in genitems
INTERNALERROR> node.ihook.pytest_collectreport(report=rep)
INTERNALERROR> File
"/home/runner/venv-3.13/lib/python3.13/site-packages/coverage/pytracer.py",
line 264, in _trace
INTERNALERROR> self.data_stack.pop()
INTERNALERROR> IndexError: pop from empty list
https://github.com/wikimedia/pywikibot/actions/runs/6228346077/job/16904885908
TASK DETAIL
https://phabricator.wikimedia.org/T346862
EMAIL PREFERENCES
https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: Xqt
Cc: Aklapper, Xqt, pywikibot-bugs-list, PotsdamLamb, Jyoo1011, JohnsonLee01,
SHEKH, Dijkstra, Khutuck, Zkhalido, Viztor, Wenyi, Tbscho, MayS, Mdupont,
JJMC89, Dvorapa, Altostratus, binbot, Avicennasis, mys_721tx, jayvdb, Masti,
Alchimista
_______________________________________________
pywikibot-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]