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

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

Closed
zvolsky opened this issue Mar 15, 2023 · 1 comment
Closed

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

zvolsky opened this issue Mar 15, 2023 · 1 comment

Comments

@zvolsky
Copy link

zvolsky commented Mar 15, 2023

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).

@samuelcolvin
Copy link
Owner

Let start with one issue and create one here if we identify that this is a problem with watchfiles, not poetry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants