1
0
mirror of https://github.com/yt-dlp/yt-dlp synced 2025-07-16 10:37:57 -05:00

[rh:requests] Patch support for requests 2.32.2+ (#9992)

Authored by: Grub4K
This commit is contained in:
Simon Sawicki
2024-05-22 16:22:25 +02:00
committed by GitHub
parent 4ccd73fea0
commit 3f7999533e
5 changed files with 36 additions and 13 deletions

View File

@ -42,9 +42,9 @@ def main():
# py2exe cannot import Crypto
'Crypto',
'Cryptodome',
# py2exe builds fail to run with requests >=2.32.0
'requests',
'urllib3'
# py2exe appears to confuse this with our socks library.
# We don't use pysocks and urllib3.contrib.socks would fail to import if tried.
'urllib3.contrib.socks'
],
'dll_excludes': ['w9xpopen.exe', 'crypt32.dll'],
# Modules that are only imported dynamically must be added here