Hello community, here is the log from the commit of package python-semantic_version for openSUSE:Factory checked in at 2020-08-02 12:28:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-semantic_version (Old) and /work/SRC/openSUSE:Factory/.python-semantic_version.new.3592 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-semantic_version" Sun Aug 2 12:28:28 2020 rev:6 rq:823433 version:2.8.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-semantic_version/python-semantic_version.changes 2020-03-27 00:28:36.856357612 +0100 +++ /work/SRC/openSUSE:Factory/.python-semantic_version.new.3592/python-semantic_version.changes 2020-08-02 12:29:35.127932834 +0200 @@ -1,0 +2,6 @@ +Wed Jul 29 13:46:19 UTC 2020 - Marketa Calabkova <mcalabk...@suse.com> + +- update to 2.8.5 + * Properly handle wildcards in ``SimpleSpec`` + +------------------------------------------------------------------- Old: ---- semantic_version-2.8.4.tar.gz New: ---- semantic_version-2.8.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-semantic_version.spec ++++++ --- /var/tmp/diff_new_pack.gMVLOq/_old 2020-08-02 12:29:35.827933554 +0200 +++ /var/tmp/diff_new_pack.gMVLOq/_new 2020-08-02 12:29:35.831933558 +0200 @@ -18,13 +18,14 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-semantic_version -Version: 2.8.4 +Version: 2.8.5 Release: 0 Summary: A library implementing the 'SemVer' scheme License: BSD-2-Clause Group: Development/Languages/Python URL: https://github.com/rbarrois/python-semanticversion Source: https://files.pythonhosted.org/packages/source/s/semantic_version/semantic_version-%{version}.tar.gz +BuildRequires: %{python_module Django >= 1.11} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} BuildRequires: fdupes ++++++ semantic_version-2.8.4.tar.gz -> semantic_version-2.8.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semantic_version-2.8.4/ChangeLog new/semantic_version-2.8.5/ChangeLog --- old/semantic_version-2.8.4/ChangeLog 2019-12-21 16:02:29.000000000 +0100 +++ new/semantic_version-2.8.5/ChangeLog 2020-04-29 11:51:24.000000000 +0200 @@ -1,6 +1,15 @@ ChangeLog ========= +2.8.5 (2020-04-29) +------------------ + +*Bugfix:* + + * `98 <https://github.com/rbarrois/python-semanticversion/issues/98>`_: + Properly handle wildcards in ``SimpleSpec`` (e.g. ``==1.2.*``). + + 2.8.4 (2019-12-21) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semantic_version-2.8.4/PKG-INFO new/semantic_version-2.8.5/PKG-INFO --- old/semantic_version-2.8.4/PKG-INFO 2019-12-21 16:02:29.000000000 +0100 +++ new/semantic_version-2.8.5/PKG-INFO 2020-04-29 11:51:25.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: semantic_version -Version: 2.8.4 +Version: 2.8.5 Summary: A library implementing the 'SemVer' scheme. Home-page: https://github.com/rbarrois/python-semanticversion Author: Raphaël Barrois diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semantic_version-2.8.4/docs/changelog.rst new/semantic_version-2.8.5/docs/changelog.rst --- old/semantic_version-2.8.4/docs/changelog.rst 2019-12-21 16:02:29.000000000 +0100 +++ new/semantic_version-2.8.5/docs/changelog.rst 2020-04-29 11:51:24.000000000 +0200 @@ -1,6 +1,15 @@ ChangeLog ========= +2.8.5 (2020-04-29) +------------------ + +*Bugfix:* + + * `98 <https://github.com/rbarrois/python-semanticversion/issues/98>`_: + Properly handle wildcards in ``SimpleSpec`` (e.g. ``==1.2.*``). + + 2.8.4 (2019-12-21) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semantic_version-2.8.4/docs/reference.rst new/semantic_version-2.8.5/docs/reference.rst --- old/semantic_version-2.8.4/docs/reference.rst 2019-12-21 16:02:29.000000000 +0100 +++ new/semantic_version-2.8.5/docs/reference.rst 2020-04-29 11:51:24.000000000 +0200 @@ -472,6 +472,15 @@ * A clause of ``>0.1.2-rc.3`` will match versions strictly above ``0.1.2-rc.3``, including matching prereleases of ``0.1.2``: ``0.1.2-rc.10`` is included; * A clause of ``>=XXX`` will match versions that match ``>XXX`` or ``==XXX`` + ..rubric:: Wildcards + + * A clause of ``==0.1.*`` is equivalent to ``>=0.1.0,<0.2.0`` + * A clause of ``>=0.1.*`` is equivalent to ``>=0.1.0`` + * A clause of ``==1.*`` or ``==1.*.*`` is equivalent to ``>=1.0.0,<2.0.0`` + * A clause of ``>=1.*`` or ``>=1.*.*`` is equivalent to ``>=1.0.0`` + * A clause of ``==*`` maps to ``>=0.0.0`` + * A clause of ``>=*`` maps to ``>=0.0.0`` + .. rubric:: Extensions Additionnally, python-semanticversion supports extensions from specific packaging platforms: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semantic_version-2.8.4/semantic_version/__init__.py new/semantic_version-2.8.5/semantic_version/__init__.py --- old/semantic_version-2.8.4/semantic_version/__init__.py 2019-12-21 16:02:29.000000000 +0100 +++ new/semantic_version-2.8.5/semantic_version/__init__.py 2020-04-29 11:51:24.000000000 +0200 @@ -7,4 +7,4 @@ __author__ = "Raphaël Barrois <raphael.barrois+sem...@polytechnique.org>" -__version__ = '2.8.4' +__version__ = '2.8.5' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semantic_version-2.8.4/semantic_version/base.py new/semantic_version-2.8.5/semantic_version/base.py --- old/semantic_version-2.8.4/semantic_version/base.py 2019-12-21 16:02:29.000000000 +0100 +++ new/semantic_version-2.8.5/semantic_version/base.py 2020-04-29 11:51:24.000000000 +0200 @@ -1123,7 +1123,7 @@ elif minor is None: return Range(Range.OP_GTE, target) & Range(Range.OP_LT, target.next_major()) elif patch is None: - return Range(Range.OP_GTE, target) & Range(Range.OP_LT, target.next_patch()) + return Range(Range.OP_GTE, target) & Range(Range.OP_LT, target.next_minor()) elif build == '': return Range(Range.OP_EQ, target, build_policy=Range.BUILD_STRICT) else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semantic_version-2.8.4/semantic_version.egg-info/PKG-INFO new/semantic_version-2.8.5/semantic_version.egg-info/PKG-INFO --- old/semantic_version-2.8.4/semantic_version.egg-info/PKG-INFO 2019-12-21 16:02:29.000000000 +0100 +++ new/semantic_version-2.8.5/semantic_version.egg-info/PKG-INFO 2020-04-29 11:51:25.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 1.2 Name: semantic-version -Version: 2.8.4 +Version: 2.8.5 Summary: A library implementing the 'SemVer' scheme. Home-page: https://github.com/rbarrois/python-semanticversion Author: Raphaël Barrois diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/semantic_version-2.8.4/tests/test_base.py new/semantic_version-2.8.5/tests/test_base.py --- old/semantic_version-2.8.4/tests/test_base.py 2019-12-21 16:02:29.000000000 +0100 +++ new/semantic_version-2.8.5/tests/test_base.py 2020-04-29 11:51:24.000000000 +0200 @@ -644,6 +644,16 @@ ['0.1.1', '0.1.1+4'], ['0.1.1-alpha', '0.1.2-alpha', '0.1.2', '1.3.4'], ), + # 0.1.x + '==0.1.*': ( + ['0.1.1', '0.1.1+4', '0.1.0', '0.1.99'], + ['0.1.0-alpha', '0.0.1', '0.2.0'], + ), + # 1.x.x + '==1.*': ( + ['1.1.1', '1.1.0+4', '1.1.0', '1.99.99'], + ['1.0.0-alpha', '0.1.0', '2.0.0'], + ), # At least 0.1.0 with pre-releases, less than 0.1.4 excluding pre-releases, # neither 0.1.3-rc1 nor any build of that version, # not 0.1.0+b3 precisely