online-judge-tools/oj

Hide old versions to avoid using pip2 to install

kmyk opened this issue · 1 comments

kmyk commented

Now we specify python_requires='>=3.5' in setup.py (added at 56cae48), so users cannot install the latest version of online-judge-tools with Python 2.
But the attribute is not set for old versions, so when we run $ pip2 install online-judge-tools, it installs the version 7.7.0.

I found the way to hide such old versions without completely deleting them, so I'll try it.

kmyk commented

It failed