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

@samj

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions