Page MenuHomePhabricator

tests.memento_tests.TestMementoArchive.test_newest failing for python 3.8
Open, Needs TriagePublic

Description

09:31:43 ======================================================================
09:31:43 ERROR: test_newest (tests.memento_tests.TestMementoArchive)
09:31:43 Test Archive for an old https://google.com.
09:31:43 ----------------------------------------------------------------------
09:31:43 Traceback (most recent call last):
09:31:43   File "/src/tests/memento_tests.py", line 50, in test_newest
09:31:43     archivedversion = self._get_archive_url('https://google.com',
09:31:43   File "/src/tests/memento_tests.py", line 37, in _get_archive_url
09:31:43     return get_closest_memento_url(url, when, self.timegate_uri)
09:31:43   File "/src/pywikibot/data/memento.py", line 361, in get_closest_memento_url
09:31:43     raise Exception(err_msg.format(url, timegate_uri))
09:31:43 Exception: mementos not found for https://google.com via http://timetravel.mementoweb.org/timegate/

Event Timeline

Seems this is a temporary issue. The CI and tests works at the moment.

Change #1197011 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [Bugfix] Replace timetravel.mementoweb.org with web.archive.org

https://gerrit.wikimedia.org/r/1197011