Info2: << Package: a2wsgi-py%type_pkg[python] Version: 1.10.8 Revision: 1 Description: Convert WSGI app to/from ASGI app License: BSD # Free to modify, update, and take over Maintainer: Hanspeter Niederstrasser Type: python (3.8 3.9 3.10) Depends: << python%type_pkg[python] << BuildDepends: << bootstrap-modules-py%type_pkg[python], pdm-backend-py%type_pkg[python] << Source: https://files.pythonhosted.org/packages/source/a/a2wsgi/a2wsgi-%v.tar.gz Source-Checksum: SHA256(fc00bab1fc792f89a8ce1b491b2ad1717b145d8caefb75d0a8586946edc97cb2) CompileScript: << PYTHONPATH=%p/share/bootstrap-modules-python%type_pkg[python] %p/bin/python%type_raw[python] -m build --wheel --no-isolation --skip-dependency-check << InfoTest: << # circular dependencies: This is a TDep of uvicorn, which needs httpx, and this also needs httpx. # keep httpx as the more important. # baize doesn't work with latest httpx and is only a Tdep here # baize-py%type_pkg[python], TestDepends: << pytest-py%type_pkg[python] (>= 7.0.1), pytest-asyncio-py%type_pkg[python] (>= 0.11.0), pytest-cov-py%type_pkg[python] (>= 3.0.0), starlette-py%type_pkg[python] << TestScript: << #!/bin/sh -ev if [ -f %p/lib/python%type_raw[python]/site-packages/httpx/__init__.py -a -f %p/lib/python%type_raw[python]/site-packages/uvicorn/__init__.py ]; then %p/bin/python%type_raw[python] -m pytest -p no:relaxed -p no:randomly -vv -k "not test_baize_stream_response" || exit 2 else echo "Need httpx-py%type_pkg[python] and uvicorn-py%type_pkg[python] in order to run tests. Exiting" fi << << InstallScript: << PYTHONPATH=%p/share/bootstrap-modules-python%type_pkg[python] %p/bin/python%type_raw[python] -m installer --destdir %d dist/*.whl << DocFiles: LICENSE README.md Homepage: https://github.com/abersheeran/a2wsgi DescDetail: << Convert WSGI app to ASGI app or ASGI app to WSGI app. Pure Python. Only depend on the standard library. Compared with other converters, the advantage is that a2wsgi will not accumulate the requested content or response content in the memory, so you don't have to worry about the memory limit caused by a2wsgi. This problem exists in converters implemented by uvicorn/startlette or hypercorn. << <<