Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
vicctorb2 opened this issue Apr 20, 2022 · 0 comments
Open

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

vicctorb2 opened this issue Apr 20, 2022 · 0 comments
Labels
bug Describes a bug in the system.

Comments

@vicctorb2
Copy link

vicctorb2 commented Apr 20, 2022

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 vicctorb2 added the bug Describes a bug in the system. label Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Describes a bug in the system.
Projects
None yet
Development

No branches or pull requests

1 participant