We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PoetryDependencyVersion
Poetry ranges/constraints: https://python-poetry.org/docs/dependency-specification/
At the moment everything is blue
It would be nice if we could make this orange when
version['allow-prereleases'] == true
As far as I can tell, @renovate/pep440 doesn't expose any public function that can take a range and return the lower bound
@renovate/pep440
validRange()
explain()
minSatisfying()
semver can answer that question, and poetry constraints are mostly semver-parseable e.g:
semver
> const semver = require('semver') undefined > semver.validRange('^1') '>=1.0.0 <2.0.0-0' > semver.validRange('>=2') '>=2.0.0' > semver.validRange('~2.7 || ^3.2') '>=2.7.0 <2.8.0-0||>=3.2.0 <4.0.0-0' > semver.validRange('3.*') '>=3.0.0 <4.0.0-0'
but not 100% e.g:
> semver.validRange('>=1.11,<4.0') null > semver.validRange('==20.8b1') null
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Poetry ranges/constraints: https://python-poetry.org/docs/dependency-specification/
At the moment everything is blue
It would be nice if we could make this orange when
version['allow-prereleases'] == true
orAs far as I can tell,
@renovate/pep440
doesn't expose any public function that can take a range and return the lower boundvalidRange()
validates a rangeexplain()
won't parse a rangeminSatisfying()
takes an explicit list of versions and tells us the lowest one that satisfies the rangesemver
can answer that question, and poetry constraints are mostly semver-parseable e.g:but not 100% e.g:
The text was updated successfully, but these errors were encountered: