This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Dominic.Cerquetti
Recipients Dominic.Cerquetti, andrea.corbellini, python-dev, vinay.sajip
Date 2014-05-27.18:56:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1401216996.2.0.74574809834.issue18807@psf.upfronthosting.co.za>
In-reply-to
Content
Requesting re-open of this issue, using --closes to force no symlinks to be created still results in venv trying to create symlinks.

I'm using Python 3.4 with the following command inside a vagrant Ubuntu 14.04 virtualbox image.  The folder is a SMB mount from a windows host, which does not allow symlinks.

Expected behavior: os.symlink() is never called when you run:
python3.4 -m venv --copies

Actual behavior: os.symlink() is still called in a few places such as:
http://hg.python.org/cpython/file/b8e4bb1e1090/Lib/venv/__init__.py
line: 147
line: 215

I have a fix for line 215 that I'm testing now (basically just need to call copier() instead of os.symlink()). 

I don't want to mess with line 147 due to it being OSX specific and I have no way to test it.  But in theory it should also just be a call to copier()
History
Date User Action Args
2014-05-27 18:56:36Dominic.Cerquettisetrecipients: + Dominic.Cerquetti, vinay.sajip, andrea.corbellini, python-dev
2014-05-27 18:56:36Dominic.Cerquettisetmessageid: <1401216996.2.0.74574809834.issue18807@psf.upfronthosting.co.za>
2014-05-27 18:56:36Dominic.Cerquettilinkissue18807 messages
2014-05-27 18:56:35Dominic.Cerquetticreate