Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-bindep for openSUSE:Factory checked in at 2022-09-23 14:15:31 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-bindep (Old) and /work/SRC/openSUSE:Factory/.python-bindep.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-bindep" Fri Sep 23 14:15:31 2022 rev:4 rq:1005568 version:2.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-bindep/python-bindep.changes 2022-01-11 23:42:38.586962593 +0100 +++ /work/SRC/openSUSE:Factory/.python-bindep.new.2275/python-bindep.changes 2022-09-23 14:16:20.714138145 +0200 @@ -1,0 +2,6 @@ +Fri Sep 23 02:33:16 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com> + +- Update to 2.11.0 + * Add support for Rocky Linux and Manjaro to Bindep. + +------------------------------------------------------------------- Old: ---- bindep-2.10.1.tar.gz New: ---- bindep-2.11.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-bindep.spec ++++++ --- /var/tmp/diff_new_pack.2YST1U/_old 2022-09-23 14:16:21.106139059 +0200 +++ /var/tmp/diff_new_pack.2YST1U/_new 2022-09-23 14:16:21.110139068 +0200 @@ -19,7 +19,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %global pythons python3 Name: python-bindep -Version: 2.10.1 +Version: 2.11.0 Release: 0 Summary: Binary dependency utility License: Apache-2.0 ++++++ bindep-2.10.1.tar.gz -> bindep-2.11.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindep-2.10.1/.zuul.yaml new/bindep-2.11.0/.zuul.yaml --- old/bindep-2.10.1/.zuul.yaml 2021-10-20 17:22:52.000000000 +0200 +++ new/bindep-2.11.0/.zuul.yaml 2022-04-18 21:01:06.000000000 +0200 @@ -16,9 +16,9 @@ nodeset: centos-7 - job: - name: bindep-centos-8 + name: bindep-centos-8-stream parent: bindep-base - nodeset: centos-8 + nodeset: centos-8-stream - job: name: bindep-fedora-latest @@ -53,7 +53,7 @@ check: jobs: - bindep-centos-7 - - bindep-centos-8 + - bindep-centos-8-stream - bindep-fedora-latest - bindep-opensuse-15 - bindep-ubuntu-xenial @@ -70,7 +70,7 @@ gate: jobs: - bindep-centos-7 - - bindep-centos-8 + - bindep-centos-8-stream - bindep-fedora-latest - bindep-opensuse-15 - bindep-ubuntu-xenial diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindep-2.10.1/AUTHORS new/bindep-2.11.0/AUTHORS --- old/bindep-2.10.1/AUTHORS 2021-10-20 17:23:46.000000000 +0200 +++ new/bindep-2.11.0/AUTHORS 2022-04-18 21:01:53.000000000 +0200 @@ -10,6 +10,7 @@ Dirk Mueller <d...@dmllr.de> Ehud Kaldor <e...@unfairfunction.org> Eric Harney <ehar...@redhat.com> +Erik Berg <openst...@slipsprogrammor.no> Ian Wienand <iwien...@redhat.com> Ihar Hrachyshka <ihrac...@redhat.com> James E. Blair <jebl...@redhat.com> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindep-2.10.1/ChangeLog new/bindep-2.11.0/ChangeLog --- old/bindep-2.10.1/ChangeLog 2021-10-20 17:23:46.000000000 +0200 +++ new/bindep-2.11.0/ChangeLog 2022-04-18 21:01:53.000000000 +0200 @@ -1,6 +1,18 @@ CHANGES ======= +2.11.0 +------ + +* Add AlmaLinux support +* Fix bindep testing with distro 1.7.0 and greater + +2.10.2 +------ + +* Replace centos-8 with centos-8-stream +* Handle no newline at the end of bindep.txt + 2.10.1 ------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindep-2.10.1/PKG-INFO new/bindep-2.11.0/PKG-INFO --- old/bindep-2.10.1/PKG-INFO 2021-10-20 17:23:46.274067400 +0200 +++ new/bindep-2.11.0/PKG-INFO 2022-04-18 21:01:54.047531800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: bindep -Version: 2.10.1 +Version: 2.11.0 Summary: Binary dependency utility Home-page: https://docs.opendev.org/opendev/bindep Author: OpenDev Contributors diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindep-2.10.1/bindep/depends.py new/bindep-2.11.0/bindep/depends.py --- old/bindep-2.10.1/bindep/depends.py 2021-10-20 17:22:52.000000000 +0200 +++ new/bindep-2.11.0/bindep/depends.py 2022-04-18 21:01:06.000000000 +0200 @@ -140,6 +140,9 @@ :param filename: The string name of the file from which requirements were loaded. """ + if not depends_string.endswith('\n'): + # The parsley grammar expects each line to end with a newline + depends_string += '\n' parser = makeGrammar(grammar, {})(depends_string) self._rules = parser.rules() self.filename = filename @@ -350,7 +353,7 @@ "opensuseproject", "opensuse", "opensuse-leap", "opensuse-tumbleweed", "sles", "suselinux", "ol", "oracle", - "rocky"]: + "rocky", "almalinux"]: # Distro aliases if distro_id in ["redhatenterpriseserver", "redhatenterpriseworkstation"]: @@ -401,7 +404,7 @@ elif "fedora" in distro_id: atoms.add(PY2 if release_version < as_ver("23") else PY3) elif any(w in distro_id for w in ["centos", "oracle", "rhel", - "rocky"]): + "rocky", "almalinux"]): atoms.add(PY2 if release_version < as_ver("8") else PY3) # Family aliases diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindep-2.10.1/bindep/tests/fixtures/almalinux/etc/os-release new/bindep-2.11.0/bindep/tests/fixtures/almalinux/etc/os-release --- old/bindep-2.10.1/bindep/tests/fixtures/almalinux/etc/os-release 1970-01-01 01:00:00.000000000 +0100 +++ new/bindep-2.11.0/bindep/tests/fixtures/almalinux/etc/os-release 2022-04-18 21:01:06.000000000 +0200 @@ -0,0 +1,15 @@ +NAME="AlmaLinux" +VERSION="8.5 (Arctic Sphynx)" +ID="almalinux" +ID_LIKE="rhel centos fedora" +VERSION_ID="8.5" +PLATFORM_ID="platform:el8" +PRETTY_NAME="AlmaLinux 8.5 (Arctic Sphynx)" +ANSI_COLOR="0;34" +CPE_NAME="cpe:/o:almalinux:almalinux:8::baseos" +HOME_URL="https://almalinux.org/" +DOCUMENTATION_URL="https://wiki.almalinux.org/" +BUG_REPORT_URL="https://bugs.almalinux.org/" + +ALMALINUX_MANTISBT_PROJECT="AlmaLinux-8" +ALMALINUX_MANTISBT_PROJECT_VERSION="8.5" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindep-2.10.1/bindep/tests/test_depends.py new/bindep-2.11.0/bindep/tests/test_depends.py --- old/bindep-2.10.1/bindep/tests/test_depends.py 2021-10-20 17:22:52.000000000 +0200 +++ new/bindep-2.11.0/bindep/tests/test_depends.py 2022-04-18 21:01:06.000000000 +0200 @@ -54,12 +54,18 @@ self.distro_name = distro_name.lower() def _setUp(self): + # Python 2.7 and 3.5 need older distro which has different src paths + if distro.__version__ < '1.7.0': + distro_patch_path = 'distro._distro' + else: + distro_patch_path = 'distro.distro._distro' # This type of monkey patching is borrowed from the distro test # suite. os_release = os.path.join(FIXTURE_DIR, self.distro_name, 'etc', 'os-release') mydistro = distro.LinuxDistribution(False, os_release, 'non') - self.useFixture(fixtures.MonkeyPatch('distro._distro', mydistro)) + self.useFixture( + fixtures.MonkeyPatch(distro_patch_path, mydistro)) if self.distro_name not in ['darwin']: self.useFixture(fixtures.MonkeyPatch( 'platform.system', lambda *x: 'Linux')) @@ -251,6 +257,12 @@ self.assertThat( depends.platform_profiles(), Contains("platform:rpm")) + def test_detects_almalinux(self): + with DistroFixture("almalinux"): + depends = Depends("") + self.assertThat( + depends.platform_profiles(), Contains("platform:rpm")) + def test_detects_release(self): with DistroFixture("Ubuntu"): depends = Depends("") @@ -376,6 +388,12 @@ depends = Depends("") self.assertEqual([], depends._rules) + def test_no_newline(self): + depends = Depends("foo") + self.assertEqual( + [("foo", [], [])], + depends._rules) + def test_selectors(self): depends = Depends("foo [!bar baz quux]\n") self.assertEqual( diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindep-2.10.1/bindep.egg-info/PKG-INFO new/bindep-2.11.0/bindep.egg-info/PKG-INFO --- old/bindep-2.10.1/bindep.egg-info/PKG-INFO 2021-10-20 17:23:46.000000000 +0200 +++ new/bindep-2.11.0/bindep.egg-info/PKG-INFO 2022-04-18 21:01:53.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: bindep -Version: 2.10.1 +Version: 2.11.0 Summary: Binary dependency utility Home-page: https://docs.opendev.org/opendev/bindep Author: OpenDev Contributors diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindep-2.10.1/bindep.egg-info/SOURCES.txt new/bindep-2.11.0/bindep.egg-info/SOURCES.txt --- old/bindep-2.10.1/bindep.egg-info/SOURCES.txt 2021-10-20 17:23:46.000000000 +0200 +++ new/bindep-2.11.0/bindep.egg-info/SOURCES.txt 2022-04-18 21:01:54.000000000 +0200 @@ -30,6 +30,7 @@ bindep/tests/bindep.txt bindep/tests/test_depends.py bindep/tests/test_main.py +bindep/tests/fixtures/almalinux/etc/os-release bindep/tests/fixtures/alpine/etc/os-release bindep/tests/fixtures/amazonami/etc/os-release bindep/tests/fixtures/arch/etc/os-release @@ -56,6 +57,7 @@ doc/source/releasenotes.rst doc/source/usage.rst playbooks/bindep/run.yaml +releasenotes/notes/almalinux-154befa793559c61.yaml releasenotes/notes/apk-error-handling-94d6910226a770f2.yaml releasenotes/notes/as-module-b07f9bf5c220d3e5.yaml releasenotes/notes/extend-syntax-to-support-AND-type-operation-b9736898c474bf54.yaml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindep-2.10.1/bindep.egg-info/pbr.json new/bindep-2.11.0/bindep.egg-info/pbr.json --- old/bindep-2.10.1/bindep.egg-info/pbr.json 2021-10-20 17:23:46.000000000 +0200 +++ new/bindep-2.11.0/bindep.egg-info/pbr.json 2022-04-18 21:01:53.000000000 +0200 @@ -1 +1 @@ -{"git_version": "0bd79b1", "is_release": true} \ No newline at end of file +{"git_version": "5d6a6c5", "is_release": true} \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindep-2.10.1/bindep.egg-info/requires.txt new/bindep-2.11.0/bindep.egg-info/requires.txt --- old/bindep-2.10.1/bindep.egg-info/requires.txt 2021-10-20 17:23:46.000000000 +0200 +++ new/bindep-2.11.0/bindep.egg-info/requires.txt 2022-04-18 21:01:53.000000000 +0200 @@ -1,9 +1,10 @@ Parsley -distro pbr>=2.0.0 [:(python_version < '3.6')] +distro<1.7.0 packaging<21.0 [:(python_version >= '3.6')] +distro>=1.7.0 packaging diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindep-2.10.1/releasenotes/notes/almalinux-154befa793559c61.yaml new/bindep-2.11.0/releasenotes/notes/almalinux-154befa793559c61.yaml --- old/bindep-2.10.1/releasenotes/notes/almalinux-154befa793559c61.yaml 1970-01-01 01:00:00.000000000 +0100 +++ new/bindep-2.11.0/releasenotes/notes/almalinux-154befa793559c61.yaml 2022-04-18 21:01:06.000000000 +0200 @@ -0,0 +1,4 @@ +--- +features: + - | + Add support for AlmaLinux to Bindep. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bindep-2.10.1/requirements.txt new/bindep-2.11.0/requirements.txt --- old/bindep-2.10.1/requirements.txt 2021-10-20 17:22:52.000000000 +0200 +++ new/bindep-2.11.0/requirements.txt 2022-04-18 21:01:06.000000000 +0200 @@ -1,4 +1,5 @@ -distro +distro<1.7.0 ; python_version < '3.6' +distro>=1.7.0 ; python_version >= '3.6' pbr>=2.0.0 # Apache-2.0 Parsley packaging ; python_version >= '3.6'