build: bump pymysql (#20478)

Actual fix for this bandaid fix: https://github.com/frappe/frappe/pull/20475

Keeping pymysql hard pinned until we have better way to get last full
query.
This commit is contained in:
Ankush Menat 2023-03-28 13:04:27 +05:30 committed by GitHub
parent 229dcb3c91
commit 024faff025
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -200,7 +200,7 @@ class MariaDBDatabase(MariaDBConnectionUtil, MariaDBExceptionUtil, Database):
return db_size[0].get("database_size")
def log_query(self, query, values, debug, explain):
self.last_query = query = self._cursor._last_executed
self.last_query = query = self._cursor._executed
self._log_query(query, debug, explain)
return self.last_query

View file

@ -16,7 +16,7 @@ dependencies = [
"Jinja2~=3.1.2",
"Pillow~=9.3.0",
"PyJWT~=2.4.0",
"PyMySQL==1.0.2",
"PyMySQL==1.0.3",
"PyPDF2~=2.1.0",
"PyPika~=0.48.9",
"PyQRCode~=1.2.1",