Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dependency gets wrongly munged #68

Open
Midnighter opened this issue Apr 9, 2021 · 0 comments
Open

Dependency gets wrongly munged #68

Midnighter opened this issue Apr 9, 2021 · 0 comments

Comments

@Midnighter
Copy link

Hi,

I'm trying to press a package which has as a dependency ruamel.yaml. The dependency name seems to be wrongly transformed, at least I get the following KeyError in the process:

conda press --subdir linux-64 --skip-python --fatten cobra=0.21
Converting cobra=0.21 tree to wheels
Collecting package metadata (repodata.json): done
Solving environment: done
Traceback (most recent call last):
  File "~/.local/share/miniconda3/envs/dfba/bin/conda-press", line 4, in <module>
    main()
  File "~/.local/share/miniconda3/envs/dfba/lib/python3.8/site-packages/conda_press/main.xsh", line 77, in main
    run_convert_wheel(ns.files, config)
  File "~/.local/share/miniconda3/envs/dfba/lib/python3.8/site-packages/conda_press/main.xsh", line 84, in run_convert_wheel
    seen = artifact_ref_dependency_tree_to_wheels(fname, config=config)
  File "~/.local/share/miniconda3/envs/dfba/lib/python3.8/site-packages/conda_press/condatools.xsh", line 785, in artifact_ref_dependency_tree_to_wheels
    direct_all_deps = all_deps(names_recs[direct_name], names_recs)
KeyError: 'ruamel'

I have tried with both --exclude-deps ruamel or --exclude-deps ruamel.yaml but I get the same error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant