-
Notifications
You must be signed in to change notification settings - Fork 6
create new fpb_env package with fixed dependencies #704
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
Comments
See also #767 |
…mand line updating the larrayenv metapackage
@gdementen |
|
This issue is really a pain and I am a bit stuck with it. On one hand, not having a solution for this keeps being a problem over and over. New installs, or users installing another package and getting updated dependencies which conflicts with LArray in some way (usually via new warnings but sometimes with a crash). On the other hand our users also need to install miscellany packages on top of larrayenv (scipy, pyarrow, rpy2, statsmodels, sympy, yaml, ...) and having very strict version requirements would in some cases make installing those packages impossible. So one solution would be to include all those packages in our mega-package... but some of those packages do not exist in anaconda or are so outdated they are inusable. The solution to that is to switch to either conda-forge (and keep using conda) or to pip.
The problem with both is the flip-side of the advantage of being community-maintained: there is no gatekeeping by Anaconda Inc => there is a higher risk -- at least the way I see it -- of a compromised package getting through either directly when users install more packages (hard because of the strict dependencies versions but not impossible) or, in our machine, most likely via one of our indirect dependencies when we produce updated packages. One solution to the "users installing new packages" problem is to prevent them from doing so and produce a new version of our mega package with ever more packages each time one user needs an extra package. One option to do this would be to create offline installers containing all packages using conda constructor (https://github.com/conda/constructor - https://conda.github.io/constructor/howto/). In the pip world, I think our best bet would be to run our own private pypi repository (https://packaging.python.org/en/latest/guides/hosting-your-own-index/). Unsure how hard/how much effort it would mean to keep that running. |
We have had too many problems of too old or too recent dependencies
The text was updated successfully, but these errors were encountered: