Skip to content

Resolve "pyCDB fails due to missing pymysql.escape_string"

Closes #1 (closed)

Problem

pyCDB fails due to missing pymysql.escape_string

Analysis

requirements.txt does not specify range of valid version. This, pip will install the latest version (1.0.2). However, the function escape_string() was removed in the version 1.0 (see https://github.com/PyMySQL/PyMySQL/blob/master/CHANGELOG.md)

Solution

  • Request a version 0.10.* (the last compatible version).
  • Avoid adding support files generated by pip -e to GIT.

Test

  • Run pip install -r requirements.txt and run a script containing a line from pyCDB import client.
Edited by Ivo Hanák

Merge request reports

Loading