Undocumented breaking change in 0.36.0 (config.setup_event_loop missing) #2706
-
|
I just tried updating, and it looks like between versions I realize the project is still below version 1.0, but please keep in mind that downstream users may rely on publicly exposed functions. Removing them without notice can cause unexpected breakage. It would be very helpful if such changes were documented in the changelog, or, since you’re following semver, released as a major version increment instead. For anyone having the same issue it was renamed: |
Beta Was this translation helpful? Give feedback.
Replies: 7 comments 6 replies
-
|
For those downstream packages that do not pin uvicorn (I have one), all published versions of them will be affected. I am wondering can we add |
Beta Was this translation helpful? Give feedback.
-
|
How were you relying on that method? |
Beta Was this translation helpful? Give feedback.
-
|
I've implemented this: http://github.com/Kludex/uvicorn/pull/2709, just to point people to this discussion. |
Beta Was this translation helpful? Give feedback.
-
|
Skypilot API server was using this private method and were apparently caught off-guard with the change, since now the API server is crashing for me. |
Beta Was this translation helpful? Give feedback.
-
|
https://github.com/Kludex/uvicorn-worker |
Beta Was this translation helpful? Give feedback.
-
|
We were bitten by this change (not in production, happily) because we were making use of uvicorn-worker to run the ASGI application service. The solution in our case was to upgrade uvicorn-worker from 0.3.0 to 0.4.0 (which we initially failed to do when upgrading uvicorn to 0.36.0). |
Beta Was this translation helpful? Give feedback.
-
|
Running |
Beta Was this translation helpful? Give feedback.
I've implemented this: http://github.com/Kludex/uvicorn/pull/2709, just to point people to this discussion.