Subject: CVS commit: pkgsrc/devel/py-line_profiler
From: Adam Ciarcinski
Date: 2024-02-12 15:42:21
Message id: 20240212144221.7B78BF9AB@cvs.NetBSD.org

Log Message:
py-line_profiler: updated to 4.1.2

4.1.2
~~~~
* ENH: Add support for Python 3.12
* ENH: Add osx universal2 and arm64 wheels
* ENH: Fix issue with integer overflow on 32 bit systems

4.1.1
~~~~
* FIX: ``get_stats`` is no longer slowed down when profiling many code sections

4.1.0
~~~~
* 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

4.0.3
~~~~
* FIX: Stop requiring bleeding-edge Cython unless necesasry (for Python 3.12).

4.0.2
~~~~~
* FIX: AttributeError on certain methods.

4.0.1
~~~~~
* FIX: Profiling classmethods works again.

4.0.0
~~~~~
* 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++. You can expect to see reductions of \ 
between 0.3 and 1 microseconds per line hit, resulting in a speedup of up to 4x \ 
for codebases with many lines of Python that only do a little work per line.
* ENH: Added the ``-i <# of seconds>`` option to the ``kernprof`` script. \ 
This uses the threading module to output profiling data to the output file every \ 
n seconds, and is useful for long-running tasks that shouldn't be stopped in the \ 
middle of processing.
* 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. Any code that directly reads (and \ 
processes) or edits the code_map and/or last_time attributes will likely break.

Files:
RevisionActionfile
1.15modifypkgsrc/devel/py-line_profiler/Makefile
1.6modifypkgsrc/devel/py-line_profiler/PLIST
1.8modifypkgsrc/devel/py-line_profiler/distinfo