-
Notifications
You must be signed in to change notification settings - Fork 183
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
Fix mamba environment option #1370
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
# Licensed under a 3-clause BSD style license - see LICENSE.rst | ||
|
||
# Import to make sure plugins are discoverable | ||
import asv.plugins.conda | ||
import asv.plugins.mamba | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Rather than explicitly raise from here the current approach is to not let The reason behind this is to allow for external plugins (it is also why we don't want to have an explicit list of allowed values). |
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -80,7 +80,8 @@ suite are: | |||||||||
- ``environment_type``: The tool used to create environments. May be | ||||||||||
``conda`` or ``virtualenv`` or ``mamba``. If Conda supports the | ||||||||||
dependencies you need, that is the recommended method. Mamba is faster | ||||||||||
but needs a newer Python version (3.8 or greater). | ||||||||||
but needs a newer Python version (3.8 or greater) and the ``libmambapy`` | ||||||||||
package must be installed to provide access to the mamba Python API. | ||||||||||
Comment on lines
+83
to
+84
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Clarification since |
||||||||||
See :ref:`environments` for more information. | ||||||||||
|
||||||||||
- ``matrix``: Dependencies you want to preinstall into the environment | ||||||||||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be required? (plugins are auto-discovered, failures mean they are dropped from valid options)