29 Commits

Author SHA1 Message Date
Kostiantyn Rybnikov
c061a877bf 2.6.0 2016-06-07 19:40:49 +03:00
Kostiantyn Rybnikov
ac699597ec Merge branch 'master' of github.com:k-bx/python-semver 2016-06-07 19:39:51 +03:00
Jelo Agnasin
0e168ed07a Remove comparison of build metadata 2016-06-06 17:37:36 +08:00
Kostiantyn Rybnikov
1e3ad7d8ae 2.5.0 2016-05-24 23:16:50 +03:00
robi-wan
becd708945 Format ValueError message to meet expected line length. 2016-05-23 09:29:08 +02:00
robi-wan
b5f69d408e Support matching 'not equal' with '!='
Remove check for unused/unsupported match expression '='.
2016-05-23 08:47:13 +02:00
Kostiantyn Rybnikov
86d6c10f2d 2.4.2 2016-05-15 20:35:24 +03:00
Peter Bittner
d8b75a1ad6 Move package meta information into module 2016-05-15 19:05:59 +02:00
Peter Bittner
446b09c2fa Fix flake8 complaints in semver and setup 2016-05-15 18:33:49 +02:00
Karol Werner
24cd0a4056 Fix bug in comparision between versions with build and prerelease 2016-03-03 09:37:31 +01:00
Tuure Laurinolli
c4dbbc3f9e Fix prerelease ordering 2016-02-11 21:23:46 +02:00
Karol Werner
98a2d3c854 Add bumping prerelease and build versions 2016-01-28 11:57:42 +01:00
Anton Talevnin
c4ee0d6b30 Fix a bug with comparing rc0 vs rc1
Fixed an issue when I'm trying to compare('0.10.1-rc1', '0.10.1-rc0')
2015-08-01 01:27:41 +06:00
Zack Lalanne
7993a98cd1 Adds max_ver and min_ver APIs. Fixes #15
Added max_ver and min_ver APIs that work like the max() and min() of the
standard library when comparing ints. Includes tests and example in
README
2015-06-20 09:28:51 -05:00
Tyler Cross
6ae029f901 Allow bumping of major, minor, and patch version parts.
- allow bumping major, minor, and patch parts
- ignore prerelease and build extensions if present
- added format_version function
2015-05-22 09:42:42 -04:00
Konstantine Rybnikov
26850617f9 Use getattr for __builtins__ 2014-10-02 21:09:28 +03:00
Konstantine Rybnikov
06975846ce Fix #9 2014-09-24 16:21:39 +03:00
T. Jameson Little
9c96ff62e1 Build metadata should be ignored in compare
- semver 2.0.0 #10
2014-05-23 12:33:47 -06:00
T. Jameson Little
640a92c9ed Update parse to match semver 2.0.0
- 0-prefixed versions (major, minor, patch) are not allowed
- hyphens allowed in prerelease and build
2014-05-23 12:28:56 -06:00
Alexander Shorin
61cfbac9d9 Add support for Python 3.x 2012-02-08 17:14:23 +04:00
Alexander Shorin
1e08e7b615 Fix compatibility with Python 2.4 2012-02-08 17:10:55 +04:00
Alexander Shorin
d81cb7310a Fix tests. 2012-02-08 17:03:20 +04:00
Alexander Shorin
e9e436fe22 Fix rc build comparison via natural cmp helper. 2012-02-08 16:57:06 +04:00
Alexander Shorin
443a12046f Use self documented regular expression. 2012-02-08 16:14:36 +04:00
Alexander Shorin
a0c9a065f8 Make regular expression object global wide. 2012-02-08 16:11:04 +04:00
Alexander Shorin
4405995eb0 Fix unexpectable crush for empty prefix. 2012-02-08 16:09:43 +04:00
Alexander Shorin
e932aac0c8 Remove Python 2.6+ features. Python 2.4 and 2.5 should work well now. 2012-02-08 16:08:24 +04:00
Alexander Shorin
5e390028df Some code style fixes. 2012-02-08 16:07:11 +04:00
Kostya Rybnikov
7695bc3cd7 first version 2012-02-07 14:57:46 +02:00