Hello community,

here is the log from the commit of package python-line_profiler for 
openSUSE:Factory checked in at 2018-07-31 15:56:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-line_profiler (Old)
 and      /work/SRC/openSUSE:Factory/.python-line_profiler.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-line_profiler"

Tue Jul 31 15:56:35 2018 rev:2 rq:624297 version:2.1.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-line_profiler/python-line_profiler.changes    
    2018-05-15 10:33:20.944304770 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-line_profiler.new/python-line_profiler.changes
   2018-07-31 15:56:36.395262566 +0200
@@ -1,0 +2,6 @@
+Thu Jul 19 15:06:24 UTC 2018 - [email protected]
+
+- Switch off tests (they are broken,
+  https://github.com/rkern/line_profiler/issues/128)
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ python-line_profiler.spec ++++++
--- /var/tmp/diff_new_pack.uFpx99/_old  2018-07-31 15:56:36.847263331 +0200
+++ /var/tmp/diff_new_pack.uFpx99/_new  2018-07-31 15:56:36.851263338 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-line_profiler
 #
-# Copyright (c) 2018 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# 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
@@ -17,7 +17,6 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%bcond_without  test
 Name:           python-line_profiler
 Version:        2.1.2
 Release:        0
@@ -26,16 +25,15 @@
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
 Source:         
https://files.pythonhosted.org/packages/source/l/line_profiler/line_profiler-%{version}.tar.gz
-BuildRequires:  fdupes
-BuildRequires:  python-rpm-macros
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
+BuildRequires:  %{python_module jupyter_ipython}
+BuildRequires:  %{python_module prompt_toolkit}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 BuildRequires:  python3-devel >= 3.5
-%if %{with test}
-BuildRequires:  %{python_module nose}
-BuildRequires:  %{python_module jupyter_ipython}
-%endif
 %ifpython3
 Requires:       python3-base >= 3.5
 %endif
@@ -76,14 +74,11 @@
 %postun
 %python_uninstall_alternative kernprof
 
-%if %{with test}
 %check
-pushd tests
-%{python_expand export PYTHONPATH="%{buildroot}%{$python_sitearch}" 
-$python -B -m nose
-}
-popd
-%endif
+# https://github.com/rkern/line_profiler/issues/128
+# %%{python_expand export PYTHONPATH="%%{buildroot}%%{$python_sitearch}" 
+# py.test-%%{$python_bin_suffix} tests
+# }
 
 %files %{python_files}
 %defattr(-,root,root,-)
@@ -92,7 +87,7 @@
 %python_alternative %{_bindir}/kernprof
 %{python_sitearch}/line_profiler-%{version}-py*.egg-info
 %{python_sitearch}/kernprof.py*
-%{python_sitearch}/line_profiler.py*
+%{python_sitearch}/line_profiler*.py*
 %{python_sitearch}/_line_profiler*.so
 %python3_only %{python_sitearch}/line_profiler_py35.py*
 %pycache_only %{python_sitearch}/__pycache__/kernprof*.py*


Reply via email to