]> jfr.im git - yt-dlp.git/blobdiff - bundle/py2exe.py
[rh:requests] Bump minimum `requests` version to 2.32.2 (#10079)
[yt-dlp.git] / bundle / py2exe.py
index 2811674925b09ca773e7a0f1f2f455ba588e3e81..5fbe55e465e32a5f58614c224f03e764d3b7509e 100755 (executable)
@@ -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