component-detection icon indicating copy to clipboard operation
component-detection copied to clipboard

Python detector does not match pre-release versions explicitly specified in requirements.txt

Open cobya opened this issue 3 years ago • 0 comments

IPyPiClient when retrieving release information will not add pre-release versions to the list of potential versions (see IPyPiClient) to match requirements.txt versions to in PythonResolver.cs.

This leads to cases where pre-release versions are explicitly referenced in requirements.txt (ex. numpy 1.22.0rc3 when the current release version is 1.21.5) but the detector will output the selected version as the release version and not the pre-release.

cobya avatar Dec 29 '21 21:12 cobya