Skip to content

Commit

Permalink
MAINT: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
HaoZeke committed Nov 23, 2024
1 parent 682e15f commit a4402e8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 1 addition & 0 deletions asv/plugins/_mamba_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

from ..console import log


def get_index(
channel_urls=(),
prepend=True,
Expand Down
9 changes: 4 additions & 5 deletions asv/plugins/mamba.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,13 @@
except ImportError:
from yaml import Loader

from .. import environment, util
from ..console import log


from importlib_metadata import version as get_version
import libmambapy

if int(get_version(libmambapy).split(".")[0]) <= 2:
from .. import environment, util
from ..console import log

if int(get_version('libmambapy').split(".")[0]) >= 2:
raise environment.EnvironmentUnavailable(
f"libmambapy must be less than 2.0, but got {get_version('libmambapy')}"
)
Expand Down

0 comments on commit a4402e8

Please sign in to comment.