Skip to content

Commit

Permalink
fix: Skip test_env_update_pypi_with_conda_forge on macOS
Browse files Browse the repository at this point in the history
Signed-off-by: Julien Jerphanion <[email protected]>
  • Loading branch information
jjerphan committed Oct 15, 2024
1 parent e755fcc commit 5467b56
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions micromamba/tests/test_env.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import re
import shutil
import platform

from packaging.version import Version
from pathlib import Path
Expand Down Expand Up @@ -322,6 +323,11 @@ def test_env_update_conda_forge_with_pypi(tmp_home, tmp_root_prefix, tmp_path):
"""


# Skip test on macOS because numpy 1.26.4 is not available on conda-forge for arm64-apple-darwin20.0.0 and latest
# See: https://pypi.org/project/numpy/1.26.4/#files
@pytest.mark.skipif(
platform.system() == "Darwin", reason="numpy 1.26.4 is not available on conda-forge for macOS"
)
@pytest.mark.parametrize("shared_pkgs_dirs", [True], indirect=True)
def test_env_update_pypi_with_conda_forge(tmp_home, tmp_root_prefix, tmp_path):
env_prefix = tmp_path / "env-update-pypi-with-conda-forge"
Expand Down

0 comments on commit 5467b56

Please sign in to comment.