Skip to content
This repository was archived by the owner on Jul 15, 2024. It is now read-only.
This repository was archived by the owner on Jul 15, 2024. It is now read-only.

Dependency versions should not be required #8

Description

@samj

We should be able to specify a dependency (e.g., airllm) without needing to arbitrarily specify a version (e.g., 2.8).

Currently when we specify a (Python) dependency, we must include a version:

        "python": [
            {
                "id": "airllm",
                "name": "AirLLM",
                "version": ">=2.8"
            }

If we don't, the backend throws exceptions:

  File "paios/backend/api.py", line 70, in <module>
    version_requirement = dependency['version']
                          ~~~~~~~~~~^^^^^^^^^^^
KeyError: 'version'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions