summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <sebastian.thiel@icloud.com>2021-03-13 23:18:37 +0800
committerSebastian Thiel <sebastian.thiel@icloud.com>2021-03-13 23:18:37 +0800
commitcbddc30a4d5c37feabc33d4c4b161ec8e5e0bf7e (patch)
treec5c7b62e34a0a0d9fb81fcc12f565189ed5888d9
parent48c1e9b430cc84366f2c29bb0006e9593659835e (diff)
downloadgitpython-cbddc30a4d5c37feabc33d4c4b161ec8e5e0bf7e.tar.gz
Set an end-date for python 3.5 support
-rw-r--r--doc/source/changes.rst5
-rw-r--r--git/cmd.py4
2 files changed, 7 insertions, 2 deletions
diff --git a/doc/source/changes.rst b/doc/source/changes.rst
index 85f9ef1b..aacf36a4 100644
--- a/doc/source/changes.rst
+++ b/doc/source/changes.rst
@@ -2,6 +2,11 @@
Changelog
=========
+3.1.15 (UNRELEASED)
+======
+
+* add deprectation warning for python 3.5
+
3.1.14
======
diff --git a/git/cmd.py b/git/cmd.py
index 46d809c7..ec630d93 100644
--- a/git/cmd.py
+++ b/git/cmd.py
@@ -908,8 +908,8 @@ class Git(LazyMixin):
# order.
if sys.version_info[:2] < (3, 6):
kwargs = OrderedDict(sorted(kwargs.items(), key=lambda x: x[0]))
- warnings.warn("Python 3.5 support is deprecated. It does not preserve the order\n" +
- "for key-word arguments. Thus they will be sorted!!")
+ warnings.warn("Python 3.5 support is deprecated and will be removed 2021-09-05.\n" +
+ "It does not preserve the order for key-word arguments and enforce lexical sorting instead.")
args = []
for k, v in kwargs.items():
if isinstance(v, (list, tuple)):