gino icon indicating copy to clipboard operation
gino copied to clipboard

Gino 1.1b2 doesn't work on Python 3.10.2 and aiomysql

Open vicctorb2 opened this issue 3 years ago • 0 comments

Gino 1.1b2 doesn't work on Python 3.10.2 and aiomysql

To Reproduce

from gino_starlette import Gino
DATABASE_URL = f"mysql+aiomysql://{DATABASE_USER}:{DATABASE_PASSWORD}@{DATABASE_HOST}:{DATABASE_PORT}/{DATABASE_NAME}"

db = Gino(
    dsn=DATABASE_URL,
    echo=True
)

Actual result

TypeError: As of 3.10, the *loop* parameter was removed from Condition() since it is no longer necessary

Environment:

  • GINO: 1.1.b2
  • Other: Python 3.10.2

Possible reason: incompatible versions of asyncio\python and aiomysql

vicctorb2 avatar Apr 20 '22 13:04 vicctorb2