Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-flake8 for openSUSE:Factory 
checked in at 2022-08-30 14:49:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-flake8 (Old)
 and      /work/SRC/openSUSE:Factory/.python-flake8.new.2083 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-flake8"

Tue Aug 30 14:49:00 2022 rev:40 rq:999905 version:5.0.4

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-flake8/python-flake8.changes      
2022-08-23 14:25:57.583135398 +0200
+++ /work/SRC/openSUSE:Factory/.python-flake8.new.2083/python-flake8.changes    
2022-08-30 14:49:28.520119708 +0200
@@ -1,0 +2,8 @@
+Sat Aug 27 09:12:43 UTC 2022 - Ben Greiner <[email protected]>
+
+- Pin to upstream's ranges in dependendcies in order to not break
+  downstream packages all the time
+  
https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
+- Remove obsolete python2 packaging directives
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-flake8.spec ++++++
--- /var/tmp/diff_new_pack.sO3cbg/_old  2022-08-30 14:49:29.068121107 +0200
+++ /var/tmp/diff_new_pack.sO3cbg/_new  2022-08-30 14:49:29.072121118 +0200
@@ -17,46 +17,36 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without python2
+%define skip_python2 1
 Name:           python-flake8
 Version:        5.0.4
 Release:        0
 Summary:        Modular source code checker: pep8, pyflakes and co
 License:        MIT
-URL:            https://gitlab.com/pycqa/flake8
+URL:            https://flake8.pycqa.org
 Source:         
https://files.pythonhosted.org/packages/source/f/flake8/flake8-%{version}.tar.gz
 # workaround for https://github.com/PyCQA/flake8/pull/1669
 Source2:        
https://raw.githubusercontent.com/PyCQA/flake8/5.0.4/bin/gen-pycodestyle-plugin
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-importlib-metadata >= 1.1.0
-Requires:       python-mccabe >= 0.7.0
-Requires:       python-pycodestyle >= 2.9.0
-Requires:       python-pyflakes >= 2.5.0
-Requires:       python-typing
-Requires(post): update-alternatives
-Requires(postun):update-alternatives
-BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module importlib-metadata >= 1.1.0}
-BuildRequires:  %{python_module mccabe >= 0.7.0}
-BuildRequires:  %{python_module pycodestyle >= 2.9.0}
-BuildRequires:  %{python_module pyflakes >= 2.5.0}
+BuildRequires:  %{python_module importlib-metadata >= 1.1.0 if %python-version 
< 3.8}
+BuildRequires:  %{python_module mccabe >= 0.7.0 with %python-mccabe < 0.8.0}
+BuildRequires:  %{python_module pycodestyle >= 2.9.0 with %python-pycodestyle 
< 2.10.0}
+BuildRequires:  %{python_module pyflakes >= 2.5.0 with %python-pyflakes < 
2.6.0}
 BuildRequires:  %{python_module pytest}
-BuildRequires:  %{python_module typing}
-%if %{with python2}
-BuildRequires:  python2-configparser >= 3.7.0
-BuildRequires:  python2-enum34
-BuildRequires:  python2-functools32
-BuildRequires:  python2-mock
-%endif
 # /SECTION
-%ifpython2
-Requires:       python-configparser >= 3.7.0
-Requires:       python-enum34
-Requires:       python-functools32
+BuildArch:      noarch
+# 
https://flake8.pycqa.org/en/latest/faq.html#why-does-flake8-use-ranges-for-its-dependencies
+Requires:       (python-mccabe >= 0.7.0 with python-mccabe < 0.8.0)
+Requires:       (python-pycodestyle >= 2.9.0 with python-pycodestyle < 2.10.0)
+Requires:       (python-pyflakes >= 2.5.0 with python-pyflakes < 2.6.0)
+%if 0%{?python_version_nodots} < 38
+Requires:       python-importlib-metadata >= 1.1.0
 %endif
+Requires(post): update-alternatives
+Requires(postun):update-alternatives
 %python_subpackages
 
 %description
@@ -102,9 +92,8 @@
 %files %{python_files}
 %license LICENSE
 %python_alternative %{_bindir}/flake8
-%dir %{python_sitelib}/flake8
-%{python_sitelib}/flake8/*
-%{python_sitelib}/flake8-%{version}-py*.egg-info
+%{python_sitelib}/flake8
+%{python_sitelib}/flake8-%{version}*-info
 
 %files -n %{name}-doc
 %doc README.rst

Reply via email to