Skip to content

Commit

Permalink
Merge pull request #19450 from bernt-matthias/mulled_build_tool_nover…
Browse files Browse the repository at this point in the history
…sion_fix

[24.2] `mulled-build-tool` fix for packages wo version
  • Loading branch information
nsoranzo authored Jan 23, 2025
2 parents d1ea6dd + 7263e0a commit 50a8457
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/tool_util/deps/mulled/mulled_build_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def requirements_to_mulled_targets(requirements) -> List["CondaTarget"]:
Only package requirements are retained.
"""
package_requirements = [r for r in requirements if r.type == "package"]
target_str = ",".join([f"{r.name}={r.version}" for r in package_requirements])
target_str = ",".join(f"{r.name}={r.version}" if r.version else r.name for r in package_requirements)
targets = target_str_to_targets(target_str)
return targets

Expand Down

0 comments on commit 50a8457

Please sign in to comment.