Skip to content

Commit

Permalink
Merge pull request #662 from maresb/log-solve-command
Browse files Browse the repository at this point in the history
Log the solve command (DEBUG)
  • Loading branch information
maresb authored Sep 3, 2024
2 parents b34c621 + 26f0f6f commit 090467e
Showing 1 changed file with 2 additions and 0 deletions.
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 @@ -337,6 +338,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

0 comments on commit 090467e

Please sign in to comment.