Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Compatibility with Django 2.0 #610

Closed
@alasdairnicol

Description

@alasdairnicol

Django 2.0 (currently alpha) requires mysqlclient 1.3.3 or above (source code).

version = Database.version_info
if version < (1, 3, 3):
    raise ImproperlyConfigured("mysqlclient 1.3.3 or newer is required; you have %s" % Database.__version__)

The shim in PyMySQL is now too low.

# we include a doctored version_info here for MySQLdb compatibility
version_info = (1,2,6,"final",0)

Is it possible to increase the shim to 1.3.3 or later so that Django doesn't complain? I'm not a user of PyMySQL so I'm not aware of the implications of making this change, I just saw this question on Stack Overflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions