diff --git a/tests/integration_python/common.py b/tests/integration_python/common.py index f2054ae36..91455e3a6 100644 --- a/tests/integration_python/common.py +++ b/tests/integration_python/common.py @@ -9,13 +9,15 @@ PIXI_VERSION = "0.39.4" -ALL_PLATFORMS = '["linux-64", "osx-64", "win-64", "linux-ppc64le", "linux-aarch64"]' +ALL_PLATFORMS = '["linux-64", "osx-64", "osx-arm64", "win-64", "linux-ppc64le", "linux-aarch64"]' + +CURRENT_PLATFORM = str(Platform.current()) EMPTY_BOILERPLATE_PROJECT = f""" [project] name = "test" channels = [] -platforms = {ALL_PLATFORMS} +platforms = {CURRENT_PLATFORM} """ diff --git a/tests/integration_python/test_main_cli.py b/tests/integration_python/test_main_cli.py index 5c222b4d5..2522df713 100644 --- a/tests/integration_python/test_main_cli.py +++ b/tests/integration_python/test_main_cli.py @@ -1,7 +1,7 @@ import os from pathlib import Path -from .common import verify_cli_command, ExitCode, PIXI_VERSION, ALL_PLATFORMS +from .common import verify_cli_command, ExitCode, PIXI_VERSION, CURRENT_PLATFORM import tomllib import json import pytest @@ -570,8 +570,8 @@ def test_upgrade_dependency_location_pixi(pixi: Path, tmp_path: Path) -> None: test = ["pytest==6"] [tool.pixi.project] -channels = ["conda-forge"] -platforms = {ALL_PLATFORMS} +channels = ["https://prefix.dev/conda-forge"] +platforms = {CURRENT_PLATFORM} [tool.pixi.pypi-dependencies] polars = "==0.*"