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:
@ -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
|
||||
|
Reference in New Issue
Block a user