Thanks for the report @freefall and @einarbmag!
I'll check it soon. Meanwhile, here's the summary of the current state and the next things to try.
The latest version of Prodigy uses FastAPI with Uvicorn. That runs with ASGI instead of WSGI.
Uvicorn has a setting to use WSGI: https://www.uvicorn.org/settings/#application-interface, I still have to check how that would interact with the rest of the components.
The next option is that Uvicorn also has a way to run through Gunicorn, and that might also allow using WSGI through Gunicorn.
Meanwhile, Prodigy comes with the uncompiled source for app.py
, that's where the API lives, and it has an explicit call to uvicorn.run()
, so if you want, you can also take a look and see if you find a solution before I do.