amoeba commented on code in PR #45425:
URL: https://github.com/apache/arrow/pull/45425#discussion_r1946804406
##########
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:
Resolving as I think we've addressed this adequately. Thanks for catching
this, as you were right!
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]