-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Cannot import requests anymore #23
Comments
We can revert that. It is unfortunate that we cannot use |
Thanks for your fast answer.. But one question comes to my mind: How is python supposed to find that module in site-packages .. its not even in I see it in |
Basically cc @conda-forge/core (for awareness) |
Thanks for the exeplanation, the revert solves this |
@jakirkham / @ocefpaf, can you elaborate on this issue? Do you think |
But a build dependency is not "a dependency of |
I'm confused by your comment. That list is are all the packages who are required by conda it are requirements of the requirements. If my reading of the conda meta is correct the only build requirements are python and m2 things. Are many of the packages in that list m2 dependencies? I'm very curious where this issue comes from as well. Is the restriction of arch only for the build/host dependencies of conda? Is it recursive upwards? |
Build dependencies, no matter if for |
No idea. There shouldn't be any restriction at all... |
(only things like |
Without any way to reproduce, I don't understand what
is supposed to mean at all.. |
conda dependencies not being noarch was an old restriction. conda=4.2 didn't support noarch. To update to 4.3 which supported noarch, you need to do I don't know why requests installation was broken in this case. |
Oh wait, maybe it's was that recent issue with |
Just look at the recent issues from https://github.com/conda/conda/issues?q=sort%3Aupdated-desc+requests. But that was not related to |
It could very well be that I was mistaken. I just encountered this issue and the first (very fast answer) indicated that the reason might be that I was on conda 4.5.6 and I have a custom python app that we use since many months without problem. Suddenly, after the noarch update, my app stopped working with Now I tried to reproduce this. As the requests 2.19.1 py_1 disappeared from the repo i rebuilt it and installed it.. Now, (un)fortunately the error cannot be reproduced anymore. Is there any way to get this version from the conda ci? |
Okay guys.. I found the problem... I am deeply sorry for the confusion i caused, it is a problem on our side... for future reference, here the whole story:
Using this procedure, we installed the noarch packages requests (idna, chardet) using conda 4.2.12 which does not throw errors, but somehow messes up the layout on the harddrive. Our workaround will either be "using a newer installer" or "only updating conda first, then the rest". Sorry again and thanks for pointing out that the theory didnt make sense.. |
Yeah, that " @conda-forge/core: IMHO (and unless you're still keen on us |
@mbargull, there's plenty of travis.yml files (1973 in fact) using https://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh which has conda 4.0.5. Fortunately most of them do a |
What do you mean by that? If I |
I meant in github not in conda-forge |
Ok, I'm not sure if you really want to concern yourself with those, but whatever you see fit 😉 |
I'm just saying that there are conda < 4.3 users and we should make an announcement that we are doing this. I'm in favour of deprecating the use of conda<4.3 even for upgrading. |
I'm discussing with the team to see if we can redirect Miniconda-latest-Linux-x86_64.sh to Miniconda3-latest... so that anyone who uses the older links gets a newer noarch supporting conda version. |
@jjhelmus, thanks. I'd suggest redirect to |
Is there some reason you were using |
actually we had problems when noarch packages didn't work properly (or didn't exist yet?). People used installers with python 3.6 and were not able use our Python software built for 3.5.. that's why we defined to use a certain installer... and never upgraded that as long as it worked. |
Issue: Since requests is a noarch package, i cannot
import requests
anymore... Is there any "trick"?Environment (
conda list
):Details about
conda
and system (conda info
):The text was updated successfully, but these errors were encountered: