Xqt created this task. Xqt added projects: Pywikibot, Pywikibot-tests. Restricted Application added subscribers: pywikibot-bugs-list, Aklapper.
TASK DESCRIPTION test_find_duplicate_images of data_ingestion_tests.TestPhoto fails on Pypy after rPWBC8e79579 <https://phabricator.wikimedia.org/rPWBC8e7957949afbdf65512104f025f9bbfbcec23f39> change. See https://github.com/wikimedia/pywikibot/actions/runs/31958665449/job/95315683468 ====================================================================== ERROR: test_find_duplicate_images (tests.data_ingestion_tests.TestPhoto.test_find_duplicate_images) Test finding duplicates on Wikimedia Commons. ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/runner/work/pywikibot/pywikibot/tests/data_ingestion_tests.py", line 56, in test_find_duplicate_images duplicates = self.obj.find_duplicate_images() ^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/pywikibot/pywikibot/scripts/data_ingestion.py", line 160, in find_duplicate_images hash_object = hashlib.sha1( ^^^^ File "/opt/hostedtoolcache/PyPy/3.11.15/x64/lib/pypy3.11/_hashlib/__init__.py", line 369, in new_hash return new(name, string, usedforsecurity=True) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/PyPy/3.11.15/x64/lib/pypy3.11/_hashlib/__init__.py", line 46, in new buf = ffi.from_buffer(string) ^^^^^^^^^^^ TypeError: from_buffer() got a 'memoryview' object, which supports the buffer interface but cannot be rendered as a plain raw address on PyPy ---------------------------------------------------------------------- TASK DETAIL https://phabricator.wikimedia.org/T435049 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
_______________________________________________ pywikibot-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
