@@ -67,7 +67,7 @@ def parse_command_line(argv):
6767 action = "store_true" ,
6868 help = "search for additional_recipes folder?" ,
6969 )
70-
70+
7171 parser .add_argument (
7272 "-b" ,
7373 "--batch_size" ,
@@ -198,7 +198,9 @@ def add_additional_recipes(args):
198198 print ("Checking if " , name , version , bnumber , " exists" )
199199 skip = False
200200 for repo in repodatas :
201- for _ , pkg in repo .get ("packages" , {}).items ():
201+ repo_pkgs = repo .get ("packages" , {})
202+ repo_pkgs .update (repo .get ("packages.conda" , {}))
203+ for _ , pkg in repo_pkgs .items ():
202204 if (
203205 pkg ["name" ] == name
204206 and pkg ["version" ] == version
@@ -263,8 +265,6 @@ def build_linux_pipeline(
263265 if docker_image is None :
264266 docker_image = "condaforge/linux-anvil-cos7-x86_64"
265267
266- jobs = []
267- job_names = []
268268 prev_batch_keys = []
269269
270270 for i , s in enumerate (stages ):
@@ -319,8 +319,6 @@ def build_osx_pipeline(
319319 if azure_template is None :
320320 azure_template = blurb
321321
322- jobs = []
323- job_names = []
324322 prev_batch_keys = []
325323 for i , s in enumerate (stages ):
326324 stage_name = f"stage_{ i } "
@@ -394,21 +392,13 @@ def build_win_pipeline(stages, trigger_branch, outfile="win.yml", azure_template
394392 "steps" : [
395393 {"name" : "Checkout code" , "uses" : "actions/checkout@v4" },
396394 {
397- "uses" : "conda-incubator/setup-miniconda@v3" ,
395+ "name" : "Setup pixi" ,
396+ "uses" :
"prefix-dev/[email protected] " ,
398397 "with" : {
399- "channels" : "conda-forge" ,
400- "miniforge-variant" : "Mambaforge" ,
401- "miniforge-version" : "latest" ,
402- "use-mamba" : "true" ,
403- "channel-priority" : "true" ,
404- "python-version" : "3.11" ,
405- "activate-environment" : "test" ,
398+ "pixi-version" : "v0.39.4" ,
399+ "cache" : "true" ,
406400 },
407401 },
408- {
409- "run" : "mamba install -c conda-forge -n base --yes --quiet conda-build pip mamba ruamel.yaml anaconda-client boa" ,
410- "name" : "Install conda-build, boa and activate environment" ,
411- },
412402 {
413403 "uses" : "egor-tensin/cleanup-path@v4" ,
414404 "with" : {
@@ -571,7 +561,9 @@ def main():
571561
572562 if args .platform == "osx-64" :
573563 build_osx_pipeline (
574- stages , args .trigger_branch , script = azure_osx_script ,
564+ stages ,
565+ args .trigger_branch ,
566+ script = azure_osx_script ,
575567 )
576568
577569 if args .platform == "osx-arm64" :
0 commit comments