aboutsummaryrefslogtreecommitdiff
path: root/bundle/py2exe.py
diff options
context:
space:
mode:
authorSimon Sawicki <contact@grub4k.xyz>2024-05-22 16:22:25 +0200
committerGitHub <noreply@github.com>2024-05-22 16:22:25 +0200
commit3f7999533ebe41c2a579d91b4e4cb211cfcd3bc0 (patch)
treecacbb126302a969b3ec891f680491e657330f5f9 /bundle/py2exe.py
parent4ccd73fea0f6f4be343e1ec7f22dd03799addcf8 (diff)
[rh:requests] Patch support for `requests` 2.32.2+ (#9992)
Authored by: Grub4K
Diffstat (limited to 'bundle/py2exe.py')
-rwxr-xr-xbundle/py2exe.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/bundle/py2exe.py b/bundle/py2exe.py
index 403de0024..281167492 100755
--- a/bundle/py2exe.py
+++ b/bundle/py2exe.py
@@ -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