diff options
author | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-03-13 23:18:37 +0800 |
---|---|---|
committer | Sebastian Thiel <sebastian.thiel@icloud.com> | 2021-03-13 23:18:37 +0800 |
commit | cbddc30a4d5c37feabc33d4c4b161ec8e5e0bf7e (patch) | |
tree | c5c7b62e34a0a0d9fb81fcc12f565189ed5888d9 | |
parent | 48c1e9b430cc84366f2c29bb0006e9593659835e (diff) | |
download | gitpython-cbddc30a4d5c37feabc33d4c4b161ec8e5e0bf7e.tar.gz |
Set an end-date for python 3.5 support
-rw-r--r-- | doc/source/changes.rst | 5 | ||||
-rw-r--r-- | git/cmd.py | 4 |
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 ====== @@ -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)): |