From c4c7dc2a51901b1383fb068e7d0c58ea3d0e5ca0 Mon Sep 17 00:00:00 2001 From: "H. Vetinari" Date: Wed, 7 Feb 2024 11:33:58 +0100 Subject: [PATCH] ensure we can parse recipes containing stdlib-jinja --- conda_forge_tick/utils.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conda_forge_tick/utils.py b/conda_forge_tick/utils.py index 6db8babbff..748a3a43aa 100644 --- a/conda_forge_tick/utils.py +++ b/conda_forge_tick/utils.py @@ -34,6 +34,7 @@ PACKAGE_STUBS = [ "_compiler_stub", + "_stdlib_stub", "subpackage_stub", "compatible_pin_stub", "cdt_stub", @@ -43,6 +44,7 @@ os=os, environ=defaultdict(str), compiler=lambda x: x + "_compiler_stub", + stdlib=lambda x: x + "_stdlib_stub", pin_subpackage=lambda *args, **kwargs: args[0], pin_compatible=lambda *args, **kwargs: args[0], cdt=lambda *args, **kwargs: "cdt_stub", @@ -61,6 +63,7 @@ def _munge_dict_repr(d): os=os, environ=defaultdict(str), compiler=lambda x: x + "_compiler_stub", + stdlib=lambda x: x + "_stdlib_stub", # The `max_pin, ` stub is so we know when people used the functions # to create the pins pin_subpackage=lambda *args, **kwargs: _munge_dict_repr(