Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[1.x] maint: Add missing dependencies to micromamba's environment specification #3603

Merged
merged 5 commits into from
Nov 18, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions micromamba/environment-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ dependencies:
- pytest-asyncio
- pytest-xprocess
- conda-package-handling
- requests
- zstandard
- pyyaml
- spdlog
- fmt
Expand Down
6 changes: 6 additions & 0 deletions micromamba/tests/test_package.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import zipfile
from pathlib import Path

import conda_package_handling.conda_fmt
import pytest
import zstandard
from conda_package_handling import api as cph
Expand Down Expand Up @@ -148,6 +149,11 @@ def test_extract_compress(cph_test_file: Path, tmp_path: Path):
assert_sorted(names[: len(info_files)])


# Only run this test if zstandard is available.
@pytest.mark.skipif(
not hasattr(conda_package_handling.conda_fmt, "ZSTD_COMPRESS_LEVEL"),
reason="zstandard not available (required by conda_package_handling)",
)
jjerphan marked this conversation as resolved.
Show resolved Hide resolved
def test_transmute(cph_test_file: Path, tmp_path: Path):
(tmp_path / "cph").mkdir(parents=True)
(tmp_path / "mm").mkdir(parents=True)
Expand Down
Loading