-
Notifications
You must be signed in to change notification settings - Fork 192
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
AiiDA conda environment #2081
Merged
ltalirz
merged 17 commits into
aiidateam:release_v0.12.3
from
ltalirz:wip_conda_install
Oct 22, 2018
Merged
AiiDA conda environment #2081
ltalirz
merged 17 commits into
aiidateam:release_v0.12.3
from
ltalirz:wip_conda_install
Oct 22, 2018
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
should work with aiida-core v0.12.0
yamlize script generates environemnt.yml from setup_requirements.py
also, move environment.yml generation to validate_pyproject.yml
Add AiiDA package root folder to PATH environment variable prior to importing the setup_requirements.py module.
generated environment.yml file is now written to the parent directory (which is assumed to be the AiiDA project root directory)
Add missing path export to conda command.
* update reentry to 1.2.2 (available on conda) * add travis test to verify that conda install works * move environment.yml to top level
…core into wip_conda_install
it seems the anaconda channel is currently breaking installs conda/conda#7872 Here is the error I got: ``` File "/home/travis/miniconda/lib/python2.7/site-packages/conda/core/subdir_data.py", line 369, in _process_raw_repodata_str info['fn'] = fn TypeError: 'NoneType' object does not support item assignment ```
giovannipizzi
approved these changes
Oct 22, 2018
giovannipizzi
approved these changes
Oct 22, 2018
ltalirz
added a commit
to ltalirz/aiida-core
that referenced
this pull request
Dec 18, 2018
* add an `environment.yml` file for installing AiiDA's dependencies using conda * add a pre-commit hook that updates this file based on `setup_requirements.py` * add a Travis test that tests the conda install and prohibits adding new dependencies if they are not available on conda (either the `defaults` or the `conda-forge` channel`) * update reentry to 1.2.2, which is now available on `conda-forge` Note: Using 'defaults' channel (anaconda channel is currently breaking installs) conda/conda#7872
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR
environment.yml
file for installing AiiDA's dependencies using condasetup_requirements.py
defaults
or theconda-forge
channel`)conda-forge
Special thanks go to @astamminger who helped with making the (rather outdated) versions of some packages that we are using available on conda-forge.
This is intended as a first step to enable an aiida conda package (so that one can do
conda install aiida
).Once this is done, we can then start experimenting with installing also rabbitmq and postgres via conda (for me the original reason for pursuing this).