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
This commit is contained in:
parent
d519fd17a5
commit
9d4304fb97
@ -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"
|
||||
|
@ -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``
|
Loading…
Reference in New Issue
Block a user