yt-project / yt

Main yt repository
http://yt-project.org
Other
469 stars 280 forks source link

`urllib.request.URLopener` is deprecated #5027

Closed barneygale closed 1 month ago

barneygale commented 1 month ago

Bug report

yt uses urllib.request.URLopener, which was deprecated in Python 3.3. Would you accept a PR that uses urlretrieve() instead? Ta!

welcome[bot] commented 1 month ago

Hi, and welcome to yt! Thanks for opening your first issue. We have an issue template that helps us to gather relevant information to help diagnosing and fixing the issue.

neutrinoceros commented 1 month ago

Yes, absolutely! Thanks for spotting this !