microsoft / component-detection

Scans your project to determine what components you use
MIT License
412 stars 87 forks source link

Add python version conditional dependency check #973

Closed FernandoRojo closed 2 months ago

FernandoRojo commented 7 months ago

add in python_version dependency check when processing METADATA files

codecov[bot] commented 7 months ago

Codecov Report

Attention: Patch coverage is 69.13580% with 25 lines in your changes missing coverage. Please review.

Project coverage is 76.2%. Comparing base (e626211) to head (5d38292).

Files Patch % Lines
...ectors/pip/Contracts/PipDependencySpecification.cs 80.0% 7 Missing and 4 partials :warning:
...entDetection.Detectors/pip/PythonCommandService.cs 0.0% 7 Missing :warning:
...ComponentDetection.Detectors/pip/PythonResolver.cs 25.0% 6 Missing :warning:
...entDetection.Detectors/pip/PipComponentDetector.cs 90.9% 0 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #973 +/- ## ===================================== Coverage 76.2% 76.2% ===================================== Files 257 257 Lines 11401 11481 +80 Branches 1142 1154 +12 ===================================== + Hits 8697 8759 +62 - Misses 2371 2384 +13 - Partials 333 338 +5 ```

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

github-actions[bot] commented 7 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 🙂