[SERVER-28112] Remove virtualenv workaround for SUSE 12 in etc/evergreen.yml Created: 25/Feb/17  Updated: 05/Apr/17  Resolved: 06/Mar/17

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 3.5.4

Type: Task Priority: Minor - P4
Reporter: Max Hirschhorn Assignee: Max Hirschhorn
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
is related to SERVER-25387 Document virtualenv workaround for Su... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.4, v3.2
Sprint: TIG 2017-03-27
Participants:
Linked BF Score: 0

 Description   

The httplib2 package has been removed from SUSE 12, so there should no longer be a permissions issue when attempting to create a virtual environment using --system-site-packages.

# Due to an issue with how the contents of the httplib2 package are installed on SUSE 12,
# some files within the system's site-packages aren't world-readable. This results in a
# "Permission denied" error message when attempting to install the system's site-packages
# into the virtual environment.
if [ ${build_variant} == enterprise-suse12-64 ]; then
    virtualenv ./venv
else
    virtualenv --system-site-packages ./venv
fi



 Comments   
Comment by Githook User [ 06/Mar/17 ]

Author:

{u'username': u'visemet', u'name': u'Max Hirschhorn', u'email': u'max.hirschhorn@mongodb.com'}

Message: SERVER-28112 Inherit system site-packages on SUSE 12.

Removes the workaround for SUSE 12 when creating a new virtual
environment. The httplib2 package has been removed from SUSE 12, so
using the system site-packages no longer causes a permissions error.
Branch: master
https://github.com/mongodb/mongo/commit/b88ca5a851f4e24084da7b75b118f66430cb4421

Generated at Thu Feb 08 04:17:09 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.