Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

pymysql tests only work with pymysql<=1.0 #330

Description

@mweinelt

The utils module is gone.

ImportError while importing test module '/build/source/tests/test_connection_options.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
/nix/store/q6gfck5czr67090pwm53xrdyhpg6bx67-python3-3.8.9/lib/python3.8/importlib/__init__.py:127: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_connection_options.py:5: in <module>
    from databases.backends.mysql import MySQLBackend
/nix/store/y9k80z54dx8ykbzn4f9jwzzhh9sm45hl-python3.8-databases-0.2.6/lib/python3.8/site-packages/databases/backends/mysql.py:6: in <module>
    import aiomysql
/nix/store/v1vmdl62hh7d4rd9g6m6ibk34761dasc-python3.8-aiomysql-0.0.21/lib/python3.8/site-packages/aiomysql/__init__.py:32: in <module>
    from .connection import Connection, connect
/nix/store/v1vmdl62hh7d4rd9g6m6ibk34761dasc-python3.8-aiomysql-0.0.21/lib/python3.8/site-packages/aiomysql/connection.py:19: in <module>
    from pymysql.util import byte2int, int2byte
E   ModuleNotFoundError: No module named 'pymysql.util'

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions