-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Test failures with MySQL 5.7 in Ubuntu Xenial and Yakkety #478
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
Comments
thanks |
The code on line 470 has the same issue, though (AsText and AsBinary are both deprecated) |
@ltangvald I'm sorry about it. I don't want to make a new release only for test failure on certain environment, |
@methane For the Ubuntu package we can fix it with a patch in the packaging scripts (which refers to this bug so we can keep track of when it's fixed upstream), so you don't need to rush it :) |
At https://github.com/PyMySQL/PyMySQL/blob/master/pymysql/tests/test_issues.py#L460 (and 470)
the test checks for python version > 3.2 and MySQL version to see if it should expect the deprecation warning 5.7 will give for the statement. However, this warning is also thrown when running the test with python 2.7, causing the test to fail when building the python-pymysql package in Ubuntu Xenial and Yakkety.
Ubuntu Launchpad bug: https://bugs.launchpad.net/ubuntu/+source/python-pymysql/+bug/1592664
Suggested fix
Simply removing the check on python version seems to fix the issue.
The text was updated successfully, but these errors were encountered: