Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Support versioning librarys via semver #410
referenced this issue
Dec 29, 2015
This should apply to both
This is the npm way of doing semversionning, and this is pretty clean and straightforward, I think.
Opss... Sorry. See what do we have in Python world: https://pypi.python.org/pypi?%3Aaction=search&term=semver&submit=search
Which package do you recommend?
The thing is semver is not MAJOR.MINOR.FIX, it is BREAKING.FEATURE.FIX, so most people will want to match
And the code looks like:
from semver import max_satisfying versions = ['1.2.3', '1.2.4', '1.2.5', '1.2.6', '2.0.1'] range_ = '^1.0.0' assert max_satisfying(versions, range_) == '1.2.6'
So I'd definitely recommend
@k-bx, looks like people like
Proceed from that, I prefer to use generic
@marvinroger do you have any objections?
To be honest, I am a JS guy so my opinion might be a bit biased here.
I have to say that
I can't disagree with you on that point. But, the goal of
Anyway, you can't really go wrong on that one, it's no big deal. Having to type
@k-bx no offense, both packages are great, but as I said I am a JS guy and I like the way npm handle dependencies in