Skip to content

Client-only installation is broken #120

@rwb27

Description

@rwb27

Describe the bug
When we install without the server extra, the module won't import

python -m venv .venv
.venv/Scripts/activate
pip install .

In Python

import labthings_fastapi  # Fails because there's no `fastapi` installed

Expected behaviour
The module should import, though only labthings_fastapi.client is expected to work.

Additional context
This may be the final push we need to split out a proper client package. Advice welcome on how to coexist two Python packages nicely in one repo, or how best to manage the interdependency.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions