-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Check if tcl/tk files/dirs exist before copying #931
Conversation
Copying fails if tcl/tk files are not there. This happens in our setup, where Python 2.7.6 is used. Check if they exist before copying.
cc @techtonik |
How come that they are not there? I'd be against workarounds for hacked installations unless there is a really good reason. |
We don't use tcl/tk in our installation and prefer to deploy it to thousands of our machines |
@nodirt I am interested to use the socket vulnerabilities on thousands of your machines. I don't mind against the change, especially if PyPA group gets some funding as a result of incorporating this change (because I don't have write access). Just curious what do you do with Python 2.7.6 there? |
I support this change. It's necessary to check that the tcl/tk directories being copied actually exist, because they're an optional install item. In my case, I haven't installed it on my Python 2.7.11 and 3.5.1, and my Tox stopped working due to the change in #888. |
@rbcarson good point. |
@techtonik you are right, we should update Python. Turned out it has nothing to do with this PR. Even with the latest version we still prefer not to deploy TCL/TK. |
I see that even my fix for Python 3.3- #926 was not merged, so unless somebody finds a way to sponsor virtualenv development, it may not be fixed any time soon. |
This change should be obsoleted by #937, cheers |
Copying fails if tcl/tk files are not there. This happens in our setup,
where Python 2.7.6 is used.
Check if they exist before copying.