From 6a5359a8ea3d9f1e26a8f194ca05d659baa93548 Mon Sep 17 00:00:00 2001 From: Marcel Bargull Date: Fri, 26 Jan 2024 08:22:42 +0100 Subject: [PATCH] Remove rstrip from package_record_to_requirements The replaced code did not rstrip, so let us keep it that way for now. Signed-off-by: Marcel Bargull --- conda_build/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conda_build/utils.py b/conda_build/utils.py index b1cd33608f..da21c54b51 100644 --- a/conda_build/utils.py +++ b/conda_build/utils.py @@ -2199,4 +2199,4 @@ def samefile(path1: Path, path2: Path) -> bool: def package_record_to_requirement(prec: PackageRecord) -> str: - return f"{prec.name} {prec.version} {prec.build}".rstrip() + return f"{prec.name} {prec.version} {prec.build}"