X-Git-Url: https://jfr.im/git/yt-dlp.git/blobdiff_plain/2e5a47da400b645aadbda6afd1156bd89c744f48..db50f19d76c6870a5a13d0cab9287d684fd7449a:/bundle/py2exe.py diff --git a/bundle/py2exe.py b/bundle/py2exe.py index 281167492..5fbe55e46 100755 --- a/bundle/py2exe.py +++ b/bundle/py2exe.py @@ -42,9 +42,9 @@ def main(): # py2exe cannot import Crypto 'Crypto', 'Cryptodome', - # 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' + # requests >=2.32.0 breaks py2exe builds due to certifi dependency + 'requests', + 'urllib3' ], 'dll_excludes': ['w9xpopen.exe', 'crypt32.dll'], # Modules that are only imported dynamically must be added here