Uploaded image for project: 'Qt Quality Assurance Infrastructure'
  1. Qt Quality Assurance Infrastructure
  2. QTQAINFRA-4235

Latest pip version don't support Python 2 anymore

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.15
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Technical Risk:
      Normal

      Description

      https://pip.pypa.io/en/latest/development/release-process/#python-2-support

      "pip 20.3 was the last version of pip that supported Python 2"

      http://coin/coin/integration/qt/tqtc-qt5/tasks/1611857750

      http://coin/coin/api/results/provisioning/qtci-linux-RHEL-7.6-x86_64-d50a17/provision_1611857782/log.txt.gz

      + sudo pip install virtualenv wheel
      Traceback (most recent call last):
       File "/bin/pip", line 9, in <module>
       load_entry_point('pip==21.0', 'console_scripts', 'pip')()
       File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 378, in load_entry_point
       return get_distribution(dist).load_entry_point(group, name)
       File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2566, in load_entry_point
       return ep.load()
       File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in load
       entry = __import__(self.module_name, globals(),globals(), ['__name__'])
       File "/usr/lib/python2.7/site-packages/pip/_internal/cli/main.py", line 60
       sys.stderr.write(f"ERROR: {exc}")
       ^
      SyntaxError: invalid syntax

        Attachments

        For Gerrit Dashboard: QTQAINFRA-4235
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            hehalmet Heikki Halmet
            Reporter:
            hehalmet Heikki Halmet
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: