-
Notifications
You must be signed in to change notification settings - Fork 128
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
Source canonical Nextstrain environment file for Travis CI #421
Conversation
The canonical environment file is the most up-to-date and does not include conda-forge as a channel. By sourcing this file, we should always get the most recently environment for nextstrain and, in this case, avoid Travis CI timeouts related to long environment solving with conda-forge.
Should we remove the I would think probably safer to just be maintaining a single environment at https://github.com/nextstrain/conda? Note that we reference Switching from |
I think it'd be reasonable to depend on the canonical Nextstrain Conda environment, but note that the Travis setup will have to explicitly re-install augur into the environment from the checked out source. Otherwise I believe the environment will include the latest released augur, not the commit being tested. |
Isn't the explicit reinstall already happening with the |
Oh I totally missed that! Yes, you are correct @huddlej. |
I had seen that the
and thought Travis was relying on that. |
This removes the `environment.yml` in the repository in favor of the "canonical" `nextstrain.yml` maintained at https://github.com/nextstrain/conda. This also updates the install docs to match.
@rneher --- What do you think about using central Conda environment throughout? Current Augur docs specify |
moving to a single one definitely makes sense -- but I am getting increasingly confused were all the things are... I guess the only reason to keep this outside of the As you point out, there are a bunch of places in the docs that would need adjusting. When we previously taught nextstrain for Windows users, they often lack a few other things:
|
Getting to some of @rneher 's last points:
|
Making a note here that we need to update the installation docs to reference the conda repo YAML instead of the |
@kairstenfay just ran into this (https://bedfordlab.slack.com/archives/C0H7C3F0B/p1611191895001200). Can we just remove It looks like @huddlej fixed Travis to no longer use Is there anything else to be done here besides just deleting |
Thanks for bumping this, @trvrb! There are still a couple of references to I'm about to make a release this morning, so it would be simpler to make these changes after the release. I've assigned myself to this issue and moved it to the "Next up" pipeline. |
Thanks John! Not urgent, but did want to bump given that this seemed close to complete. |
Replaces references to local Conda environment file with conda install commands that install the Augur package from Bioconda. This approach was not previously possible before we started maintaining the Augur Bioconda package. As part of these changes, this commit also improves the usability of the `./devel/test` script a bit. Fixes #421
Via @huddlej: