freshli-lib icon indicating copy to clipboard operation
freshli-lib copied to clipboard

Include pre-release versions if Python dependency manifest uses pre-release versions

Open nickiemc opened this issue 5 years ago • 1 comments

A number of Python dependencies are unable to be found because the only versions that have ever been released are pre-release versions and/or the manifest references a pre-release version.

Similar to the Ruby implementation in PR #154, assume that if the manifest references a pre-release version, then they want to absolute latest version of that dependency even if it is a pre-release.

Example:

Manifest Latest stable Latest unstable Value to use
1.1b1 0.9 1.1b2 1.1b2
0.8 0.9 1.1b2 0.9

nickiemc avatar Oct 15 '20 23:10 nickiemc

Relevant examples from https://github.com/mailpile/Mailpile:

spambayes==1.1b1 spambayes>=1.1b1

nickiemc avatar Oct 15 '20 23:10 nickiemc