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 2026-04-08 17:17:01
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-line_profiler (Old)
 and      /work/SRC/openSUSE:Factory/.python-line_profiler.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-line_profiler"

Wed Apr  8 17:17:01 2026 rev:16 rq:1345116 version:5.0.2

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-line_profiler/python-line_profiler.changes    
    2025-11-05 16:23:36.855472566 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-line_profiler.new.21863/python-line_profiler.changes
     2026-04-08 17:17:02.535156955 +0200
@@ -1,0 +2,23 @@
+Wed Apr  8 06:01:40 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 5.0.2:
+  * ENH: improved type annotations and moved them inline
+  * FIX: Prevented duplicate or inconsistent profiler output under Python
+    3.14 when multiprocessing is used.
+  * ENH: Add %%lprun_all for more beginner-friendly profiling in
+    IPython/Jupyter
+  * FIX: mitigate speed regressions introduced in 5.0.0
+  * ENH: Added capability to combine profiling data both programmatically
+    (LineStats.__add__()) and via the CLI (python -m line_profiler)
+  * FIX: ref-count leaks
+  * FIX: Use import system to locate module file run by kernprof -m
+  * FIX: Move away from older, (temporarily-)deprecated importlib.resources
+    APIs in line_profiler.toml_config
+  * CHANGE: remove default alphabetical sorting of profiled functions
+- Drop patches:
+  * no-python-in-path.patch
+  * support-python314.patch
+- Add patch do-not-reset-pythonpath.patch:
+  * Do not reset PYTHONPATH in two tests.
+
+-------------------------------------------------------------------

Old:
----
  line_profiler-5.0.0.tar.gz
  no-python-in-path.patch
  support-python314.patch

New:
----
  do-not-reset-pythonpath.patch
  line_profiler-5.0.2.tar.gz

----------(Old B)----------
  Old:- Drop patches:
  * no-python-in-path.patch
  * support-python314.patch
  Old:  * no-python-in-path.patch
  * support-python314.patch
- Add patch do-not-reset-pythonpath.patch:
----------(Old E)----------

----------(New B)----------
  New:  * support-python314.patch
- Add patch do-not-reset-pythonpath.patch:
  * Do not reset PYTHONPATH in two tests.
----------(New E)----------

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

Other differences:
------------------
++++++ python-line_profiler.spec ++++++
--- /var/tmp/diff_new_pack.VAJrwl/_old  2026-04-08 17:17:03.239185900 +0200
+++ /var/tmp/diff_new_pack.VAJrwl/_new  2026-04-08 17:17:03.239185900 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-line_profiler
 #
-# Copyright (c) 2025 SUSE LLC and contributors
+# Copyright (c) 2026 SUSE LLC and contributors
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,16 +18,14 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-line_profiler
-Version:        5.0.0
+Version:        5.0.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
-# PATCH-FIX-OPENSUSE We do not ship bare python, so don't look for it
-Patch0:         no-python-in-path.patch
-# PATCH-FIX-UPSTREAM gh#pyutils/line_profiler#369
-Patch1:         support-python314.patch
+# PATCH-FIX-UPSTREAM gh#pyutils/line_profiler#430
+Patch0:         do-not-reset-pythonpath.patch
 BuildRequires:  %{python_module Cython}
 BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module ipython}

++++++ do-not-reset-pythonpath.patch ++++++
>From 471c275efd1861879f488abf750199e6de8995f9 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Wed, 8 Apr 2026 15:51:41 +1000
Subject: [PATCH] Do not explicitly reset PYTHONPATH for two tests

Two testcases in test_explicit_profile explicitly reset PYTHONPATH to
just the current working directory, whereas other testcases in the same
file make sure to respect the existing PYTHONPATH.
---
 tests/test_explicit_profile.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/test_explicit_profile.py b/tests/test_explicit_profile.py
index 1a5b2a7c..f7ecd787 100644
--- a/tests/test_explicit_profile.py
+++ b/tests/test_explicit_profile.py
@@ -153,7 +153,7 @@ def test_explicit_profile_ignores_inherited_owner_marker():
         env = os.environ.copy()
         env['LINE_PROFILE'] = '1'
         env['LINE_PROFILER_OWNER_PID'] = str(os.getpid() + 100000)
-        env['PYTHONPATH'] = os.getcwd()
+        env['PYTHONPATH'] = f"{os.getcwd()}:{env['PYTHONPATH']}"
 
         with ub.ChDir(temp_dpath):
             script_fpath = ub.Path('script.py')
@@ -182,7 +182,7 @@ def test_explicit_profile_process_pool_forkserver():
         env = os.environ.copy()
         env['LINE_PROFILE'] = '1'
         # env['LINE_PROFILER_DEBUG'] = '1'
-        env['PYTHONPATH'] = os.getcwd()
+        env['PYTHONPATH'] = f"{os.getcwd()}:{env['PYTHONPATH']}"
 
         with ub.ChDir(temp_dpath):
             script_fpath = ub.Path('script.py')

++++++ line_profiler-5.0.0.tar.gz -> line_profiler-5.0.2.tar.gz ++++++
++++ 41072 lines of diff (skipped)

Reply via email to