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 2024-02-15 21:00:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-line_profiler (Old)
 and      /work/SRC/openSUSE:Factory/.python-line_profiler.new.1815 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-line_profiler"

Thu Feb 15 21:00:46 2024 rev:11 rq:1146675 version:4.1.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-line_profiler/python-line_profiler.changes    
    2023-08-14 22:35:47.532428525 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-line_profiler.new.1815/python-line_profiler.changes
      2024-02-15 21:02:01.679425294 +0100
@@ -1,0 +2,27 @@
+Tue Dec  5 12:55:42 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 4.1.2:
+  * ENH: Add support for Python 3.12 #246
+  * ENH: Add osx universal2 and arm64 wheels
+  * ENH: Fix issue with integer overflow on 32 bit systems
+  * FIX: ``get_stats`` is no longer slowed down when profiling
+    many code sections #236
+  * FIX: skipzeros now checks for zero hits instead of zero time
+  * FIX: Fixed errors in Python 3.11 with duplicate functions.
+  * FIX: ``show_text`` now increases column sizes or switches to
+    scientific notation to maintain alignment
+  * ENH: ``show_text`` now has new options: sort and summarize
+  * ENH: Added new CLI arguments ``-srm`` to ``line_profiler`` to
+    control sorting, rich printing, and summary printing.
+  * ENH: New global ``profile`` function that can be enabled by
+    ``--profile`` or ``LINE_PROFILE=1``.
+  * ENH: New auto-profile feature in ``kernprof`` that will
+    profile all functions in specified modules.
+  * ENH: Kernprof now outputs instructions on how to view
+    results.
+  * ENH: Added readthedocs integration:
+    https://kernprof.readthedocs.io/en/latest/index.html
+- Add patch use-sys-executable-python.patch:
+  * Use sys.executable, rather than 'python'.
+
+-------------------------------------------------------------------

Old:
----
  line_profiler-4.0.3.tar.gz

New:
----
  line_profiler-4.1.2.tar.gz
  use-sys-executable-python.patch

BETA DEBUG BEGIN:
  New:    https://kernprof.readthedocs.io/en/latest/index.html
- Add patch use-sys-executable-python.patch:
  * Use sys.executable, rather than 'python'.
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-line_profiler.spec ++++++
--- /var/tmp/diff_new_pack.jBMIbl/_old  2024-02-15 21:02:02.127441040 +0100
+++ /var/tmp/diff_new_pack.jBMIbl/_new  2024-02-15 21:02:02.127441040 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-line_profiler
 #
-# 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
@@ -17,18 +17,21 @@
 
 
 Name:           python-line_profiler
-Version:        4.0.3
+Version:        4.1.2
 Release:        0
 Summary:        Line-by-line profiler
 License:        BSD-3-Clause
 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 with %python-Cython < 3}
+# submitted upstream as https://github.com/pyutils/line_profiler/pull/252
+Patch1:         use-sys-executable-python.patch
+BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module ipython}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module scikit-build}
 BuildRequires:  %{python_module setuptools}
+BuildRequires:  %{python_module ubelt}
 BuildRequires:  cmake
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
@@ -36,7 +39,7 @@
 BuildRequires:  python-rpm-macros
 Requires:       python-ipython
 Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
 %python_subpackages
 
 %description
@@ -49,7 +52,7 @@
 function-level profiling tools in the Python standard library.
 
 %prep
-%setup -q -n line_profiler-%{version}
+%autosetup -p1 -n line_profiler-%{version}
 
 %build
 export CFLAGS="%{optflags} -fno-strict-aliasing"

++++++ line_profiler-4.0.3.tar.gz -> line_profiler-4.1.2.tar.gz ++++++
++++ 25822 lines of diff (skipped)

++++++ use-sys-executable-python.patch ++++++
--- line_profiler-4.1.2/tests/test_complex_case.py
+++ line_profiler-4.1.2/tests/test_complex_case.py
@@ -20,7 +20,7 @@
     Make sure the complex example script works without any profiling
     """
     complex_fpath = get_complex_example_fpath()
-    info = ub.cmd(f'python {complex_fpath}', shell=True, verbose=3, 
env=ub.udict(os.environ) | {'PROFILE_TYPE': 'none'})
+    info = ub.cmd(f'{sys.executable} {complex_fpath}', shell=True, verbose=3, 
env=ub.udict(os.environ) | {'PROFILE_TYPE': 'none'})
     assert info.stdout == ''
     info.check_returncode()
 

Reply via email to