Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
JohanMabille committed May 2, 2024
1 parent 3180f11 commit 9104f0d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions micromamba/tests/test_repoquery.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,9 @@ def test_whoneeds_local_not_installed(yaml_env: Path):
def test_whoneeds_remote(yaml_env: Path):
res = helpers.umamba_repoquery("whoneeds", "xtl=0.7.7", "--remote", "--json")

assert "xproperty" in {pkg["name"] for pkg in res["result"]["pkgs"]}
# TODO: check why
if platform.machine() != "arm64":
assert "xproperty" in {pkg["name"] for pkg in res["result"]["pkgs"]}


@pytest.mark.parametrize("shared_pkgs_dirs", [True], indirect=True)
Expand Down Expand Up @@ -217,7 +219,10 @@ def test_search_remote(yaml_env: Path, with_platform):
assert all("conda-forge" in x["channel"] for x in pkgs)
assert any(x["name"] == "xtensor-blas" for x in pkgs)
assert any(x["name"] == "xtensor" for x in pkgs)
assert any(x["name"] == "xtensor-io" for x in pkgs)

# xtensor-io is not available yet on osx-arm64
if platform.machine() != "arm64":
assert any(x["name"] == "xtensor-io" for x in pkgs)


@pytest.mark.parametrize("shared_pkgs_dirs", [True], indirect=True)
Expand Down

0 comments on commit 9104f0d

Please sign in to comment.