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

Log the solve command (DEBUG) #662

Merged
merged 1 commit into from
Sep 3, 2024
Merged
Changes from all 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 conda_lock/conda_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import logging
import os
import pathlib
import shlex
import subprocess
import sys
import tempfile
Expand Down Expand Up @@ -340,6 +341,7 @@ def solve_specs_for_arch(
args.extend(_get_conda_flags(channels=channels, platform=platform))
args.extend(specs)
logger.info("%s using specs %s", platform, specs)
logger.debug(f"Running command {shlex.join(args)}")
proc = subprocess.run( # noqa: UP022 # Poetry monkeypatch breaks capture_output
[str(arg) for arg in args],
env=conda_env_override(platform),
Expand Down
Loading