From 9d4304fb973773c5220a122e88828fa4e2be298b Mon Sep 17 00:00:00 2001 From: Henrik Grimler Date: Mon, 30 Aug 2021 21:38:02 +0200 Subject: [PATCH] python: remove fix-GenericAlias patch (#7433) It does not seem to be necessary any more, and it causes issues: https://github.com/termux/termux-packages/issues/7432 --- packages/python/build.sh | 2 +- packages/python/fix-GenericAlias.patch | 13 ------------- 2 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 packages/python/fix-GenericAlias.patch diff --git a/packages/python/build.sh b/packages/python/build.sh index 1233ebd778..e849ca336a 100644 --- a/packages/python/build.sh +++ b/packages/python/build.sh @@ -4,7 +4,7 @@ TERMUX_PKG_LICENSE="PythonPL" TERMUX_PKG_MAINTAINER="@termux" _MAJOR_VERSION=3.9 TERMUX_PKG_VERSION=${_MAJOR_VERSION}.6 -TERMUX_PKG_REVISION=4 +TERMUX_PKG_REVISION=5 TERMUX_PKG_SRCURL=https://www.python.org/ftp/python/${TERMUX_PKG_VERSION}/Python-${TERMUX_PKG_VERSION}.tar.xz TERMUX_PKG_SHA256=397920af33efc5b97f2e0b57e91923512ef89fc5b3c1d21dbfc8c4828ce0108a TERMUX_PKG_DEPENDS="gdbm, libandroid-support, libbz2, libcrypt, libffi, liblzma, libsqlite, ncurses, ncurses-ui-libs, openssl, readline, zlib" diff --git a/packages/python/fix-GenericAlias.patch b/packages/python/fix-GenericAlias.patch deleted file mode 100644 index 27d7cde496..0000000000 --- a/packages/python/fix-GenericAlias.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/Lib/_collections_abc.py b/Lib/_collections_abc.py -index b6ecf8e..73fa666 100644 ---- a/Lib/_collections_abc.py -+++ b/Lib/_collections_abc.py -@@ -413,7 +413,7 @@ def __subclasshook__(cls, C): - return NotImplemented - - --class _CallableGenericAlias(GenericAlias): -+class _CallableGenericAlias(list[int]): - """ Represent `Callable[argtypes, resulttype]`. - - This sets ``__args__`` to a tuple containing the flattened``argtypes``