wookayin / gpustat

📊 A simple command-line utility for querying and monitoring GPU status

Home Page:https://pypi.python.org/pypi/gpustat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drop Python 2 Support

bethune-bryant opened this issue · comments

@Stonesjtu Pointed out that Python 2 is being retired:

python2.7 is retiring in Jan 1st 2020, so probably the master branch can focus on only python 3.
Ref. https://pythonclock.org/

According to https://stackoverflow.com/questions/40114100/uploading-different-versions-python-2-7-vs-3-5-to-pypi, we can simply add python_requires='>=3.4' and bump the version.
Then if you install the package via pip2, the out-dated one instead of the newest version will be selected.

Speaking of retiring python2, I think this would be the best time to version our gpustat finally as 1.0.

Speaking of retiring python2, I think this would be the best time to version our gpustat finally as 1.0.

@wookayin

Let me know if there's anything you want me to do for this.

Resolved by #67