summaryrefslogtreecommitdiff
path: root/tests/test_spec.py
Commit message (Collapse)AuthorAgeFilesLines
* Lint test code.Raphaël Barrois2019-08-241-13/+13
|
* Drop support for Python<3.4.Raphaël Barrois2019-08-241-1/+1
|
* Remove Copyright years (Closes #28)Raphaël Barrois2016-02-121-1/+1
| | | | It seems that stating the copyright years is useless after all :)
* Forbid build metadata ordering (See #18)Raphaël Barrois2015-09-151-7/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | SemVer 2.0.0 states that "Build metadata SHOULD be ignored when determining version precedence". This means that, when comparing ``0.1.0+1`` to ``0.1.0+bcd``:: >>> Version('0.1.0+1') == Version('0.1.0+bcd') False >>> Version('0.1.0+1') != Version('0.1.0+bcd') True >>> Version('0.1.0+1') < Version('0.1.0+bcd') False >>> Version('0.1.0+1') > Version('0.1.0+bcd') False >>> Version('0.1.0+1') <= Version('0.1.0+bcd') False >>> Version('0.1.0+1') >= Version('0.1.0+bcd') False >>> compare(Version('0.1.0+1'), Version('0.1.0+bcd')) NotImplemented This change also has the following effects: - When including build metadata in a ``Spec``, the only valid options are ``Spec('==0.1.0+sth')`` and ``Spec('!=0.1.0+sth')`` - The meaning of ``Spec('==0.1.0+')`` is now "Only version 0.1.0 without build metadata" - ``Spec('==0.1.0')`` now matches ``Version('0.1.0+anything')``
* Update copyrightRaphaël Barrois2014-03-081-1/+1
|
* Upgrade to semver-2.0.0 (Closes #3)Raphaël Barrois2014-02-131-0/+163