-
Notifications
You must be signed in to change notification settings - Fork 220
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
Missing packages in OS X #925
Comments
Not all packages are always available on all platforms. On OSX, for example, we link |
That's a Python-distribution centric viewpoint, Also, IMHO it would be better if our build numbers were standardized whenever possible (if I fix a bug that only affects Linux, I won't make a new build for OS X, but it would be good if the user - or a process - could work backwards to the next lowest number on their platform and be assured that it's very nearly equivalent). |
Yes. Our goal is to specify the environment in a way that you can develop/run on OS X, Windows, or Linux. Are we only supposed to specify the versions of the user facing packages (such as jupyter and pandas)? Should we be using environment.yml or requirements.txt? |
Even with more standardization, taking the |
I started with miniconda on linux and just specified installing Should we upload multiple environment files to GitHub -- e.g. name: cognoma-cancer-data
dependencies:
- ipython=5.0.0=py35_0
- nbconvert=4.2.0=py35_0
- notebook=4.2.1=py35_0
- numexpr=2.6.0=np111py35_0
- numpy=1.11.1=py35_0
- pandas=0.18.1=np111py35_0
- python=3.5.2=0
prefix: /home/dhimmel/anaconda3/envs/cognoma-cancer-data Should we store package versions with build information removed? We're looking for a solution that allows a diverse team of individuals to contribute to a project with the same package versions. |
Switch environment.yml from specifying every installed package to just listing explicit dependencies (packages users directly import or interact with). Remove build numbers from version specification. Aims to address ContinuumIO/anaconda-issues#925 where an environment created on Linux was not available on OS X.
Possible workaround?I updated our name: cognoma-cancer-data
dependencies:
- jupyter=1.0.0
- numexpr=2.6.0
- numpy=1.11.1
- pandas=0.18.1
- python=3.5.2 So essentially I removed build numbers and specified only user-facing packages. By "user-facing", I mean dependencies that users will explicitly interact with (like I expect this approach will resolve operating system compatibility issues, while sacrificing some in terms of an identical computing environment. @ilanschnell and @mingwandroid, can you comment on this workaround? Do you think it's the right way forward? |
We have talked of recording which packages were explicitly installed, as opposed to those that were installed as dependencies. I think knowing this and having a way to query it is roughly what you are looking for here? @kalefranz, @mcg1969, is this still something we're considering? |
Taking a step back, our priority is to allow users on OS X, Linux, and Windows to contribute to our codebase, while maintaining an identical environment. Now, I think it's okay if the environment isn't 100% identical, as long as the packages people directly use are the same versions. So it seems that there are possibly different options:
I went with option 2 (dhimmel/cancer-data@8fb66e9) and am wondering whether that's the best approach currently? |
When trying to install this
environment.yml
on OS X, the following error occurs:Looking at zeromq on Anaconda, it appears that 4.1.4 is available for linux, but not OS X. This is causing issues for our project.
Is it expected behavior that version-specific package availability is platform dependent? We want linux, OS X, and windows users to be able to use the same environment. What is the recommended solution for these issues? It looks like #844, #855, #856, and this issue are all related.
The text was updated successfully, but these errors were encountered: