Skip to content

Commit

Permalink
Remove cosmopolitan channel
Browse files Browse the repository at this point in the history
  • Loading branch information
Hofer-Julian committed Sep 19, 2024
1 parent fa6c030 commit 3024721
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 132 deletions.
Binary file removed tests/integration/test_data/simple/life.v127.com
Binary file not shown.
Binary file not shown.

This file was deleted.

This file was deleted.

Binary file not shown.
Binary file not shown.
22 changes: 0 additions & 22 deletions tests/integration/test_data/simple/output/noarch/repodata.json

This file was deleted.

18 changes: 0 additions & 18 deletions tests/integration/test_data/simple/recipe.yaml

This file was deleted.

30 changes: 0 additions & 30 deletions tests/integration/test_global.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,36 +54,6 @@ def test_global_sync_dependencies(pixi: Path, tmp_path: Path) -> None:
)


def test_global_sync_channels(pixi: Path, tmp_path: Path, test_data: Path) -> None:
env = {"PIXI_HOME": str(tmp_path)}
manifests = tmp_path.joinpath("manifests")
manifests.mkdir()
manifest = manifests.joinpath("pixi-global.toml")
toml = """
[envs.test]
channels = ["conda-forge"]
[envs.test.dependencies]
python = "*"
life_package = "*"
[envs.test.exposed]
life = "life"
"""
parsed_toml = tomllib.loads(toml)
manifest.write_text(toml)

# Test basic commands
verify_cli_command([pixi, "global", "sync"], ExitCode.FAILURE, env=env, stderr_contains="life")

# Add bioconda channel
simple_channel = (test_data / "simple" / "output").as_uri()
parsed_toml["envs"]["test"]["channels"].append(simple_channel)
manifest.write_text(tomli_w.dumps(parsed_toml))
life = tmp_path / "bin" / ("life.bat" if platform.system() == "Windows" else "life")
verify_cli_command([pixi, "global", "sync"], ExitCode.SUCCESS, env=env)
verify_cli_command([life], ExitCode.LIFE, env=env)


def test_global_sync_platform(pixi: Path, tmp_path: Path) -> None:
env = {"PIXI_HOME": str(tmp_path)}
manifests = tmp_path.joinpath("manifests")
Expand Down

0 comments on commit 3024721

Please sign in to comment.