Skip to content

Commit 82301a3

Browse files
authored
Drop Django 1.11 support (#411)
1 parent 3fb4eb1 commit 82301a3

File tree

2 files changed

+7
-16
lines changed

2 files changed

+7
-16
lines changed

Diff for: .travis.yml

+7-9
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

Diff for: MySQLdb/cursors.py

-7
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)