yt-project / yt

Main yt repository
http://yt-project.org
Other
467 stars 277 forks source link

`urllib.request.URLopener` is deprecated #5027

Open barneygale opened 2 hours ago

barneygale commented 2 hours 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 2 hours 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 2 hours ago

Yes, absolutely! Thanks for spotting this !