Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-isort for openSUSE:Factory 
checked in at 2024-01-23 22:56:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-isort (Old)
 and      /work/SRC/openSUSE:Factory/.python-isort.new.16006 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-isort"

Tue Jan 23 22:56:19 2024 rev:42 rq:1140773 version:5.13.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-isort/python-isort.changes        
2023-12-17 21:35:24.428303889 +0100
+++ /work/SRC/openSUSE:Factory/.python-isort.new.16006/python-isort.changes     
2024-01-23 22:56:32.653292633 +0100
@@ -1,0 +2,6 @@
+Mon Jan 15 17:50:47 UTC 2024 - Antonio Larrosa <alarr...@suse.com>
+
+- Disable pylama tests in SLE since pylama adds too many
+  dependencies.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-isort.spec ++++++
--- /var/tmp/diff_new_pack.utpKK8/_old  2024-01-23 22:56:33.205312816 +0100
+++ /var/tmp/diff_new_pack.utpKK8/_new  2024-01-23 22:56:33.209312963 +0100
@@ -1,7 +1,7 @@
 #
 # spec file
 #
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2024 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,12 @@
 %bcond_with test
 %endif
 
+%if 0%{?suse_version} < 1550
+%bcond_with pylama
+%else
+%bcond_without pylama
+%endif
+
 %{?sle15_python_module_pythons}
 Name:           python-isort%{psuffix}
 Version:        5.13.2
@@ -58,7 +64,9 @@
 BuildRequires:  %{python_module pip-api}
 BuildRequires:  %{python_module pipreqs}
 BuildRequires:  %{python_module poetry}
+%if %{with pylama}
 BuildRequires:  %{python_module pylama}
+%endif
 BuildRequires:  %{python_module pytest > 6.0}
 BuildRequires:  %{python_module pytest-mock}
 BuildRequires:  %{python_module toml >= 0.10.2}
@@ -79,6 +87,10 @@
 %setup -q -n isort-%{version}
 chmod -x LICENSE
 
+%if %{without pylama}
+sed -i '/import isort.pylama_isort/d' tests/unit/test_importable.py
+%endif
+
 echo "
 # increase test deadline for slow obs executions
 import hypothesis
@@ -107,6 +119,9 @@
 ignoretests="--ignore tests/integration/test_projects_using_isort.py"
 # don't run benchmarks
 ignoretests+=" --ignore tests/benchmark"
+%if %{without pylama}
+ignoretests+=" --ignore tests/unit/test_pylama_isort.py"
+%endif
 # test_setting_combinations.py::test_isort_is_idempotent
 # is flaky https://github.com/PyCQA/isort/issues/1466
 donttest="(test_setting_combinations and test_isort_is_idempotent)"

Reply via email to