When using the Pip3Package resource, the InstalledStatus is essentially determined by whether the final package in the array is installed or not, instead of being determined by checking every package in the array.
Steps to reproduce
requests is a valid pip3 package installed on my machine. If I try doing:
Brief description of your issue
When using the Pip3Package resource, the
InstalledStatus
is essentially determined by whether the final package in the array is installed or not, instead of being determined by checking every package in the array.Steps to reproduce
requests
is a valid pip3 package installed on my machine. If I try doing:Which is the correct output since a package named
packageDoesNotExist
is not installed on my machine. But now if I swap the order of the packages:Which is incorrect, since I expect InstalledStatus to still be false because of the non-existent package
Expected behavior
InstalledStatus to be False in both examples
Actual behavior
InstalledStatus is true because it essentially is returning the existence of the final package instead of the whole list.
Environment