diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-09-16 22:05:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-09-16 22:05:01 +0100 |
commit | cc4618c9ba3d974948ebf340b542d8cb01db2f55 (patch) | |
tree | 125ee67bb9e0d548771cf7b61d04bb1f0dc57687 /dev-python/pretty-yaml/files/pretty-yaml-20.4.0-fix-py3.10.patch | |
parent | 677b7ba5c317778df2ad7e70df94b9b7eec4adbc (diff) |
gentoo resync : 16.09.2021
Diffstat (limited to 'dev-python/pretty-yaml/files/pretty-yaml-20.4.0-fix-py3.10.patch')
-rw-r--r-- | dev-python/pretty-yaml/files/pretty-yaml-20.4.0-fix-py3.10.patch | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/dev-python/pretty-yaml/files/pretty-yaml-20.4.0-fix-py3.10.patch b/dev-python/pretty-yaml/files/pretty-yaml-20.4.0-fix-py3.10.patch deleted file mode 100644 index c2cd44152d1b..000000000000 --- a/dev-python/pretty-yaml/files/pretty-yaml-20.4.0-fix-py3.10.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 707e14bd714e91dc53295393e2c8eea257aced5a Mon Sep 17 00:00:00 2001 -From: Louis Sautier <sautier.louis@gmail.com> -Date: Sun, 8 Aug 2021 13:44:52 +0200 -Subject: [PATCH] Fix tests for Python 3.10: abstract base classes have moved - -As mentioned in the documentation: -"Deprecated since version 3.3, will be removed in version 3.10: Moved -Collections Abstract Base Classes to the collections.abc module. For -backwards compatibility, they continue to be visible in this module through -Python 3.9." ---- - pyaml/tests/dump.py | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/pyaml/tests/dump.py b/pyaml/tests/dump.py -index 882a8e8..e1a93ba 100644 ---- a/pyaml/tests/dump.py -+++ b/pyaml/tests/dump.py -@@ -2,7 +2,8 @@ - from __future__ import unicode_literals, print_function - - import itertools as it, operator as op, functools as ft --from collections import Mapping, OrderedDict, namedtuple -+from collections import OrderedDict, namedtuple -+from collections.abc import Mapping - import os, sys, io, yaml, unittest - - if sys.version_info.major > 2: unicode = str |