-
-
Notifications
You must be signed in to change notification settings - Fork 189
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
Use AppVeyor's included Miniconda #370
Use AppVeyor's included Miniconda #370
Conversation
28b03ea
to
a936d85
Compare
I had some problems with this change: a) it doesn't fix the memoryerror (see https://ci.appveyor.com/project/MSeifert04/iteration-utilities-feedstock/build/job/07sbeulj118lidht) b) is easily fixed by including:
|
Wouldn't say this change is ready to go anywhere yet. Hence why I hadn't pinged you about it. 😉 |
73ac81b
to
5d15954
Compare
Alright this seems to be working on my fork now. Please take a look and let me know your thoughts. This uses the included Miniconda on AppVeyor. It also fixes a crucial bug. xref: https://ci.appveyor.com/project/jakirkham/setuptools-feedstock/build/1.0.5 Side note: AFAICT it doesn't take notably longer to upgrade cc @conda-forge/core @MSeifert04 @JanSchulz |
What was the crucial bug? 😄 The changes actually speed up my builds (2:30 -> 1:50 on py3) and the 2.7 builds didn't fail with the memory-error. I don't know why you originally used the development channel for obvious-ci but the used version changed from 0.5.2.dev2 to 0.6.1 . Don't know if there was any reason for this pinning, just wanted to make sure that this was intentional. |
|
||
# Add our channels. | ||
- cmd: set "OLDPATH=%PATH%" | ||
- cmd: set "PATH=%CONDA_INSTALL_LOCN%\\Scripts;%CONDA_INSTALL_LOCN%\\Library\\bin;%PATH%" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This line and the one above belong to the # Use AppVeyor's preinstalled Miniconda.
-section, right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually these lines technically belong below with the hack. However, pulling things from conda-forge
seems to fix the bug we were experiencing. So it had to go up here.
Not entirely sure of the differences myself as That being said, we already have been upgrading to |
5d15954
to
288e6a0
Compare
288e6a0
to
44cd5e3
Compare
Cleaned up a bit more to use proper matrix environment variables for specifying the Miniconda installer location to use. |
My suspicion is it is some package from AFAICT Switching to the pre-included Miniconda doesn't seem to make a difference. |
Going to go ahead and get this out there as the AppVeyor startup lag is pretty painful. Will release as |
@@ -1,103 +0,0 @@ | |||
#!/usr/bin/env python |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you removed this!!!!! This is need by many outside of conda-forge!!!!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All the recent re-renderings point to the commit where this is and it is still available. Have just now rechecked.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just don't remove it. We need a master
version in many projects. Do not be obtuse here. There are many outside conda-forge
who use that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not trying to be obtuse. Only pointing out it is still available and that we had tried to protect against problems in conda-forge. In any event, PR ( #376 ) will add it back. Feel free to merge.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in PR ( #377 ).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ocefpaf - I'm trying to catch up with some notifications here, and have no idea if there is more context to this conversation (if there is, I'm sorry), but I'd just like to ask that you try to reduce the bluntness of comments like this. I fully approve of directness (i.e. we don't need to beat around the bush), but it is just as easy to be direct and polite...
Why did you removed this!!!!! This is need by many outside of conda-forge!!!!
Could just have easily been written:
This change will break things for users outside of conda-forge. Would you mind adding it back please?
I understand frustration when on change results in breakage elsewhere, but in general the world is a nicer place when we tone down the aggression (take that as a political statement if you like 😜 ) . No response needed here, I just want to raise the matter for you to consider in future comments.
Thank you.
@@ -14,8 +12,9 @@ environment: | |||
# We set a default Python version for the miniconda that is to be installed. This can be | |||
# overridden in the matrix definition where appropriate. | |||
CONDA_PY: "27" | |||
CONDA_INSTALL_LOCN: "C:\\Miniconda-x64" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neither of these really should be needed. So am proposing they be dropped in PR ( #384 ).
Fixes #351
Fixes #197
Closes #176
Closes conda-forge/setuptools-feedstock#26
This PR changes the feedstock behavior to use AppVeyor's included copy of Miniconda instead of downloading our own. It does this by borrowing similar changes used in
staged-recipes
thanks to PR ( conda-forge/staged-recipes#982 ) and applies them to the feedstocks. Hopefully this should avoid some issues that we are experiencing with Python 2.7 builds on AppVeyor where we are seeing long startup times. Also it should save some time by not needing to reinstall everything from scratch each time.Testing of this is occurring in PR ( conda-forge/setuptools-feedstock#26 ).