Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-line_profiler for 
openSUSE:Factory checked in at 2022-01-08 23:23:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-line_profiler (Old)
 and      /work/SRC/openSUSE:Factory/.python-line_profiler.new.1892 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-line_profiler"

Sat Jan  8 23:23:32 2022 rev:6 rq:944765 version:3.4.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-line_profiler/python-line_profiler.changes    
    2021-04-22 18:06:13.574720725 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-line_profiler.new.1892/python-line_profiler.changes
      2022-01-08 23:24:05.898255107 +0100
@@ -1,0 +2,21 @@
+Fri Jan  7 09:54:01 UTC 2022 - Ben Greiner <c...@bnavigator.de>
+
+- Update to 3.4.0
+  * Drop support for Python <= 3.5.x
+  * FIX: #104 issue with new IPython kernels
+  * Wheels for musllinux are now included
+  * FIX: Fix bug where lines were not displayed in Jupyter>=6.0 via
+    #93
+- Release 3.3.1
+  * CHANGE: moving forward, new pypi releases will be signed with
+    the GPG key 2A290272C174D28EA9CA48E9D7224DAF0347B114 for
+    PyUtils-CI openpyut...@gmail.com. For reference, older versions
+    were signed with either
+    262A1DF005BE5D2D5210237C85CD61514641325F or
+    1636DAF294BA22B89DBB354374F166CFA2F39C18.
+- Release 3.2.5
+  * Include c source files in manifest (#74)
+- Fix IPython requirements
+- Fix platform install dir
+
+-------------------------------------------------------------------

Old:
----
  line_profiler-3.1.0.tar.gz

New:
----
  line_profiler-3.4.0.tar.gz

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

Other differences:
------------------
++++++ python-line_profiler.spec ++++++
--- /var/tmp/diff_new_pack.dsDLRd/_old  2022-01-08 23:24:06.402255519 +0100
+++ /var/tmp/diff_new_pack.dsDLRd/_new  2022-01-08 23:24:06.406255522 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-line_profiler
 #
-# Copyright (c) 2021 SUSE LLC
+# Copyright (c) 2022 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,16 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-line_profiler
-Version:        3.1.0
+Version:        3.4.0
 Release:        0
 Summary:        Line-by-line profiler
 License:        BSD-3-Clause
 Group:          Development/Languages/Python
-URL:            https://github.com/rkern/line_profiler
+URL:            https://github.com/pyutils/line_profiler
 Source:         
https://files.pythonhosted.org/packages/source/l/line_profiler/line_profiler-%{version}.tar.gz
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
-BuildRequires:  %{python_module jupyter_ipython}
+BuildRequires:  %{python_module ipython}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scikit-build}
 BuildRequires:  %{python_module setuptools}
@@ -36,7 +36,7 @@
 BuildRequires:  gcc-c++
 BuildRequires:  ninja
 BuildRequires:  python-rpm-macros
-Requires:       python-jupyter_ipython
+Requires:       python-ipython
 Requires(post): update-alternatives
 Requires(postun):update-alternatives
 %python_subpackages
@@ -54,21 +54,20 @@
 %setup -q -n line_profiler-%{version}
 
 %build
-# fix wrongly generated cyx files
+# regenarate cython files
 find . -name '*.pyx' -exec cython {} \;
 export CFLAGS="%{optflags} -fno-strict-aliasing"
+# remove shebangs
+sed -i '1{/env python/d}' line_profiler/line_profiler.py kernprof.py
+# fix for skbuild not specifying the platlib
+sed -i 's/setup(\*\*setupkw)/setup(**setupkw, 
ext_modules=[setuptools.Extension(name="line_profiler._line_profiler",sources=[])])/'
 setup.py
 %python_build
 
 %install
 %python_install
 %python_clone -a %{buildroot}%{_bindir}/kernprof
-%{python_expand chmod a+x %{buildroot}%{$python_sitelib}/line_profiler/*.py
-sed -i "s|#!%{_bindir}/env python|#!%__$python|" 
%{buildroot}%{$python_sitelib}/line_profiler/*.py
-$python -m compileall -d %{$python_sitelib}/line_profiler 
%{buildroot}%{$python_sitelib}/line_profiler
-$python -O -m compileall -d %{$python_sitelib}/line_profiler 
%{buildroot}%{$python_sitelib}/line_profiler
-rm -rf %{buildroot}%{$python_sitelib}/line_profiler/__pycache__
-%fdupes %{buildroot}%{$python_sitelib}
-}
+%python_compileall
+%python_expand %fdupes %{buildroot}%{$python_sitearch}
 
 %post
 %python_install_alternative kernprof
@@ -78,16 +77,15 @@
 
 %check
 # test_cli needs ubelt, which we don't have and which is needed just for tests
-%pytest -k "not test_cli" tests
+%pytest_arch -k "not test_cli" tests
 
 %files %{python_files}
 %doc README.rst
 %license LICENSE.txt LICENSE_Python.txt
 %python_alternative %{_bindir}/kernprof
-%dir %{python_sitelib}/line_profiler
-%{python_sitelib}/line_profiler-%{version}-py*.egg-info
-%{python_sitelib}/kernprof.py*
-%{python_sitelib}/line_profiler/*.py*
-%{python_sitelib}/line_profiler/_line_profiler*.so
+%{python_sitearch}/line_profiler
+%{python_sitearch}/line_profiler-%{version}*-info
+%{python_sitearch}/kernprof.py*
+%pycache_only %{python_sitearch}/__pycache__/kernprof*
 
 %changelog

++++++ line_profiler-3.1.0.tar.gz -> line_profiler-3.4.0.tar.gz ++++++
++++ 2072 lines of diff (skipped)

Reply via email to