File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 1
1
import glob
2
2
import logging
3
3
import os
4
- import pprint
5
4
import shutil
6
5
import sys
7
6
import tempfile
@@ -134,10 +133,6 @@ def _print_out():
134
133
from conda_build .api import render
135
134
from conda_build .config import get_or_merge_config
136
135
from conda_build .source import provide
137
- from conda_build .variants import (
138
- get_package_variants ,
139
- list_of_dicts_to_dict_of_lists ,
140
- )
141
136
142
137
# Use conda build to do all the downloading/extracting bits
143
138
config = get_or_merge_config (None )
@@ -151,20 +146,12 @@ def _print_out():
151
146
# try global pinnings
152
147
os .path .join (os .environ ["CONDA_PREFIX" ], "conda_build_config.yaml" )
153
148
]
154
- variants = get_package_variants (recipe_dir , config = config )[0 ]
155
- variants = list_of_dicts_to_dict_of_lists ([variants ])
156
- for key in CONDA_BUILD_SPECIAL_KEYS :
157
- if key in variants :
158
- del variants [key ]
159
- logger .debug (
160
- "conda build src input variants:\n %s" , pprint .pformat (variants )
161
- )
162
149
163
150
md = render (
164
151
recipe_dir ,
152
+ config = config ,
165
153
finalize = False ,
166
154
bypass_env_check = True ,
167
- variants = variants ,
168
155
)
169
156
if not md :
170
157
return None
You can’t perform that action at this time.
0 commit comments