Support "+cpu" in version comparison
Describe the bug not able to detect version with "+cpu"
To Reproduce Steps to reproduce the behavior:
- Go to 'requirements.txt' file in project
- Add "torch==1.7.1+cpu"
- Install the package
- See error
Expected behavior detect version correctly check for version including suffixes
Screenshots If applicable, add screenshots to help explain your problem.
IDE (please complete the following information. See Main Menu -> Help -> About):
- OS: Windows 10
- Product: PyCharm 2020.3.2 (Professional Edition)
- Build: #PY-203.6682.179, built on December 30, 2020
- Runtime version: 11.0.9.1+11-b1145.63 amd64
- VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
- Project SDK: Python 3.7
Plugin (please complete the following information. See Main Menu -> File -> Settings -> Plugins):
- Version: 2020.6-203
@Hafplo torch 1.7.1+cpu not found in https://pypi.org/project/torch/
I use the commands from Pytorch official site: https://pytorch.org/get-started/locally/
pip install torch==1.7.1+cpu torchvision==0.8.2+cpu torchaudio===0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
@meanmail Any comments or updates?
@Hafplo -f, --find-lins options are not currently supported. Support will be added in one of the next releases