rust/cargo-c: update to 0.10.7+cargo-0.84.0
[oi-userland.git] / components / python / uvicorn / patches / 02-no-a2wsgi.patch
blob86ffcf285076d54cc34d1c63949cdd59ca2afd7e
1 We have no a2wsgi packaged yet.
3 --- uvicorn-0.31.1/requirements.txt.orig
4 +++ uvicorn-0.31.1/requirements.txt
5 @@ -5,7 +5,6 @@
6 h11 @ git+https://github.com/python-hyper/h11.git@master
8 # Explicit optionals
9 -a2wsgi==1.10.7
10 wsproto==1.2.0
11 websockets==13.1
13 --- uvicorn-0.31.1/tests/middleware/test_wsgi.py.orig
14 +++ uvicorn-0.31.1/tests/middleware/test_wsgi.py
15 @@ -4,7 +4,6 @@
16 import sys
17 from typing import AsyncGenerator, Callable
19 -import a2wsgi
20 import httpx
21 import pytest
23 @@ -52,7 +51,7 @@
24 return [output]
27 -@pytest.fixture(params=[wsgi._WSGIMiddleware, a2wsgi.WSGIMiddleware])
28 +@pytest.fixture(params=[wsgi._WSGIMiddleware])
29 def wsgi_middleware(request: pytest.FixtureRequest) -> Callable:
30 return request.param