ApamaCommunity / pysys-vscode-extension

This is a vscode extension for the pysys framwork it enables the use of this testing framework in Visual Studio Code allowing the use of the UI to interact with and create tests for your software projects..
https://cariboujohn.github.io/pysys-vscode-extension/
4 stars 4 forks source link

Python version parsing might be broken #22

Open rsm31 opened 3 years ago

rsm31 commented 3 years ago

The Python installation detection in getPysysInterpreter() is looking for ersion in the output from the -V option to the Python interpreter. However, all the Python interpreters I have available produce output of the form Python x.y.z, e.g.

scott@orac:~/Projects$ python3 -V
Python 3.7.4
scott@orac:~/Projects$ python2 -V
Python 2.7.17

This is on WSL2 Ubuntu 18.04 and Raspberry Pi OS December 2020, using Pythons from the standard repos, so I don't think there is anything weird going on in my environment. I've opened PR #21 to (maybe) fix this and a related issue I found while trying to debug the first one.

CaribouJohn commented 3 years ago

Thanks Scott - i'll take a look - even better I spotted the pull :)

CaribouJohn commented 3 years ago

Just a note to say that I am passing this extension over to ApamaCommunity and as part of the handover someone else will be working though this to get some direct experience. Hopefully it will happen soon.

rsm31 commented 3 years ago

Thanks John. Of course I'm happy to help, test, etc. if needed.