-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
Windows Docker image for conda-forge development #928
Comments
I think a viable solution is to have an ansible playbook somewhere that can provision a windows machine. |
Meanwhile I have a basic
Only works reliably if you disable any Virus scanner. |
@xhochy This is really neat. Do you know what version of Visual Studio/Visual C++ is installed by the first RUN step? |
Do you know why virus scanners need to be disabled? |
I have often had the problem that conda was unable to delete files due to permission problems. Normally this is an indicator that another process also has an open handle to that file. These problems vanished completely after disabling Windows Defender. |
VS Build Tools 2015. With the latest changes on conda-forge, I need to find the 2017 ones. Currently I only see links for 2015 and 2019. Meanwhile I found that on chochlatey also the tools are packages and I will try to use them instead of the direct download link as that should make the version more obvious and hopefully the installation less mysterious. |
I wonder if Conda is not closing files properly then. |
No @jakirkham, Windows File IO does not do file locking well. That is the problem here. |
cc @jaimergp (for reference) |
I updated @xhochy's recipe to use the VS build tools installer. This installer allows you to provide a config file, so you know exactly what tools are being installed.
.vsconfig-2017
This one is 7GB larger for a total of 15GB! It includes additional things such as Windows CMake tools and the Windows 10 SDK, but I believe these things are necessary for CMake to function correctly. |
I have some Windows systems (also includes throwaway VMs using cloud providers) that I use to develop and debug conda-forge recipe failures on Windows. Sadly I have never had a Windows system that was working with all conda-forge packages. Most often I have to resort to developing against the CI. The documentation we have is okish, improving it would help but having a Windows docker image that replicates our CI setup would greatly help me to enable packages for Windows.
Would it be possible to create such an image or Dockerfile? (we might have to use the latter as we may not be able to redistribute some SDKs?)
The text was updated successfully, but these errors were encountered: