Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 82301a3

Browse filesBrowse files
authored
Drop Django 1.11 support (PyMySQL#411)
1 parent 3fb4eb1 commit 82301a3
Copy full SHA for 82301a3

File tree

Expand file treeCollapse file tree

2 files changed

+7
-16
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+7
-16
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+7-9Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ after_success:
3737

3838
matrix:
3939
include:
40-
- &django_1_11
41-
name: "Django 1.11 test (Python 3.7)"
40+
- &django_2_2
41+
name: "Django 2.2 test (Python 3.5)"
4242
env:
43-
- DJANGO_VERSION=1.11.26
43+
- DJANGO_VERSION=2.2.7
4444
python: "3.5"
4545
install:
4646
- pip install -U pip
@@ -59,11 +59,9 @@ matrix:
5959
- cd django-${DJANGO_VERSION}/tests/
6060
- ./runtests.py --parallel=1 --settings=test_mysql
6161

62-
- &django_2_2
63-
<<: *django_py27
64-
name: "Django 2.2 test (Python 3.8)"
65-
python: "3.8"
66-
env:
67-
- DJANGO_VERSION=2.2.7
62+
#- &django_3_0
63+
# <<: *django_2_2
64+
# name: "Django 3.0 test (Python 3.8)"
65+
# python: "3.8"
6866

6967
# vim: sw=2 ts=2 sts=2

‎MySQLdb/cursors.py

Copy file name to clipboardExpand all lines: MySQLdb/cursors.py
-7Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,13 +62,6 @@ def __init__(self, connection):
6262
self.arraysize = 1
6363
self._executed = None
6464

65-
# XXX THIS IS GARBAGE: While this is totally garbage and private,
66-
# Django 1.11 depends on it. And they don't fix it because
67-
# they are in security-only fix mode.
68-
# So keep this garbage for now. This will be removed in 1.5.
69-
# See PyMySQL/mysqlclient-python#303
70-
self._last_executed = None
71-
7265
self.lastrowid = None
7366
self.messages = []
7467
self._result = None

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.