Skip to content

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

Description

@vicctorb2

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugDescribes a bug in the system.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions