Replace tuswsgi with tuspyserver#21201
Conversation
|
It looks like fastapi is still installed (in addition to fastapi-slim) though. May need to patch tuspyserver upstream? |
Actually, I think you just forgot to add to |
|
Hmm, let me check what the update script did. However, are we really on the right track with fastapi-slim? It seems that a lot of external packages want to bring fastapi, which has caused mayhem in our production venv already |
Actually we don't need to use fastapi-slim any more, since 0.112.0 the 2 are equivalent and the ~30 extra dependencies can be installed with |
|
Are my eyes seeing ASGI middleware for TUS? I commented on #20235:
This would allow all endpoints to be migrated to FastAPI I guess 🎉. |
|
Thanks! There's still https://github.com/galaxyproject/galaxy/pull/21201/files#r2477632100 pending, LGTM otherwise. |
|
Galaxy package tests failure are relevant, you need to update the web_apps package requirements. |
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
|
This PR was merged without a "kind/" label, please correct. |
This should resolve #21031 ... not having a middleware implementation of tus should also be more performant.
How to test the changes?
(Select all options that apply)
License