- 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.
OBS-URL: https://build.opensuse.org/request/show/1345116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=16
* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=35
- Update to 5.0.0:
* ENH: Add support for sys.monitoring (Python >= 3.12)
* FIX: Fixed issue when calling kernprof with neither the -l nor -b flag
* FIX: Fixed auto-profiling of async function definitions
* ENH: Added CLI argument -m to kernprof for running a library module as
a script
* FIX: Fixed explicit profiling of class methods; added handling for
profiling static, bound, and partial methods, functools.partial objects,
(cached) properties, and async generator functions
* FIX: Fixed namespace bug when running kernprof -m on certain modules.
* FIX: Fixed @contextlib.contextmanager bug where the cleanup code (e.g.
restoration of sys attributes) is not run if exceptions occurred inside
the context
* ENH: Added CLI arguments -c to kernprof for (auto-)profiling
module/package/inline-script execution instead of that of script files;
passing '-' as the script-file name now also reads from and profiles
stdin
* ENH: In Python >=3.11, profiled objects are reported using their
qualified name.
* ENH: Highlight final summary using rich if enabled
* ENH: Made it possible to use multiple profiler instances simultaneously
* ENH: various improvements related to auto-profiling:
* FIX: Fixed line tracing for Cython code; superseded use of the legacy
tracing system with sys.monitoring
* FIX: Tracing-system-related fixes
* ENH: Added capability to parse TOML config files for defaults
- Add patch no-python-in-path.patch:
* Do not search the path for python.
- Add patch support-python314.patch:
* Support Python 3.14 sys.monitoring changes.
OBS-URL: https://build.opensuse.org/request/show/1315629
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=15
* ENH: Add support for sys.monitoring (Python >= 3.12)
* FIX: Fixed issue when calling kernprof with neither the -l nor -b flag
* FIX: Fixed auto-profiling of async function definitions
* ENH: Added CLI argument -m to kernprof for running a library module as
a script
* FIX: Fixed explicit profiling of class methods; added handling for
profiling static, bound, and partial methods, functools.partial objects,
(cached) properties, and async generator functions
* FIX: Fixed namespace bug when running kernprof -m on certain modules.
* FIX: Fixed @contextlib.contextmanager bug where the cleanup code (e.g.
restoration of sys attributes) is not run if exceptions occurred inside
the context
* ENH: Added CLI arguments -c to kernprof for (auto-)profiling
module/package/inline-script execution instead of that of script files;
passing '-' as the script-file name now also reads from and profiles
stdin
* ENH: In Python >=3.11, profiled objects are reported using their
qualified name.
* ENH: Highlight final summary using rich if enabled
* ENH: Made it possible to use multiple profiler instances simultaneously
* ENH: various improvements related to auto-profiling:
* FIX: Fixed line tracing for Cython code; superseded use of the legacy
tracing system with sys.monitoring
* FIX: Tracing-system-related fixes
* ENH: Added capability to parse TOML config files for defaults
- Add patch no-python-in-path.patch:
* Do not search the path for python.
- Add patch support-python314.patch:
* Support Python 3.14 sys.monitoring changes.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=33
- Update to 4.1.3:
* FIX: duration summary now respects the stripzeros argument.
* FIX: minor test fixes.
* ENH: building osx wheels for x86 and arm64.
* ENH: documentation improvements.
* Invoke subshell with the current python interpreter
* Respect stripzeros in summary report
* Normalize path before comparison
- Switch to pyproject macros.
- Drop patch use-sys-executable-python.patch, included upstream.
OBS-URL: https://build.opensuse.org/request/show/1226686
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=13
* FIX: duration summary now respects the stripzeros argument.
* FIX: minor test fixes.
* ENH: building osx wheels for x86 and arm64.
* ENH: documentation improvements.
* Invoke subshell with the current python interpreter
* Respect stripzeros in summary report
* Normalize path before comparison
- Switch to pyproject macros.
- Drop patch use-sys-executable-python.patch, included upstream.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=29
- 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'.
- restrict to older Cython release
* FIX: #100 Exception raise ZeroDivisionError
being patient.
for contributing it.
this feature.
Cournapeau for spotting this.
OBS-URL: https://build.opensuse.org/request/show/1146675
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=11
* 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
- restrict to older Cython release
* FIX: #100 Exception raise ZeroDivisionError
being patient.
for contributing it.
this feature.
Cournapeau for spotting this.
* Update for compatibility with newer versions of Cython.
* Update IPython compatibility for 0.11+. Thanks to Yaroslav
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=24
- 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.
OBS-URL: https://build.opensuse.org/request/show/1066713
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=8
* 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.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=18
- Update to Version 3.5.2
* 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
- Update to Version 3.5.1
* FIX: #19 line profiler now works on async functions again
- Update to Version 3.5.0
* FIX: #109 kernprof fails to write to stdout if stdout was replaced
* FIX: Fixes max of an empty sequence error #118
* Make IPython optional
* FIX: #100 Exception raise ZeroDivisionError
OBS-URL: https://build.opensuse.org/request/show/1006991
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=16
- 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 openpyutils@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
OBS-URL: https://build.opensuse.org/request/show/944765
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=6
- 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 openpyutils@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
OBS-URL: https://build.opensuse.org/request/show/944712
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=15