Python 3.13 should work with Fastapi but you have it version pinned to a quite old release - same for pydantic. Py 3.13 may not work with (very) old packages. Especially old fastapi with latest asyncio would conflict in my mind...
Consider using/trying more recent versions of (all?) packages.