-
-
Notifications
You must be signed in to change notification settings - Fork 54
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 strict #50
base: main
Are you sure you want to change the base?
Use strict #50
Conversation
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
-1 for this. Entire R stack on Windows relies on defaults' mingw packages |
Yep. We know. This PR is to start a discussion on how to solve that. Vendor |
@isuruf also note that, if |
The issue with using |
Thanks @jjhelmus for the info. conda-forge/blas-feedstock#15 would fix this. |
That is what I thought but it does boil down to a missing scipy (with conda-forge deps 😄). BTW, I made a few tests trying to get a single package from the second channel using In light of that I do believe we should start using |
My understanding that the issues with windows and strict are also somewhat broken without strict, as they cause large scale movement to defaults which might not be compatible. This just makes this brokenness more obvious. Is this correct? |
@isuruf would you be OK to not use strict on Windows until we fix our blas/numpy/scipy situation there but use it for Linux and macOS? It would really help those installing packages that have many dependencies, like |
I think strict for mac and linux at this point in time makes a lot of sense. If we have to hold off on windows that's OK. |
Actually, thanks to @isuruf I guess we'll be able to do it on Windows too. The problem we are hitting now is conda-forge/gdal-feedstock#270 (comment) |
Should this be merged then? |
On windows, we should wait for the BLAS migrator to finish. (It's only numpy that I have migrated manually) |
Thanks for that info @isuruf. I'll follow the BLAS migration closer and see if there are any PRs I can unblock. PS: I foresee a few issues that will rise when we do this, for example, I could not start a |
An example where this is needed now: conda-forge/blas-feedstock#32 |
Not sure if you're collecting examples where this is needed, but please feel free to delete this comment if not. Strict priority was required to successfully build/test with linux and qt5.6 in conda-forge/gpi-feedstock#5. |
@@ -8,6 +8,7 @@ set PYTHONUNBUFFERED=1 | |||
conda.exe config --set show_channel_urls true | |||
conda.exe config --set auto_update_conda false | |||
conda.exe config --set add_pip_as_python_dependency false | |||
conda.exe config --set channel_priority strict |
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.
If we got rid of this for the moment, it would probably be OK
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.
No, osx has issues with libcxx as well.
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.
No, osx has issues with libcxx as well.
That is "fixed" with the choice of vendorizing the old libcxx
and may be solved for good with conda/conda#8961.
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.
That's a terrible fix as I mentioned in another issue that I will revert soon. Correct fix is AnacondaRecipes/aggregate#162
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.
If we got rid of this for the moment, it would probably be OK
Can you elaborate why @scopatz? If we can list the foreseeable issues on Windows I can start working on them. (BTW, I've been using strict on Windows and Linux for a while now with more success than macOS, which should also be OK-ish now.)
See conda/conda#8960 for one possible proposal to relax strict priority in the event of exact version requirements not met by the top priority channel, and related issues for repo2docker investigating strict priority (for frozen envs, where the broken label is our problem) and openmpi-mpicxx where compilers coming from defaults and requiring libcxx==4.0.1 which is missing from conda-forge. |
|
We are already doing the bad idea ;-p I'll ping people on AR to see if we can get that merge. Thanks for the ping! |
Not sure it's relevant here, but wanted to mention I'm having problems using strict channel priority and trying to install packages from bioconda and conda-forge: bioconda/bioconda-recipes#17186 |
Any issues when using |
This has conflicts now 😢 |
…da-forge-pinning 2019.05.31
…da-forge-pinning 2019.08.27
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( I do have some suggestions for making it better though... For recipe:
|
Not anymore! |
Are the blocking issues with this resolved yet? |
They are not really issues but I would no merge this until more people are on board with the idea. |
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.
I'm on board as long as this is just affecting our build system. I still occasionally hit cases where strict is not what I want.
It won't affect user options but it should make it easier to fix those cases when you cannot use |
We should use the
strict
channel option in conda-forge since we are recommending it as the preferred way to use the channel. Also, this will act like a good test to see ifstrict
is ready to be thedefault
inconda 4.7
.The rationale behind this is that
strict
is the only way to install the GIS stack safely at the moment.There may be problem on Windows due to the lack of
scipy
. One would expectscipy
to be installed fromdefaults
but depending on the dependencies we may get an unsolvable env. (IMO an unsolvable env is not that bad, we should focus our efforts on finding and fixing them.)See conda-forge/osmnx-feedstock#40 (comment)