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

[WIP] Utilize environment.yml or requirements.txt directly #275

Closed
wants to merge 6 commits into from

Commits on Jan 19, 2021

  1. Prepare with only an environment.yml or requirements.txt file

    An anaconda-project.yml file is no longer required.
    
    * If environment.yml or environment.yaml file exists
       Create the env as envs/{name} where name comes from the file.
       This works for pip entries, too.
    
    * If requirements.txt file exists
       Create the env as env/default with the latest version of python.
       Add packages from requirements.txt as pip installs
    AlbertDeFusco committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    88e4645 View commit details
    Browse the repository at this point in the history
  2. set python version when using requirements.txt

    the --python=x.x flag will ensure that the base conda
    environment has your requested version of python before running
    pip installs
    
    * also stop anaconda-project run from writing the file to disk
    AlbertDeFusco committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    61fc40e View commit details
    Browse the repository at this point in the history
  3. avoid writing anaconda-project.yml for list commands

    * also list pip packages with list-packages command
    AlbertDeFusco committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    d351570 View commit details
    Browse the repository at this point in the history
  4. remove prompts

    AlbertDeFusco committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    63b77e2 View commit details
    Browse the repository at this point in the history
  5. lint

    AlbertDeFusco committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    f5ded56 View commit details
    Browse the repository at this point in the history
  6. lint

    AlbertDeFusco committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    f5e1bea View commit details
    Browse the repository at this point in the history