Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-yamllint for openSUSE:Factory 
checked in at 2022-07-19 17:19:37
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-yamllint (Old)
 and      /work/SRC/openSUSE:Factory/.python-yamllint.new.1523 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-yamllint"

Tue Jul 19 17:19:37 2022 rev:13 rq:990024 version:1.27.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-yamllint/python-yamllint.changes  
2022-04-13 22:15:29.552201748 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-yamllint.new.1523/python-yamllint.changes    
    2022-07-19 17:19:38.264388703 +0200
@@ -1,0 +2,19 @@
+Mon Jul 18 16:46:08 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to 1.27.1
+  * Fix failing test on key-duplicates for old PyYAML versions
+- Release
+  * Add support for Python 3.10, drop Python 3.5
+  * Refactor --format=auto logic
+  * Rule comments: allow whitespace after the shebang marker
+  * Attempt to clarify configuration file location in documentation
+  * Rule key-duplicates: don't crash on redundant closing brackets
+    or braces
+  * Remove UTF-8 headers in Python files, since Python 2 isn't
+    supported
+  * Rule octal-values: pre-compile regex for performance
+  * Rule new-lines: add the type: platform config option
+  * Add the new rule float-values
+- Fix boo#1151703 on older stuff and ignore on Python >= 3.8
+
+-------------------------------------------------------------------

Old:
----
  yamllint-1.26.3.tar.gz

New:
----
  yamllint-1.27.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-yamllint.spec ++++++
--- /var/tmp/diff_new_pack.GgeYce/_old  2022-07-19 17:19:38.672389247 +0200
+++ /var/tmp/diff_new_pack.GgeYce/_new  2022-07-19 17:19:38.680389258 +0200
@@ -16,20 +16,26 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%{?!python_module:%define python_module() python3-%{**}}
+%define skip_python2 1
 Name:           python-yamllint
-Version:        1.26.3
+Version:        1.27.1
 Release:        0
 Summary:        A linter for YAML files
 License:        GPL-3.0-only
 Group:          Development/Languages/Python
 URL:            https://github.com/adrienverge/yamllint
 Source:         
https://files.pythonhosted.org/packages/source/y/yamllint/yamllint-%{version}.tar.gz
+BuildRequires:  %{python_module base >= 3.6}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 Requires:       python-PyYAML
 Requires:       python-pathspec >= 0.5.3
+%if 0%{python_version_nodots} < 38
+# boo#1151703, See below
+Requires:       python-setuptools
+%endif
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
 BuildArch:      noarch
@@ -48,6 +54,8 @@
 
 %prep
 %setup -q -n yamllint-%{version}
+# override gh#adrienverge/yamllint#401, boo#1151703 fixed by 
importlib.resources in python >= 3.8 and a recent setuptools
+sed 's/  setuptools/  setuptools; python_version < "3.8"/' setup.cfg
 
 %build
 %python_build
@@ -59,7 +67,9 @@
 
 %check
 export LANG="en_US.UTF8"
-%python_exec -m unittest discover -v
+# skip test_run_with_user_global_config_file, probably same reason as 
upstreams GHA skip: '$HOME not overridable'
+export GITHUB_RUN_ID=1
+%pyunittest -v
 
 %post
 %python_install_alternative yamllint
@@ -71,6 +81,7 @@
 %doc README.rst
 %license LICENSE
 %python_alternative %{_bindir}/yamllint
-%{python_sitelib}/*
+%{python_sitelib}/yamllint
+%{python_sitelib}/yamllint-%{version}*-info
 
 %changelog

++++++ yamllint-1.26.3.tar.gz -> yamllint-1.27.1.tar.gz ++++++
++++ 1666 lines of diff (skipped)

Reply via email to