Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-6682

Support hash function other than md5 in pypi download script

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 3.0, Impala 2.12.0
    • Impala 3.0, Impala 2.12.0
    • Infrastructure
    • None
    • ghx-label-9

    Description

      pip_download.py assumes the python repository to use md5 as the hash algorithm. On Mar 15, 2018 some traffic of https://pypi.python.org is redirected to https://pypi.org/simple, which uses sha-256. According to PEP-503 it could be any algorithm supported by python hashlib. We should change pip_download.py to support them. 

      Attachments

        Activity

          People

            tianyiwang Tianyi Wang
            tianyiwang Tianyi Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: