Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-53250

Evaluate consequences of using upgraded pip in virtual environment and pip's new dependency resolver

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • v4.9, v4.4
    • STM 2020-12-14, STM 2021-04-05
    • 0
    • 3

    Description

      The 4.2, 4.4, and master branches all use python -m venv and not python -m virtualenv to create the virtual environment. The venv package comes with Python3.

      This leads to pip 10.0.1 from Python 3.7.0's ensurepip to be used to download Python packages on the 4.2 and 4.4 branches. The changes from 3c179e4 as part of SERVER-49504 cause pip 10.0.1 to be upgraded to the latest version (20.3.1 as of today). Versions of pip 20.3 and newer use a new dependency resolver by default.

      # /opt/mongodbtoolchain/v3/bin/python3 -m ensurepip --version
      pip 10.0.1
      

      Attachments

        Issue Links

          Activity

            People

              robert.guo@mongodb.com Robert Guo (Inactive)
              max.hirschhorn@mongodb.com Max Hirschhorn
              Votes:
              1 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: