Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-node-semver for openSUSE:Factory checked in at 2023-01-03 15:05:00 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-node-semver (Old) and /work/SRC/openSUSE:Factory/.python-node-semver.new.1563 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-node-semver" Tue Jan 3 15:05:00 2023 rev:8 rq:1046224 version:0.8.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-node-semver/python-node-semver.changes 2020-03-30 23:05:55.604262765 +0200 +++ /work/SRC/openSUSE:Factory/.python-node-semver.new.1563/python-node-semver.changes 2023-01-03 15:05:14.342465621 +0100 @@ -1,0 +2,6 @@ +Mon Jan 2 15:45:09 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 0.8.1: + * fix erroneous parsing of $ component version numbers + +------------------------------------------------------------------- Old: ---- python-node-semver-0.8.0.tar.gz New: ---- python-node-semver-0.8.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-node-semver.spec ++++++ --- /var/tmp/diff_new_pack.iOLRBT/_old 2023-01-03 15:05:16.014475383 +0100 +++ /var/tmp/diff_new_pack.iOLRBT/_new 2023-01-03 15:05:16.022475429 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-node-semver # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,13 +19,13 @@ %define skip_python2 1 %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-node-semver -Version: 0.8.0 +Version: 0.8.1 Release: 0 Summary: Port of node-semver License: MIT Group: Development/Languages/Python -URL: https://github.com/podhmo/python-semver -Source: https://github.com/podhmo/python-semver/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz +URL: https://github.com/podhmo/python-node-semver +Source: https://github.com/podhmo/python-node-semver/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildRequires: %{python_module base} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} @@ -40,7 +40,7 @@ python version of node-semver (https://github.com/isaacs/node-semver) %prep -%setup -q -n python-semver-%{version} +%setup -q -n python-node-semver-%{version} %build %python_build ++++++ python-node-semver-0.8.0.tar.gz -> python-node-semver-0.8.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-semver-0.8.0/CHANGES.txt new/python-node-semver-0.8.1/CHANGES.txt --- old/python-semver-0.8.0/CHANGES.txt 2019-11-30 05:54:06.000000000 +0100 +++ new/python-node-semver-0.8.1/CHANGES.txt 2022-04-28 22:25:30.000000000 +0200 @@ -1,3 +1,7 @@ +0.8.1 + +- fix erroneous parsing of $ component version numbers (#44) + 0.8.0 - handle 4-digit version correctly (#35) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-semver-0.8.0/semver/__init__.py new/python-node-semver-0.8.1/semver/__init__.py --- old/python-semver-0.8.0/semver/__init__.py 2019-11-30 05:54:06.000000000 +0100 +++ new/python-node-semver-0.8.1/semver/__init__.py 2022-04-28 22:25:30.000000000 +0200 @@ -67,6 +67,11 @@ NONNUMERICIDENTIFIER = R() src[NONNUMERICIDENTIFIER] = '\\d*[a-zA-Z-][a-zA-Z0-9-]*' +# A non-numeric identifier not beginning with a number + +NONNUMERICIDENTIFIERBEGINNONNUMBER = R() +src[NONNUMERICIDENTIFIERBEGINNONNUMBER] = '[a-zA-Z-][a-zA-Z0-9-]*' + # ## Main Version # Three dot-separated numeric identifiers. @@ -102,7 +107,8 @@ '(?:\\.' + src[PRERELEASEIDENTIFIER] + ')*))') PRERELEASELOOSE = R() -src[PRERELEASELOOSE] = ('(?:-?(' + src[PRERELEASEIDENTIFIERLOOSE] + +src[PRERELEASELOOSE] = ('(?:-?((?:(?<=-)' + src[PRERELEASEIDENTIFIERLOOSE] + + '|' + src[NONNUMERICIDENTIFIERBEGINNONNUMBER] + ')' '(?:\\.' + src[PRERELEASEIDENTIFIERLOOSE] + ')*))') # ## Build Metadata Identifier diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-semver-0.8.0/semver/tests/test_for_4digit.py new/python-node-semver-0.8.1/semver/tests/test_for_4digit.py --- old/python-semver-0.8.0/semver/tests/test_for_4digit.py 2019-11-30 05:54:06.000000000 +0100 +++ new/python-node-semver-0.8.1/semver/tests/test_for_4digit.py 2022-04-28 22:25:30.000000000 +0200 @@ -93,6 +93,16 @@ "micro_versions": [2, 2], } ), + ( + "4.1.33.2", True, { + "major": 4, + "minor": 1, + "patch": 33, + "prerelease": [], + "build": [], + "micro_versions": [2], + } + ), ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-semver-0.8.0/semver/tests/test_intersect_comparators.py new/python-node-semver-0.8.1/semver/tests/test_intersect_comparators.py --- old/python-semver-0.8.0/semver/tests/test_intersect_comparators.py 2019-11-30 05:54:06.000000000 +0100 +++ new/python-node-semver-0.8.1/semver/tests/test_intersect_comparators.py 2022-04-28 22:25:30.000000000 +0200 @@ -46,12 +46,12 @@ actual2 = comparator2.intersects(comparator1) actual3 = intersects(comparator1, comparator2) actual4 = intersects(comparator2, comparator1) - actual4 = intersects(comparator1, comparator2, True) - actual5 = intersects(comparator2, comparator1, True) - actual6 = intersects(v0, v1) - actual7 = intersects(v1, v0) - actual8 = intersects(v0, v1, True) - actual9 = intersects(v1, v0, True) + actual5 = intersects(comparator1, comparator2, True) + actual6 = intersects(comparator2, comparator1, True) + actual7 = intersects(v0, v1) + actual8 = intersects(v1, v0) + actual9 = intersects(v0, v1, True) + actual10 = intersects(v1, v0, True) assert actual1 == expect assert actual2 == expect assert actual3 == expect @@ -61,3 +61,4 @@ assert actual7 == expect assert actual8 == expect assert actual9 == expect + assert actual10 == expect