Skip to content

Commit

Permalink
Merge pull request conda#453 from riccardoporreca/feature/452-mamba-f…
Browse files Browse the repository at this point in the history
…ake-env-compatibility

Include "fn" in fake_conda_environment for mamba>=1.4.6 compatibility
  • Loading branch information
maresb authored Jul 15, 2023
2 parents 039a542 + b2791b6 commit cc0e683
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions conda_lock/conda_solver.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ def fake_conda_environment(
"build_number": build_number,
"version": dep.version,
"subdir": path.parent.name,
"fn": path.name,
"depends": [f"{k} {v}".strip() for k, v in dep.dependencies.items()],
}
# mamba requires these to be stringlike so null are not allowed here
Expand Down

0 comments on commit cc0e683

Please sign in to comment.