summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)):