Skip to content
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

DM-24972: Support conda installation and lock files #118

Merged
merged 10 commits into from Jun 5, 2020
Merged

Conversation

brianv0
Copy link
Contributor

@brianv0 brianv0 commented May 26, 2020

This PR better supports conda with conda-forge as our distribution mechanism for software and third parties. This includes:

  • Use conda-{arch).lock files over yaml files
  • Add support for bring-your-own conda (in place of bring-your-own python). We preserve the prompt if a user has not provided a conda installation (we could remove later)
  • Remove python 2 support and associated checks (in anticipation of a conda-provided eups)
  • Remove git checking support (assume a basic git is installed. Modern git is distributed in conda environment)
  • Cleanup conda environment after installing packages (DM-24709)

scripts/newinstall.sh Outdated Show resolved Hide resolved
scripts/newinstall.sh Outdated Show resolved Hide resolved
This simplifies to just python 3 for miniconda and drops
most python version checks.
It repurposes the -P option to allow installation with an
existing conda installation.
We make sure to use source and conda activate/deactivate
instead of modifying paths when handling conda.
Add conda check
Add tests for user-provided conda environment
Require a miniconda path (even if empty)
Add a flag for do_install if we are installing
Make sure conda-channels gets down to lsst_env
Add conda clean messages
Warn if an environment already exists.
Do not perform conda_check if a user supplied an environment.
@brianv0 brianv0 merged commit f0b375c into master Jun 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants