From 0a4d5583f86f0752712158a77ca43049ce29ea74 Mon Sep 17 00:00:00 2001 From: Ryan Dale Date: Sun, 5 Jan 2025 16:58:21 -0500 Subject: [PATCH] fix: don't decode (#1030) Looks like we don't need the `.decode('utf8')` anymore; this line was originally added in 2017 so it was probably using py27 or something at the time. --- bioconda_utils/bioconductor_skeleton.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bioconda_utils/bioconductor_skeleton.py b/bioconda_utils/bioconductor_skeleton.py index 1c91f32f1b..e496218470 100755 --- a/bioconda_utils/bioconductor_skeleton.py +++ b/bioconda_utils/bioconductor_skeleton.py @@ -1032,7 +1032,7 @@ def sub_placeholders(x): for k, v in self._cb3_build_reqs.items(): d['requirements']['build'].append(k + '_' + "PLACEHOLDER") - rendered = pyaml.dumps(d, width=1e6).decode('utf-8') + rendered = pyaml.dumps(d, width=1e6) #.decode('utf-8') # decoding seems no longer needed # Add Suggests: and SystemRequirements: renderedsplit = rendered.split('\n')