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

Remove --system-site-packages from virtual env setup

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.18, 4.2.24
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.2
    • 162

      This will resolve the bug in BF-26744.

      There have been reports of the following error when using --system-site-packages in a virtual environment.

      AttributeError: module 'setuptools.build_meta' has no attribute '__legacy__'
      

      https://github.com/pypa/setuptools/issues/1694
      https://github.com/pypa/pip/issues/6264

      On other branches (5.0, 6.0, master), we don't use --system-site-packages.
      We should remove --system-site-packages from virtualenv setup on 4.4 since it doesn't provide much value in our case.

            Assignee:
            tausif.rahman@mongodb.com Tausif Rahman (Inactive)
            Reporter:
            tausif.rahman@mongodb.com Tausif Rahman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: