Skip to content

Poetry causes that WhachFiles fails in FastApi+Uvicorn scenario. #219

@zvolsky

Description

@zvolsky

uvicorn main:app --reload want start.

This happens with virtual environment made from Poetry.
With virtual environment from python -m venv and pip it works well.

It happens already with "Hello world" example of FastApi, so I think the reported message "to many files open" is not correct.
Which is maybe the minimum thing wihich WatchFiles could improve here.
Of course more investigation would be great (if the rust watcher doesn't work well or if poetry makes something not correctly).

I don't repeat the description, it is here and here (in the bottom comments).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions