-
Notifications
You must be signed in to change notification settings - Fork 15
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
Dependencies in setup.py tend to mess with conda config #430
Comments
But I guess removing pyke from setup.py will end up in crashing CI, @avaldebe, right? |
Regarding pycharm: During the analysis of the project it comes by the error and then it offers to install the dependency using conda (if one is using a conda env for the development). To be discussed... |
Was the environment created as in the docs?
|
Seems like this pyke issue may be resolved with upcoming release of iris (they want to deprecate the dependency), see: and |
Correct, it will crash the pure pip steps |
pyearocom is installed into conda in CI without problems. This is about installing in development/editable mode, which not something an external (non dev) user would do. |
Yes |
They dropped pyke on PR SciTools/iris#4198, which is part of their 3.1 release A fresh Lines 5 to 6 in 7f463cd
Maybe a |
Moving this to v0.13.0 |
This should be fixed by #493 |
When installing pyaerocom in developing mode into an existing conda environment via
pip install --no-deps -e .
the command line interface crashes, that is:
crashes as somewhere during the import of pyaerocom the "scitools-pyke>=1.1.1" is not given:
pkg_resources.DistributionNotFound: The 'scitools-pyke>=1.1.1' distribution was not found and is required by pyaerocom
I think this is due to the fact that "scitools-pyke>=1.1.1" is listed in setup.py as requirement @avaldebe, which is actually not a direct requirement for pyaerocom but I believe for iris (and pip should install that via iris). We could add this in the conda env but I resist a little and think we should re-discuss the recommended installation pathways (I, personally do not like the setup.py to be too smart, trying to solve the dependencies - via pip - as well, particularly because this has such high potential to mess with conda environments if not invoked in the correct way, with pip and --no-deps).
@jgriesfeller also had some issues in his pycharm configuration because of that, I think.
For now I will make a PR that removes pyke from setup.py so that the CLI works again.
We should discuss this on Monday I think.
The text was updated successfully, but these errors were encountered: