-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When we use python3, it still find python2 #1171
Conversation
Related-Issuse: #1168 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, thank you. This fixes running unit-tests or running aodh functional tests
I guess this would only be an issue when not running inside a virtual env that maps python path to python3, but looks good to me. |
@Mergifyio rebase |
The args[] use "python", and if the version of python is "3", it will can't find python, because the name is "python3" in o Add a judge of python version, if the version of python is 3, set plugin to "python3", if not, plugin still "python". If the version of Python is 3, api.py can run.
✅ Branch has been successfully rebased |
@Mergifyio backport stable/4.4 |
✅ Backports have been created
|
When we use python3, it still find python2 (backport #1171)
The args[] use "python", and if the version of python is "3",
it will can't find python, because the name is "python3" in o
Add a judge of python version, if the version of python is 3,
set plugin to "python3", if not, plugin still "python".
If the version of Python is 3, api.py can run.