amoeba commented on code in PR #45425: URL: https://github.com/apache/arrow/pull/45425#discussion_r1944974050
########## python/pyarrow/util.py: ########## @@ -244,15 +244,15 @@ def download_tzdata_on_windows(): tzdata_compressed = os.path.join(tzdata_path, "tzdata.tar.gz") os.makedirs(tzdata_path, exist_ok=True) - from urllib.request import urlopen - with urlopen('https://data.iana.org/time-zones/tzdata-latest.tar.gz') as response: + import requests + with requests.get('https://data.iana.org/time-zones/tzdata-latest.tar.gz') as response: # noqa Review Comment: (sans the typo in the comment which I pushed another commit up for) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: github-unsubscr...@arrow.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org