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

Optional dependencies support in libsolv #1032

Open
2 tasks done
prsabahrami opened this issue Jan 23, 2025 · 0 comments
Open
2 tasks done

Optional dependencies support in libsolv #1032

prsabahrami opened this issue Jan 23, 2025 · 0 comments

Comments

@prsabahrami
Copy link
Contributor

Checklist

  • I added a descriptive title
  • I searched open requests and couldn't find a duplicate

What is the idea?

To support optional dependencies in libsolv.
Specifically, the details should be similar to the implementation of the feature in rattler for resolvo.

  • The repodata records contain an extra field called extras which are of the below form and indicate the optional dependencies of a package.
"cuda-version-12.5-hd4f0392_3.conda": {
  "depends": [],
  "constrains": [
    "__cuda >=12.1"
  ],
  "license": "LicenseRef-NVIDIA-End-User-License-Agreement",
  "version": "12.5",
  "extras": {
    "with-cudadev": [
      "foo >=4.0.2",
      "bar >=1.2.3"
    ]
  }
}

Why is this needed?

No response

What should happen?

No response

Additional Context

No response

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