Skip to content

Commit cbddc30

Browse files
committed
Set an end-date for python 3.5 support
1 parent 48c1e9b commit cbddc30

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

doc/source/changes.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
Changelog
33
=========
44

5+
3.1.15 (UNRELEASED)
6+
======
7+
8+
* add deprectation warning for python 3.5
9+
510
3.1.14
611
======
712

git/cmd.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -908,8 +908,8 @@ def transform_kwargs(self, split_single_char_options=True, **kwargs):
908908
# order.
909909
if sys.version_info[:2] < (3, 6):
910910
kwargs = OrderedDict(sorted(kwargs.items(), key=lambda x: x[0]))
911-
warnings.warn("Python 3.5 support is deprecated. It does not preserve the order\n" +
912-
"for key-word arguments. Thus they will be sorted!!")
911+
warnings.warn("Python 3.5 support is deprecated and will be removed 2021-09-05.\n" +
912+
"It does not preserve the order for key-word arguments and enforce lexical sorting instead.")
913913
args = []
914914
for k, v in kwargs.items():
915915
if isinstance(v, (list, tuple)):

0 commit comments

Comments
 (0)