https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243971
--- Comment #2 from Shane <[email protected]> --- I just thought requests[socks] was part of www/py-requests. py-requests depends on py-urllib3 which optionally depends on py-pysocks, and is on by default. gdown passes any proxy options to requests through `sess.proxies = {...}` then the call to `sess.get()` is in a try block which catches proxy errors. That should leave a nice failed message if trying to use a proxy with SOCKS disabled/unavailable in py-urllib3. https://github.com/wkentaro/gdown/blob/master/gdown/download.py#L66 So as gdown doesn't directly rely on or call py-pysocks, does that count as needing to be listed as an optional port dependency? It does mean the projects setup.py could use some adjustment. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-python To unsubscribe, send any mail to "[email protected]"
