diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-12-03 21:00:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-12-03 21:00:44 +0000 |
commit | 9bf71d942b8f2e9c367ac95320da8d0d0593e19f (patch) | |
tree | e324566752ad7ba1f0411723c7144174a49018ea /dev-python/numpy/files | |
parent | 529abfa74a08ae5099db9780bcdf8250aa52ecb6 (diff) |
gentoo auto-resync : 03:12:2022 - 21:00:43
Diffstat (limited to 'dev-python/numpy/files')
-rw-r--r-- | dev-python/numpy/files/numpy-1.22.4-py311.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/dev-python/numpy/files/numpy-1.22.4-py311.patch b/dev-python/numpy/files/numpy-1.22.4-py311.patch deleted file mode 100644 index 7af6431a5892..000000000000 --- a/dev-python/numpy/files/numpy-1.22.4-py311.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 42f3203a45231b338cf1a4c77fe81ca4b7fef4ef Mon Sep 17 00:00:00 2001 -From: Bas van Beek <43369155+BvB93@users.noreply.github.com> -Date: Fri, 20 May 2022 02:42:37 +0200 -Subject: [PATCH] TST,TYP: Fix a python 3.11 failure for the `GenericAlias` - tests - ---- - numpy/typing/tests/test_generic_alias.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/numpy/typing/tests/test_generic_alias.py b/numpy/typing/tests/test_generic_alias.py -index 52d3deae4..267230a95 100644 ---- a/numpy/typing/tests/test_generic_alias.py -+++ b/numpy/typing/tests/test_generic_alias.py -@@ -20,11 +20,11 @@ - if sys.version_info >= (3, 9): - DType_ref = types.GenericAlias(np.dtype, (ScalarType,)) - NDArray_ref = types.GenericAlias(np.ndarray, (Any, DType_ref)) -- FuncType = Callable[[Union[_GenericAlias, types.GenericAlias]], Any] -+ FuncType = Callable[["_GenericAlias | types.GenericAlias"], Any] - else: - DType_ref = Any - NDArray_ref = Any -- FuncType = Callable[[_GenericAlias], Any] -+ FuncType = Callable[["_GenericAlias"], Any] - - GETATTR_NAMES = sorted(set(dir(np.ndarray)) - _GenericAlias._ATTR_EXCEPTIONS) - --- -2.35.1 - |