Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
lib64 symlink can break subtly since 16.1 #1248
When creating a virtualenv on a path that contains a symlink, the virtualenv break if this symlink is removed due to the changes made in 5d56014
When running tests, we create a workspace folder for each test, which has a symlink to a shared virtual env. The first test case populates the virtualenv. Then the first testcase's workspace is removed.
Prior to 16.1 this worked as expected. However, in 16.1 the lib64 symlink is absolute (but not canonical). So when the workspace of the first test is removed, the shared virtual env breaks. The next test run produces the error "module pip not found".
revert the change on line 1622 (5d56014#diff-51642b24ac9529f4baa0f483fa257d2dL1622)