anaconda / percy

A tool to work on recipes from aggregate.
BSD 3-Clause "New" or "Revised" License
9 stars 0 forks source link

Revert exclusion of `clang-compiler-activation-feedstock` #124

Closed JeanChristopheMorinPerso closed 6 months ago

JeanChristopheMorinPerso commented 6 months ago

It looks like I went a little bit too crazy on excluding stuff. clang-compiler-activation-feedstock is actually needed to get clang_{target_platform} and friends.

skupr-anaconda commented 6 months ago

If I run percy recipe outdated -s osx-arm64 I get this error:

Checking outdated for subdir osx-arm64
Traceback (most recent call last):
  File "/Users/dev/miniconda3/envs/percy/bin/percy", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/Users/dev/miniconda3/envs/percy/lib/python3.11/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dev/miniconda3/envs/percy/lib/python3.11/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/Users/dev/miniconda3/envs/percy/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dev/miniconda3/envs/percy/lib/python3.11/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dev/miniconda3/envs/percy/lib/python3.11/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dev/miniconda3/envs/percy/lib/python3.11/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dev/miniconda3/envs/percy/lib/python3.11/site-packages/click/decorators.py", line 45, in new_func
    return f(get_current_context().obj, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dev/miniconda3/envs/percy/lib/python3.11/site-packages/percy/commands/recipe.py", line 94, in wrapper_base_options
    return f(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^
  File "/Users/dev/miniconda3/envs/percy/lib/python3.11/site-packages/percy/commands/recipe.py", line 154, in outdated
    defaults_pkgs = percy.repodata.repodata.get_latest_package_list(subdir[0], True)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/dev/miniconda3/envs/percy/lib/python3.11/site-packages/percy/repodata/repodata.py", line 70, in get_latest_package_list
    pkgs_subdir_version = VersionOrder(pkgs_subdir[v["name"]]["version"])  # type: ignore[no-untyped-call]
                                       ~~~~~~~~~~~^^^^^^^^^^^
KeyError: '_anaconda_depends'

Is it something broken? Or are my configurations/installation somehow not well done?

JeanChristopheMorinPerso commented 6 months ago

@skupr-anaconda it seems unrelated to me.