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

features using wrong datatype: scalar string instead of list? #3341

Closed
tomashek opened this issue Aug 24, 2016 · 2 comments
Closed

features using wrong datatype: scalar string instead of list? #3341

tomashek opened this issue Aug 24, 2016 · 2 comments
Labels
locked [bot] locked due to inactivity

Comments

@tomashek
Copy link

I have not had the chance to see if this is an actual bug, but it looks very suspicious so I wanted to report it.

Features are represented as a list in meta.yaml:

build:
    features:
        - intel
        - vc9

..but they end up in the index.json metadata file as a scalar string. Dependencies are retained as a list in the json:

"depends": [
    "intelpython",
    "vc"
  ],
  "features": "intel vc9",

I haven't dug into the code that uses "features" to see if this is a real problem, but if they are to be treated as a list, I would think they would simply be kept as a list.

@kalefranz
Copy link
Contributor

Completely agree that this was an unfortunate design decision. Really too late now to change it though.

@github-actions
Copy link

Hi there, thank you for your contribution to Conda!

This issue has been automatically locked since it has not had recent activity after it was closed.

Please open a new issue if needed.

@github-actions github-actions bot added the locked [bot] locked due to inactivity label Oct 14, 2021
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
locked [bot] locked due to inactivity
Projects
None yet
Development

No branches or pull requests

2 participants