Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-openqa_review for openSUSE:Factory checked in at 2025-07-08 15:30:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-openqa_review (Old) and /work/SRC/openSUSE:Factory/.python-openqa_review.new.7373 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-openqa_review" Tue Jul 8 15:30:06 2025 rev:46 rq:1291132 version:1.40.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-openqa_review/python-openqa_review.changes 2025-07-07 14:50:01.969127647 +0200 +++ /work/SRC/openSUSE:Factory/.python-openqa_review.new.7373/python-openqa_review.changes 2025-07-08 15:30:33.362046938 +0200 @@ -1,0 +2,11 @@ +Mon Jul 07 19:55:37 UTC 2025 - ok...@suse.com + +- Update to version 1.40.0: + * dist: Remove deprecated macros to build openqa_review + * dist: Add .spec file to git + * Remove flake pinned version + * Remove checks running under no longer supported Ubuntu version + * Adapt artifact upload to deprecation of `actions/upload-artifact@v2` + * Fix typos + +------------------------------------------------------------------- Old: ---- python-openqa_review-1.30.0.obscpio New: ---- python-openqa_review-1.40.0.obscpio ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-openqa_review.spec ++++++ --- /var/tmp/diff_new_pack.5eR2KX/_old 2025-07-08 15:30:34.334087548 +0200 +++ /var/tmp/diff_new_pack.5eR2KX/_new 2025-07-08 15:30:34.334087548 +0200 @@ -32,7 +32,7 @@ %define binaries openqa-review openqa-review-daily-email openqa-review-sles-ha tumblesle-release openqa-review-functional_yast_concise %define oldpython python Name: python-%{short_name}%{?name_ext} -Version: 1.30.0 +Version: 1.40.0 Release: 0 Summary: A review helper script for openQA License: MIT ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.5eR2KX/_old 2025-07-08 15:30:34.382089553 +0200 +++ /var/tmp/diff_new_pack.5eR2KX/_new 2025-07-08 15:30:34.386089720 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/os-autoinst/openqa_review.git</param> - <param name="changesrevision">aa6f001cfac6130d1037a39e76d4f80c86baaa79</param></service></servicedata> + <param name="changesrevision">25c62083a305c7dcb87ffbec6576a1ecf8cf36b9</param></service></servicedata> (No newline at EOF) ++++++ _update.sh ++++++ --- /var/tmp/diff_new_pack.5eR2KX/_old 2025-07-08 15:30:34.402090389 +0200 +++ /var/tmp/diff_new_pack.5eR2KX/_new 2025-07-08 15:30:34.406090556 +0200 @@ -1,7 +1,7 @@ #!/bin/sh -e osc up osc rm *.obscpio -osc service disabledrun +osc service manualrun version=$(osc diff | sed -n 's/^.*Update to version \([0-9.]\+\):/\1/p') sed -i -e "s/^\(Version:\s*\)[0-9.]\+/\1$version/g" python-openqa_review.spec osc add *.obscpio ++++++ python-openqa_review-1.30.0.obscpio -> python-openqa_review-1.40.0.obscpio ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-openqa_review-1.30.0/.github/workflows/python-package.yaml new/python-openqa_review-1.40.0/.github/workflows/python-package.yaml --- old/python-openqa_review-1.30.0/.github/workflows/python-package.yaml 2024-08-02 12:58:32.000000000 +0200 +++ new/python-openqa_review-1.40.0/.github/workflows/python-package.yaml 2025-07-07 14:55:11.000000000 +0200 @@ -9,13 +9,10 @@ fail-fast: false matrix: python-version: - - '3.6' - '3.11' - '3.12' include: - os: "ubuntu-latest" - - os: "ubuntu-20.04" - python-version: "3.6" steps: - uses: actions/checkout@v3 @@ -63,7 +60,7 @@ - run: ./.tox/cov/bin/coverage html # Run even if previous step failed but only if we are testing coverage if: ${{ always() && matrix.test-type == 'cov' }} - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: coverage path: coverage_html/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-openqa_review-1.30.0/.gitignore new/python-openqa_review-1.40.0/.gitignore --- old/python-openqa_review-1.30.0/.gitignore 2024-08-02 12:58:32.000000000 +0200 +++ new/python-openqa_review-1.40.0/.gitignore 2025-07-07 14:55:11.000000000 +0200 @@ -1,5 +1,5 @@ .tox/ -dist/ +dist/*.tar.* .cache/ .idea/ *__pycache__/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-openqa_review-1.30.0/dist/rpm/python-openqa_review.spec new/python-openqa_review-1.40.0/dist/rpm/python-openqa_review.spec --- old/python-openqa_review-1.30.0/dist/rpm/python-openqa_review.spec 1970-01-01 01:00:00.000000000 +0100 +++ new/python-openqa_review-1.40.0/dist/rpm/python-openqa_review.spec 2025-07-07 14:55:11.000000000 +0200 @@ -0,0 +1,138 @@ +# +# spec file for package python +# +# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +# Define just "test" as a package in _multibuild file to distinguish test +# instructions here +%if "@BUILD_FLAVOR@" == "" +%define _test 0 +%define name_ext %nil +%else +%define _test 1 +%define name_ext -test +%endif + +%define pythons python3 + +%{?!python_module:%define python_module() python-%{**} python3-%{**}} +%define short_name openqa_review +%define binaries openqa-review openqa-review-daily-email openqa-review-sles-ha tumblesle-release openqa-review-functional_yast_concise +%define oldpython python +Name: python-%{short_name}%{?name_ext} +Version: 0 +Release: 0 +Summary: A review helper script for openQA +License: MIT +Group: Development/Languages/Python +Source: https://github.com/okurz/%{short_name}/python-%{short_name}-%{version}.tar.xz +Url: https://github.com/okurz/%{short_name} +BuildRequires: python-rpm-macros +%if 0%{?_test} +BuildRequires: python3-%{short_name} +%else +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: fdupes +# workaround because of python-configparser not providing the '__init__.py' +# file within site-packages/backports +%if "%{python_flavor}" == "python2" +Requires: python-backports.ssl_match_hostname +Requires: python-configparser +%endif +Requires: python-PyYAML +Requires: python-beautifulsoup4 +Requires: python-certifi +Requires: python-humanfriendly +Requires: python-pika +Requires: python-requests +Requires: python-setuptools +Requires: python-sortedcontainers +Requires(post): update-alternatives +Requires(preun): update-alternatives +%endif +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%ifpython2 +Obsoletes: %{oldpython}-%{short_name} < %{version} +%endif + +%if 0%{?_test} +%else +%python_subpackages +%endif + +%description +A review helper script for openQA. For more details look into the README file. + +%prep +%if 0%{?_test} +# workaround to prevent post/install failing assuming this file for whatever +# reason +touch %{_sourcedir}/%{short_name} +%else +%autosetup +# delete shebang of files not in executable path +find %{short_name}/ -name '*.py' -print0 | xargs -0 sed -i '1s/#!.*$//' +%endif + +%build +%if 0%{?_test} +openqa-review --help +tumblesle-release --help +%else +%pyproject_wheel +%endif + +%install +%if 0%{?_test} +# disable debug packages in package test to prevent error about missing files +%define debug_package %{nil} +%else +%pyproject_install +rm %{buildroot}/%{python_sitelib}/version.* + +for i in %{binaries}; do + %python_clone -a %{buildroot}%{_bindir}/$i +done +%fdupes %{buildroot}%{_prefix} + +%post +%{python_install_alternative %{binaries}} + +%preun +%python_uninstall_alternative openqa-review + +%files %{python_files} +%defattr(-,root,root,-) +%if 0%{?suse_version} < 1500 +%doc LICENSE +%else +%license LICENSE +%endif +%doc README.md +%{python_sitelib} +%python_alternative %{_bindir}/openqa-review +%python_alternative %{_bindir}/openqa-review-sles-ha +%python_alternative %{_bindir}/openqa-review-daily-email +%python_alternative %{_bindir}/openqa-review-functional_yast_concise +%python_alternative %{_bindir}/tumblesle-release + +%endif + +%changelog diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-openqa_review-1.30.0/openqa_review/browser.py new/python-openqa_review-1.40.0/openqa_review/browser.py --- old/python-openqa_review-1.30.0/openqa_review/browser.py 2024-08-02 12:58:32.000000000 +0200 +++ new/python-openqa_review-1.40.0/openqa_review/browser.py 2025-07-07 14:55:11.000000000 +0200 @@ -52,7 +52,7 @@ def url_to_filename(url): """ - Convert URL to a valid, unambigous filename. + Convert URL to a valid, unambiguous filename. >>> url_to_filename('http://openqa.opensuse.org/tests/foo/3') 'http%3A::openqa.opensuse.org:tests:foo:3' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-openqa_review-1.30.0/openqa_review/openqa_review.py new/python-openqa_review-1.40.0/openqa_review/openqa_review.py --- old/python-openqa_review-1.30.0/openqa_review/openqa_review.py 2024-08-02 12:58:32.000000000 +0200 +++ new/python-openqa_review-1.40.0/openqa_review/openqa_review.py 2025-07-07 14:55:11.000000000 +0200 @@ -525,8 +525,8 @@ builds_to_compare = sorted(finished_builds, key=mysort, reverse=True)[0:2] if builds: - # User has to be careful here. A page for non-existant builds is always - # existant. + # User has to be careful here. A page for non-existent builds is always + # existent. builds_to_compare = builds.split(",") log.debug("Specified builds %s, parsed to %s" % (builds, ", ".join(builds_to_compare))) elif against_reviewed: @@ -1337,7 +1337,7 @@ "-b", "--builds", help="""Select explicit builds, comma separated. - Specify as unambigous search terms, e.g. build number, + Specify as unambiguous search terms, e.g. build number, the full string, etc. Only works with single job-group/job-group-urls. Default 'last' and 'previous'.""", ) @@ -1558,7 +1558,7 @@ try: return ProductReport(self.browser, job_group_url, self.root_url, self.args) except NotEnoughBuildsError as e: - log.debug("Catched 'not enough builds': %s" % e) + log.debug("Caught 'not enough builds': %s" % e) return "" if self.args.todo_only else "Not enough finished builds found" def _next_label(self): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-openqa_review-1.30.0/openqa_review/tumblesle_release.py new/python-openqa_review-1.40.0/openqa_review/tumblesle_release.py --- old/python-openqa_review-1.30.0/openqa_review/tumblesle_release.py 2024-08-02 12:58:32.000000000 +0200 +++ new/python-openqa_review-1.40.0/openqa_review/tumblesle_release.py 2025-07-07 14:55:11.000000000 +0200 @@ -156,7 +156,7 @@ self.notify_seen.append(body) def run(self, do_run=True): - """Continously run while 'do_run' is True, check for last build and release if satisfying.""" + """Continuously run while 'do_run' is True, check for last build and release if satisfying.""" while do_run: if self.args.run_once: log.debug("Requested to run only once") @@ -218,7 +218,7 @@ last_iso = sorted(isos)[-1] log.debug("Found last ISO %s" % last_iso) build = {} - # TODO check for running build. It should have the same effect as we compare nr of passed anyway later but it's better to explictly abort faster + # TODO check for running build. It should have the same effect as we compare nr of passed anyway later but it's better to explicitly abort faster build["last"] = ( re.search("(?<=-Build)[0-9@]+", last_iso).group() if self.args.check_build == "last" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python-openqa_review-1.30.0/tox.ini new/python-openqa_review-1.40.0/tox.ini --- old/python-openqa_review-1.30.0/tox.ini 2024-08-02 12:58:32.000000000 +0200 +++ new/python-openqa_review-1.40.0/tox.ini 2025-07-07 14:55:11.000000000 +0200 @@ -27,7 +27,7 @@ [testenv:flake8] deps = - flake8<6.0.0 # TODO remove pinned version once https://github.com/zheller/flake8-quotes/pull/111 is merged. + flake8 flake8-black flake8-docstrings flake8-quotes ++++++ python-openqa_review.obsinfo ++++++ --- /var/tmp/diff_new_pack.5eR2KX/_old 2025-07-08 15:30:34.950113284 +0200 +++ /var/tmp/diff_new_pack.5eR2KX/_new 2025-07-08 15:30:34.954113452 +0200 @@ -1,5 +1,5 @@ name: python-openqa_review -version: 1.30.0 -mtime: 1722596312 -commit: aa6f001cfac6130d1037a39e76d4f80c86baaa79 +version: 1.40.0 +mtime: 1751892911 +commit: 25c62083a305c7dcb87ffbec6576a1ecf8cf36b9