diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-21 23:14:26 +0100 |
commit | 7c59acba5699c9c58090a7a738669669a7307023 (patch) | |
tree | d51d27d020895a6b7a3298d9d1b9846c1fcb59a0 /dev-python/future/files/future-0.18.2-py3.10.patch | |
parent | e2db47eaae00ec33f8971db44b68645c5d3b9590 (diff) |
gentoo resync : 21.08.2021
Diffstat (limited to 'dev-python/future/files/future-0.18.2-py3.10.patch')
-rw-r--r-- | dev-python/future/files/future-0.18.2-py3.10.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/dev-python/future/files/future-0.18.2-py3.10.patch b/dev-python/future/files/future-0.18.2-py3.10.patch new file mode 100644 index 000000000000..65cbc8e7a40d --- /dev/null +++ b/dev-python/future/files/future-0.18.2-py3.10.patch @@ -0,0 +1,29 @@ +From ca1362a4250b7124d9ae03506eb80a767f06e282 Mon Sep 17 00:00:00 2001 +From: Arthur Zamarin <arthurzam@gentoo.org> +Date: Fri, 20 Aug 2021 10:15:59 +0300 +Subject: [PATCH] Fix for Python3.10 + +Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> +--- + src/future/moves/test/support.py | 5 +++++ + 1 file changed, 5 insertions(+) + +diff --git a/src/future/moves/test/support.py b/src/future/moves/test/support.py +index e9aa0f4..4ae2ffd 100644 +--- a/src/future/moves/test/support.py ++++ b/src/future/moves/test/support.py +@@ -3,6 +3,11 @@ from future.standard_library import suspend_hooks + from future.utils import PY3 + + if PY3: ++ try: ++ from test.support.os_helper import * ++ from test.support.warnings_helper import * ++ except ImportError: ++ pass + from test.support import * + else: + __future_module__ = True +-- +2.33.0 + |