microsoft / component-detection

Scans your project to determine what components you use
MIT License
438 stars 90 forks source link

Pauldorsch/fix support python m pip #1222

Closed pauld-msft closed 3 months ago

pauld-msft commented 3 months ago

When pip is not found, we should fall back to use python -m pip, which is supported when customers install the https://www.nuget.org/packages/python package

github-actions[bot] commented 3 months ago

👋 Hi! It looks like you modified some files in the Detectors folder. You may need to bump the detector versions if any of the following scenarios apply:

If none of the above scenarios apply, feel free to ignore this comment 🙂

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 96.66667% with 1 line in your changes missing coverage. Please review.

Project coverage is 76.4%. Comparing base (3d161b0) to head (b10fa04).

Files Patch % Lines
...ponentDetection.Detectors/pip/PipCommandService.cs 96.1% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1222 +/- ## ===================================== Coverage 76.4% 76.4% ===================================== Files 258 258 Lines 11650 11668 +18 Branches 1175 1179 +4 ===================================== + Hits 8905 8922 +17 Misses 2406 2406 - Partials 339 340 +1 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.