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

Support hash function other than md5 in pypi download script

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 3.0, Impala 2.12.0
    • Fix Version/s: Impala 3.0, Impala 2.12.0
    • Component/s: Infrastructure
    • Labels:
      None
    • Epic Color:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: