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 2023-02-20 17:46:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-line_profiler (Old)
 and      /work/SRC/openSUSE:Factory/.python-line_profiler.new.22824 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-line_profiler"

Mon Feb 20 17:46:07 2023 rev:8 rq:1066713 version:4.0.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-line_profiler/python-line_profiler.changes    
    2022-09-30 17:58:10.389297184 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-line_profiler.new.22824/python-line_profiler.changes
     2023-02-20 17:46:32.243663344 +0100
@@ -1,0 +2,22 @@
+Mon Feb 20 07:01:56 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Update to 4.0.2:
+  * FIX: AttributeError on certain methods. #191
+  * FIX: Profiling classmethods works again. #183
+  * ENH: Python 3.11 is now supported.
+  * ENH: Profiling overhead is now drastically smaller, thanks to
+    reimplementing almost all of the tracing callback in C++.
+  * ENH: Added the ``-i <# of seconds>`` option to the ``kernprof`` script.
+  * CHANGE: Cython's native cythonize function is now used to compile the
+    project, instead of scikit-build's convoluted process.
+  * CHANGE: Due to optimizations done while reimplementing the callback in
+    C++, the profiler's code_map and last_time attributes now are indexed by
+    a hash of the code block's bytecode and its line number.
+  * FIX: filepath test in is_ipython_kernel_cell for Windows #161
+  * ADD: setup.py now checks LINE_PROFILER_BUILD_METHOD to determine how
+    to build binaries
+  * ADD: LineProfiler.add_function warns if an added function has a
+    __wrapped__ attribute
+- Due to build system change, massively simplify %build.
+
+-------------------------------------------------------------------

Old:
----
  line_profiler-3.5.1.tar.gz

New:
----
  line_profiler-4.0.2.tar.gz

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

Other differences:
------------------
++++++ python-line_profiler.spec ++++++
--- /var/tmp/diff_new_pack.1PnTDi/_old  2023-02-20 17:46:36.835689285 +0100
+++ /var/tmp/diff_new_pack.1PnTDi/_new  2023-02-20 17:46:36.847689353 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-line_profiler
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,11 @@
 #
 
 
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-line_profiler
-Version:        3.5.1
+Version:        4.0.2
 Release:        0
 Summary:        Line-by-line profiler
 License:        BSD-3-Clause
-Group:          Development/Languages/Python
 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}
@@ -54,13 +52,9 @@
 %setup -q -n line_profiler-%{version}
 
 %build
-# 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

++++++ line_profiler-3.5.1.tar.gz -> line_profiler-4.0.2.tar.gz ++++++
++++ 22328 lines of diff (skipped)

Reply via email to