Changeset 224114 in webkit


Ignore:
Timestamp:
Oct 27, 2017 9:38:36 AM (6 years ago)
Author:
Ryan Haddad
Message:

autoinstall can't download from http://pypi.python.org
https://bugs.webkit.org/show_bug.cgi?id=178925

Patch by Fujii Hironori <Fujii Hironori> on 2017-10-27
Reviewed by Ryosuke Niwa.

The web server pypi.python.org rejects non secure http.

  • Scripts/webkitpy/thirdparty/init.py:

(AutoinstallImportHook._install_mechanize): Use https instead of http.
(AutoinstallImportHook._install_pep8): Ditto.
(AutoinstallImportHook._install_pylint): Ditto.
(AutoinstallImportHook._install_buildbot): Ditto.
(AutoinstallImportHook._install_coverage): Ditto.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r224084 r224114  
     12017-10-27  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        autoinstall can't download from http://pypi.python.org
     4        https://bugs.webkit.org/show_bug.cgi?id=178925
     5
     6        Reviewed by Ryosuke Niwa.
     7
     8        The web server pypi.python.org rejects non secure http.
     9
     10        * Scripts/webkitpy/thirdparty/__init__.py:
     11        (AutoinstallImportHook._install_mechanize): Use https instead of http.
     12        (AutoinstallImportHook._install_pep8): Ditto.
     13        (AutoinstallImportHook._install_pylint): Ditto.
     14        (AutoinstallImportHook._install_buildbot): Ditto.
     15        (AutoinstallImportHook._install_coverage): Ditto.
     16
    1172017-10-26  Fujii Hironori  <Hironori.Fujii@sony.com>
    218
  • trunk/Tools/Scripts/webkitpy/thirdparty/__init__.py

    r224014 r224114  
    113113
    114114    def _install_mechanize(self):
    115         self._install("http://pypi.python.org/packages/source/m/mechanize/mechanize-0.2.5.tar.gz",
     115        self._install("https://pypi.python.org/packages/source/m/mechanize/mechanize-0.2.5.tar.gz",
    116116                             "mechanize-0.2.5/mechanize")
    117117
     
    121121
    122122    def _install_pep8(self):
    123         self._install("http://pypi.python.org/packages/source/p/pep8/pep8-0.5.0.tar.gz#md5=512a818af9979290cd619cce8e9c2e2b",
     123        self._install("https://pypi.python.org/packages/source/p/pep8/pep8-0.5.0.tar.gz#md5=512a818af9979290cd619cce8e9c2e2b",
    124124                             "pep8-0.5.0/pep8.py")
    125125
     
    143143            if sys.platform == 'win32':
    144144                files_to_remove = ['test/data/write_protected_file.txt']
    145             installer.install("http://pypi.python.org/packages/source/l/logilab-common/logilab-common-0.58.1.tar.gz#md5=77298ab2d8bb8b4af9219791e7cee8ce", url_subpath="logilab-common-0.58.1", target_name="logilab/common", files_to_remove=files_to_remove)
    146             installer.install("http://pypi.python.org/packages/source/l/logilab-astng/logilab-astng-0.24.1.tar.gz#md5=ddaf66e4d85714d9c47a46d4bed406de", url_subpath="logilab-astng-0.24.1", target_name="logilab/astng")
    147             installer.install('http://pypi.python.org/packages/source/p/pylint/pylint-0.25.1.tar.gz#md5=728bbc2b339bc3749af013709a7f87a5', url_subpath="pylint-0.25.1", target_name="pylint")
     145            installer.install("https://pypi.python.org/packages/source/l/logilab-common/logilab-common-0.58.1.tar.gz#md5=77298ab2d8bb8b4af9219791e7cee8ce", url_subpath="logilab-common-0.58.1", target_name="logilab/common", files_to_remove=files_to_remove)
     146            installer.install("https://pypi.python.org/packages/source/l/logilab-astng/logilab-astng-0.24.1.tar.gz#md5=ddaf66e4d85714d9c47a46d4bed406de", url_subpath="logilab-astng-0.24.1", target_name="logilab/astng")
     147            installer.install('https://pypi.python.org/packages/source/p/pylint/pylint-0.25.1.tar.gz#md5=728bbc2b339bc3749af013709a7f87a5', url_subpath="pylint-0.25.1", target_name="pylint")
    148148
    149149    # autoinstalled.buildbot is used by BuildSlaveSupport/build.webkit.org-config/mastercfg_unittest.py
     
    157157        jinja_dir = self._fs.join(_AUTOINSTALLED_DIR, "jinja2")
    158158        installer = AutoInstaller(append_to_search_path=True, target_dir=jinja_dir)
    159         installer.install(url="http://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.6.tar.gz#md5=1c49a8825c993bfdcf55bb36897d28a2",
     159        installer.install(url="https://pypi.python.org/packages/source/J/Jinja2/Jinja2-2.6.tar.gz#md5=1c49a8825c993bfdcf55bb36897d28a2",
    160160                                                url_subpath="Jinja2-2.6/jinja2")
    161161
    162162        SQLAlchemy_dir = self._fs.join(_AUTOINSTALLED_DIR, "sqlalchemy")
    163163        installer = AutoInstaller(append_to_search_path=True, target_dir=SQLAlchemy_dir)
    164         installer.install(url="http://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.7.7.tar.gz#md5=ddf6df7e014cea318fa981364f3f93b9",
     164        installer.install(url="https://pypi.python.org/packages/source/S/SQLAlchemy/SQLAlchemy-0.7.7.tar.gz#md5=ddf6df7e014cea318fa981364f3f93b9",
    165165                                                 url_subpath="SQLAlchemy-0.7.7/lib/sqlalchemy")
    166166
     
    169169        installer.install(url="https://pypi.python.org/packages/source/T/Twisted/Twisted-12.1.0.tar.bz2#md5=f396f1d6f5321e869c2f89b2196a9eb5", url_subpath="Twisted-12.1.0/twisted")
    170170
    171         self._install("http://pypi.python.org/packages/source/b/buildbot/buildbot-0.8.6p1.tar.gz#md5=b6727d2810c692062c657492bcbeac6a", "buildbot-0.8.6p1/buildbot")
     171        self._install("https://pypi.python.org/packages/source/b/buildbot/buildbot-0.8.6p1.tar.gz#md5=b6727d2810c692062c657492bcbeac6a", "buildbot-0.8.6p1/buildbot")
    172172
    173173    def _install_coverage(self):
    174174        self._ensure_autoinstalled_dir_is_in_sys_path()
    175         self._install(url="http://pypi.python.org/packages/source/c/coverage/coverage-3.5.1.tar.gz#md5=410d4c8155a4dab222f2bc51212d4a24", url_subpath="coverage-3.5.1/coverage")
     175        self._install(url="https://pypi.python.org/packages/source/c/coverage/coverage-3.5.1.tar.gz#md5=410d4c8155a4dab222f2bc51212d4a24", url_subpath="coverage-3.5.1/coverage")
    176176
    177177    def _install_twisted_15_5_0(self):
Note: See TracChangeset for help on using the changeset viewer.