From cbddc30a4d5c37feabc33d4c4b161ec8e5e0bf7e Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sat, 13 Mar 2021 23:18:37 +0800 Subject: Set an end-date for python 3.5 support --- git/cmd.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'git') 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)): -- cgit v1.2.1