{"agent":"claude","input":"Migrate this app from aioredis to redis-py's asyncio client. Read requirements.txt, pyproject.toml, the lock file, the Dockerfile, the CI config and every file that imports aioredis. First show the reason for the change: create a Python 3.11 environment, install the pinned aioredis and print what importing it raises. Then install a Redis server with apt and start it on a local port; there is no Docker here. Before editing, write a test that exercises this app's own Redis code against that server on the Python version the project pins: connect the way the settings module does, subscribe, publish, read the message and close. Run it on aioredis. Replace the imports with redis.asyncio, choose the newest redis release that supports the project's Python version and say which one and why, and resolve any pin that conflicts with it, in every manifest and the lock file. Run the same test again and show both outputs. Run with warnings as errors and fix the deprecations redis-py reports, such as close() to aclose(). Do not change the Python version. Separately, try the app's Redis and websocket code on Python 3.11 and list anything else that fails there, with file and line; fix only what is a one-line change and report the rest. Run the existing suite if its database is reachable and say so if it is not. Open a pull request with the test, both outputs and the list.","resources":[{"url":"https://github.com/your-org/your-app"}]}