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

Add support for the UniDep package management tool? #458

Open
jherland opened this issue Sep 19, 2024 · 0 comments
Open

Add support for the UniDep package management tool? #458

jherland opened this issue Sep 19, 2024 · 0 comments
Labels
integration Integrating FawltyDeps with other tools needs-real-projects-test This issue is more easily tackled once we have a project in `real_project` that illustrate the issue P3 minor: not priorized parsing-deps research-needed type: feature request

Comments

@jherland
Copy link
Member

Another package management tool in the Conda + Pip space that I've come across is UniDep ("Unified Conda and Pip Dependency Management"): https://github.com/basnijholt/unidep. I am unsure how much it is used, and if there is any demand for supporting it with FawltyDeps. Supporting it with FawltyDeps should be relatively straightforward:

  • It is configured either via:
    • a [tool.unidep] section in pyproject.toml that contains a dependencies table like this:
      [tool.unidep]
      dependencies = [
          "some-package >=1:unix",
          "another-package:win",
          "special-package:osx64",
          { pip = "cirq:macos win", conda = "cirq:linux" },
      ]
    • or a requirements.yaml file with a similar dependencies table:
      dependencies:
        - some-package >=1  # [unix]
        - another-package   # [win]
        - special-package   # [osx64]
        - pip: cirq         # [macos win]
          conda: cirq       # [linux]
  • I'm not 100% sure what a UniDep environment looks like, but their FAQ describes it as a wrapper for pip + conda: "UniDep uses pip and conda under the hood to install dependencies". Therefore I suspect that existing support for such environments in FawltyDeps should be sufficient.
@jherland jherland added P3 minor: not priorized type: feature request research-needed parsing-deps needs-real-projects-test This issue is more easily tackled once we have a project in `real_project` that illustrate the issue integration Integrating FawltyDeps with other tools labels Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration Integrating FawltyDeps with other tools needs-real-projects-test This issue is more easily tackled once we have a project in `real_project` that illustrate the issue P3 minor: not priorized parsing-deps research-needed type: feature request
Projects
None yet
Development

No branches or pull requests

1 participant