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

Changeset 267368 in webkit


Ignore:
Timestamp:
Sep 21, 2020, 2:20:16 PM (6 years ago)
Author:
Jonathan Bedard
Message:

[webkitpy] Use webkitcorepy's auto installer for moz* packages
https://bugs.webkit.org/show_bug.cgi?id=215889
<rdar://problem/67877935>

Rubber-stamped by Aakash Jain.

  • Scripts/webkitpy/init.py: Add mozprocess, mozlog and mozterm to AutoInstalled packages.
  • Scripts/webkitpy/thirdparty/init.py:

(AutoinstallImportHook.find_module): Remove mozlog and mozprocess.
(AutoinstallImportHook._install_mozlog): Deleted.
(AutoinstallImportHook._install_mozprocess): Deleted.

  • Scripts/webkitpy/webdriver_tests/webdriver_w3c_executor.py: Implicitly use webkitcorepy's auto-installer.
Location:
trunk/Tools
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r267365 r267368  
     12020-09-21  Jonathan Bedard  <jbedard@apple.com>
     2
     3        [webkitpy] Use webkitcorepy's auto installer for moz* packages
     4        https://bugs.webkit.org/show_bug.cgi?id=215889
     5        <rdar://problem/67877935>
     6
     7        Rubber-stamped by Aakash Jain.
     8
     9        * Scripts/webkitpy/__init__.py: Add mozprocess, mozlog and mozterm to AutoInstalled packages.
     10        * Scripts/webkitpy/thirdparty/__init__.py:
     11        (AutoinstallImportHook.find_module): Remove mozlog and mozprocess.
     12        (AutoinstallImportHook._install_mozlog): Deleted.
     13        (AutoinstallImportHook._install_mozprocess): Deleted.
     14        * Scripts/webkitpy/webdriver_tests/webdriver_w3c_executor.py: Implicitly use webkitcorepy's auto-installer.
     15
    1162020-09-21  Jonathan Bedard  <jbedard@apple.com>
    217
  • trunk/Tools/Scripts/webkitpy/__init__.py

    r266372 r267368  
    2929
    3030AutoInstall.register(Package('coverage', Version(5, 2, 1)))
     31AutoInstall.register(Package('mozprocess', Version(1, 2, 0)))
     32AutoInstall.register(Package('mozlog', Version(6, 1)))
     33AutoInstall.register(Package('mozterm', Version(1, 0, 0)))
    3134AutoInstall.register(Package('selenium', Version(3, 141, 0)))
    3235AutoInstall.register(Package('toml', Version(0, 10, 1)))
  • trunk/Tools/Scripts/webkitpy/thirdparty/__init__.py

    r267365 r267368  
    110110        elif '.geckodriver' in fullname:
    111111            self.install_geckodriver()
    112         elif '.mozlog' in fullname:
    113             self._install_mozlog()
    114         elif '.mozprocess' in fullname:
    115             self._install_mozprocess()
    116112        elif '.pytest_timeout' in fullname:
    117113            self._install_pytest_timeout()
     
    143139        self._install("https://files.pythonhosted.org/packages/source/p/pycodestyle/pycodestyle-2.5.0.tar.gz",
    144140                             "pycodestyle-2.5.0/pycodestyle.py")
    145 
    146     def _install_mozlog(self):
    147         self._ensure_autoinstalled_dir_is_in_sys_path()
    148         self._install("https://files.pythonhosted.org/packages/a0/69/5ff6001df98cf1894e6fb4aa74eda1504f830515e52fc6b0a3acc8c1a788/mozterm-1.0.0.tar.gz",
    149                               "mozterm-1.0.0/mozterm")
    150         self._install("https://files.pythonhosted.org/packages/6b/7d/30d52c3b2cc022280c41f47f0499afc6d87116b23051bf69c683aaa1cdcb/mozlog-5.0.tar.gz",
    151                               "mozlog-5.0/mozlog")
    152 
    153     def _install_mozprocess(self):
    154         self._ensure_autoinstalled_dir_is_in_sys_path()
    155         self._install("https://files.pythonhosted.org/packages/97/e7/7907f0bf2d0b42b154741f8ff63a199486fc67c90aac88cde5f2d1ad1ea2/mozprocess-1.1.0.tar.gz",
    156                               "mozprocess-1.1.0/mozprocess")
    157141
    158142    def _install_pytest_timeout(self):
  • trunk/Tools/Scripts/webkitpy/webdriver_tests/webdriver_w3c_executor.py

    r253619 r267368  
    2929from webkitpy.common.system.filesystem import FileSystem
    3030from webkitpy.common.webkit_finder import WebKitFinder
    31 import webkitpy.thirdparty.autoinstalled.mozlog
    32 import webkitpy.thirdparty.autoinstalled.mozprocess
     31
    3332from mozlog import structuredlog
    3433
Note: See TracChangeset for help on using the changeset viewer.