Skip to content

Commit

Permalink
ensure we can parse recipes containing stdlib-jinja
Browse files Browse the repository at this point in the history
  • Loading branch information
h-vetinari committed Feb 7, 2024
1 parent 32389fb commit c4c7dc2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions conda_forge_tick/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@

PACKAGE_STUBS = [
"_compiler_stub",
"_stdlib_stub",
"subpackage_stub",
"compatible_pin_stub",
"cdt_stub",
Expand All @@ -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",
Expand All @@ -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(
Expand Down

0 comments on commit c4c7dc2

Please sign in to comment.