Skip to content

Commit

Permalink
Merge pull request #465 from mariusvniekerk/osx-arm64-as-a-default
Browse files Browse the repository at this point in the history
add osx-arm64 as a default platform
  • Loading branch information
maresb authored Aug 30, 2023
2 parents de32227 + 755be59 commit eb1cd9f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion conda_lock/src_parser/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
from conda_lock.virtual_package import FakeRepoData


DEFAULT_PLATFORMS = ["osx-64", "linux-64", "win-64"]
DEFAULT_PLATFORMS = ["linux-64", "osx-arm64", "osx-64", "win-64"]


logger = logging.getLogger(__name__)
Expand Down
6 changes: 5 additions & 1 deletion tests/test_conda_lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -1074,7 +1074,11 @@ def test_run_lock_blas_mkl(
monkeypatch: "pytest.MonkeyPatch", blas_mkl_environment: Path, conda_exe: str
):
monkeypatch.chdir(blas_mkl_environment.parent)
run_lock([blas_mkl_environment], conda_exe=conda_exe)
run_lock(
[blas_mkl_environment],
conda_exe=conda_exe,
platforms=["linux-64", "win-64", "osx-64"],
)


@pytest.fixture
Expand Down

0 comments on commit eb1cd9f

Please sign in to comment.