⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 267478 in webkit


Ignore:
Timestamp:
Sep 23, 2020, 8:57:11 AM (6 years ago)
Author:
Lauro Moura
Message:

REGRESSION(r267368) [webkitpy] autoinstalled pytest raises ImportError in run-webdriver-tests
https://bugs.webkit.org/show_bug.cgi?id=216879

Reviewed by Jonathan Bedard.

Autoinstalled pytest requires sys.path to be updated with the newly
installed packages. Before r267368 it worked because
webdriver_w3c_executor.py autoinstalled mozlog/mozprocess which
updated the sys.path.

  • Scripts/webkitpy/thirdparty/init.py:

(AutoinstallImportHook._install_pytest):

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r267472 r267478  
     12020-09-23  Lauro Moura  <lmoura@igalia.com>
     2
     3        REGRESSION(r267368) [webkitpy] autoinstalled pytest raises ImportError in run-webdriver-tests
     4        https://bugs.webkit.org/show_bug.cgi?id=216879
     5
     6        Reviewed by Jonathan Bedard.
     7
     8        Autoinstalled pytest requires sys.path to be updated with the newly
     9        installed packages. Before r267368 it worked because
     10        webdriver_w3c_executor.py autoinstalled mozlog/mozprocess which
     11        updated the sys.path.
     12
     13        * Scripts/webkitpy/thirdparty/__init__.py:
     14        (AutoinstallImportHook._install_pytest):
     15
    1162020-09-23  Youenn Fablet  <youenn@apple.com>
    217
  • trunk/Tools/Scripts/webkitpy/thirdparty/__init__.py

    r267410 r267478  
    145145
    146146    def _install_pytest(self):
     147        self._ensure_autoinstalled_dir_is_in_sys_path()
    147148        self._install("https://files.pythonhosted.org/packages/90/e3/e075127d39d35f09a500ebb4a90afd10f9ef0a1d28a6d09abeec0e444fdd/py-1.5.2.tar.gz",
    148149                              "py-1.5.2/py")
Note: See TracChangeset for help on using the changeset viewer.