pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/py-line_profiler
Module Name: pkgsrc
Committed By: wiz
Date: Thu Oct 9 12:03:50 UTC 2025
Modified Files:
pkgsrc/devel/py-line_profiler: Makefile PLIST distinfo
Log Message:
py-line_profiler: update to 5.0.0.
5.0.0
~~~~~
* FIX: win32 encoding issues
* ENH: Add support for ``sys.monitoring`` (Python >= 3.12)
* FIX: Fixed issue when calling ``kernprof`` with neither the ``-l`` nor ``-b`` flag; also refactored common methods to ``LineProfiler`` and ``ContextualProfile``
* FIX: Fixed auto-profiling of async function definitions #330
* ENH: Added CLI argument ``-m`` to ``kernprof`` for running a library module as a script; also made it possible for profiling targets to be supplied across multiple ``-p`` flags
* 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 (e.g. ``calendar`` on Python 3.12+).
* 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:
* ``kernprof -p`` target entities are now imported and profiled regardless of
whether they are directly imported in the run script/module/code (old
behavior restored by passing ``--no-preimports``)
* ``kernprof -v`` and the new ``-q`` now control the verbosity level instead
of being a boolean, allowing diagnostic outputs or output suppression
* On-import profiling is now more aggressive so that it doesn't miss entities
like class methods and properties
* ``LineProfiler`` can now be used as a class decorator
* FIX: Fixed line tracing for Cython code; superseded use of the legacy tracing system with ``sys.monitoring``
* FIX: Fixed edge cases where:
* ``LineProfiler.get_stats()`` neglected data from duplicate code objects
(#348)
* ``LineProfiler`` instances may stop receiving tracing events when multiple
instances were used (#350)
* Line events were not reported for ``raise`` statements and ``finally:``
bodies when using ``sys.monitoring`` (#355)
* FIX: Tracing-system-related fixes (#333):
* ``LineProfiler`` now caches the existing ``sys`` or ``sys.monitoring`` trace
callbacks in ``.enable()`` and restores them in ``.disable()``, instead of
always discarding them on the way out
* Also added experimental support for calling (instead of suspending) said
callbacks during profiling
* Now allowing switching back to the "legacy" trace system on Python 3.12+,
controlled by an environment variable
* ENH: Added capability to parse TOML config files for defaults (#335):
* ``kernprof`` and ``python -m line_profiler`` CLI options
* ``GlobalProfiler`` configurations, and
* profiler output (e.g. ``LineProfiler.print_stats()``) formatting
To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.22 pkgsrc/devel/py-line_profiler/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/py-line_profiler/PLIST
cvs rdiff -u -r1.10 -r1.11 pkgsrc/devel/py-line_profiler/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/py-line_profiler/Makefile
diff -u pkgsrc/devel/py-line_profiler/Makefile:1.21 pkgsrc/devel/py-line_profiler/Makefile:1.22
--- pkgsrc/devel/py-line_profiler/Makefile:1.21 Thu Oct 9 07:57:33 2025
+++ pkgsrc/devel/py-line_profiler/Makefile Thu Oct 9 12:03:50 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.21 2025/10/09 07:57:33 wiz Exp $
+# $NetBSD: Makefile,v 1.22 2025/10/09 12:03:50 wiz Exp $
-DISTNAME= line_profiler-4.2.0
+DISTNAME= line_profiler-5.0.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
-PKGREVISION= 1
CATEGORIES= devel python
MASTER_SITES= ${MASTER_SITE_PYPI:=l/line_profiler/}
Index: pkgsrc/devel/py-line_profiler/PLIST
diff -u pkgsrc/devel/py-line_profiler/PLIST:1.8 pkgsrc/devel/py-line_profiler/PLIST:1.9
--- pkgsrc/devel/py-line_profiler/PLIST:1.8 Sat Apr 12 11:33:33 2025
+++ pkgsrc/devel/py-line_profiler/PLIST Thu Oct 9 12:03:50 2025
@@ -1,5 +1,8 @@
-@comment $NetBSD: PLIST,v 1.8 2025/04/12 11:33:33 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2025/10/09 12:03:50 wiz Exp $
bin/kernprof-${PYVERSSUFFIX}
+${PYSITELIB}/kernprof.py
+${PYSITELIB}/kernprof.pyc
+${PYSITELIB}/kernprof.pyo
${PYSITELIB}/${WHEEL_INFODIR}/METADATA
${PYSITELIB}/${WHEEL_INFODIR}/RECORD
${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -7,9 +10,8 @@ ${PYSITELIB}/${WHEEL_INFODIR}/entry_poin
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE.txt
${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE_Python.txt
${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
-${PYSITELIB}/kernprof.py
-${PYSITELIB}/kernprof.pyc
-${PYSITELIB}/kernprof.pyo
+${PYSITELIB}/line_profiler/CMakeLists.txt
+${PYSITELIB}/line_profiler/Python_wrapper.h
${PYSITELIB}/line_profiler/__init__.py
${PYSITELIB}/line_profiler/__init__.pyc
${PYSITELIB}/line_profiler/__init__.pyo
@@ -17,13 +19,21 @@ ${PYSITELIB}/line_profiler/__main__.py
${PYSITELIB}/line_profiler/__main__.pyc
${PYSITELIB}/line_profiler/__main__.pyi
${PYSITELIB}/line_profiler/__main__.pyo
+${PYSITELIB}/line_profiler/_diagnostics.py
+${PYSITELIB}/line_profiler/_diagnostics.pyc
+${PYSITELIB}/line_profiler/_diagnostics.pyo
+${PYSITELIB}/line_profiler/_line_profiler.cpp
+${PYSITELIB}/line_profiler/_line_profiler.pyx
+${PYSITELIB}/line_profiler/_logger.py
+${PYSITELIB}/line_profiler/_logger.pyc
+${PYSITELIB}/line_profiler/_logger.pyo
${PYSITELIB}/line_profiler/autoprofile/__init__.py
${PYSITELIB}/line_profiler/autoprofile/__init__.pyc
${PYSITELIB}/line_profiler/autoprofile/__init__.pyo
-${PYSITELIB}/line_profiler/autoprofile/ast_profle_transformer.py
-${PYSITELIB}/line_profiler/autoprofile/ast_profle_transformer.pyc
-${PYSITELIB}/line_profiler/autoprofile/ast_profle_transformer.pyi
-${PYSITELIB}/line_profiler/autoprofile/ast_profle_transformer.pyo
+${PYSITELIB}/line_profiler/autoprofile/ast_profile_transformer.py
+${PYSITELIB}/line_profiler/autoprofile/ast_profile_transformer.pyc
+${PYSITELIB}/line_profiler/autoprofile/ast_profile_transformer.pyi
+${PYSITELIB}/line_profiler/autoprofile/ast_profile_transformer.pyo
${PYSITELIB}/line_profiler/autoprofile/ast_tree_profiler.py
${PYSITELIB}/line_profiler/autoprofile/ast_tree_profiler.pyc
${PYSITELIB}/line_profiler/autoprofile/ast_tree_profiler.pyi
@@ -32,6 +42,10 @@ ${PYSITELIB}/line_profiler/autoprofile/a
${PYSITELIB}/line_profiler/autoprofile/autoprofile.pyc
${PYSITELIB}/line_profiler/autoprofile/autoprofile.pyi
${PYSITELIB}/line_profiler/autoprofile/autoprofile.pyo
+${PYSITELIB}/line_profiler/autoprofile/eager_preimports.py
+${PYSITELIB}/line_profiler/autoprofile/eager_preimports.pyc
+${PYSITELIB}/line_profiler/autoprofile/eager_preimports.pyi
+${PYSITELIB}/line_profiler/autoprofile/eager_preimports.pyo
${PYSITELIB}/line_profiler/autoprofile/line_profiler_utils.py
${PYSITELIB}/line_profiler/autoprofile/line_profiler_utils.pyc
${PYSITELIB}/line_profiler/autoprofile/line_profiler_utils.pyi
@@ -40,10 +54,20 @@ ${PYSITELIB}/line_profiler/autoprofile/p
${PYSITELIB}/line_profiler/autoprofile/profmod_extractor.pyc
${PYSITELIB}/line_profiler/autoprofile/profmod_extractor.pyi
${PYSITELIB}/line_profiler/autoprofile/profmod_extractor.pyo
+${PYSITELIB}/line_profiler/autoprofile/run_module.py
+${PYSITELIB}/line_profiler/autoprofile/run_module.pyc
+${PYSITELIB}/line_profiler/autoprofile/run_module.pyi
+${PYSITELIB}/line_profiler/autoprofile/run_module.pyo
${PYSITELIB}/line_profiler/autoprofile/util_static.py
${PYSITELIB}/line_profiler/autoprofile/util_static.pyc
${PYSITELIB}/line_profiler/autoprofile/util_static.pyi
${PYSITELIB}/line_profiler/autoprofile/util_static.pyo
+${PYSITELIB}/line_profiler/c_trace_callbacks.c
+${PYSITELIB}/line_profiler/c_trace_callbacks.h
+${PYSITELIB}/line_profiler/cli_utils.py
+${PYSITELIB}/line_profiler/cli_utils.pyc
+${PYSITELIB}/line_profiler/cli_utils.pyi
+${PYSITELIB}/line_profiler/cli_utils.pyo
${PYSITELIB}/line_profiler/explicit_profiler.py
${PYSITELIB}/line_profiler/explicit_profiler.pyc
${PYSITELIB}/line_profiler/explicit_profiler.pyi
@@ -56,4 +80,27 @@ ${PYSITELIB}/line_profiler/line_profiler
${PYSITELIB}/line_profiler/line_profiler.pyc
${PYSITELIB}/line_profiler/line_profiler.pyi
${PYSITELIB}/line_profiler/line_profiler.pyo
+${PYSITELIB}/line_profiler/line_profiler_utils.py
+${PYSITELIB}/line_profiler/line_profiler_utils.pyc
+${PYSITELIB}/line_profiler/line_profiler_utils.pyi
+${PYSITELIB}/line_profiler/line_profiler_utils.pyo
+${PYSITELIB}/line_profiler/profiler_mixin.py
+${PYSITELIB}/line_profiler/profiler_mixin.pyc
+${PYSITELIB}/line_profiler/profiler_mixin.pyi
+${PYSITELIB}/line_profiler/profiler_mixin.pyo
${PYSITELIB}/line_profiler/py.typed
+${PYSITELIB}/line_profiler/python25.pxd
+${PYSITELIB}/line_profiler/rc/__init__.py
+${PYSITELIB}/line_profiler/rc/__init__.pyc
+${PYSITELIB}/line_profiler/rc/__init__.pyo
+${PYSITELIB}/line_profiler/rc/line_profiler.toml
+${PYSITELIB}/line_profiler/scoping_policy.py
+${PYSITELIB}/line_profiler/scoping_policy.pyc
+${PYSITELIB}/line_profiler/scoping_policy.pyi
+${PYSITELIB}/line_profiler/scoping_policy.pyo
+${PYSITELIB}/line_profiler/timers.c
+${PYSITELIB}/line_profiler/timers.h
+${PYSITELIB}/line_profiler/toml_config.py
+${PYSITELIB}/line_profiler/toml_config.pyc
+${PYSITELIB}/line_profiler/toml_config.pyi
+${PYSITELIB}/line_profiler/toml_config.pyo
Index: pkgsrc/devel/py-line_profiler/distinfo
diff -u pkgsrc/devel/py-line_profiler/distinfo:1.10 pkgsrc/devel/py-line_profiler/distinfo:1.11
--- pkgsrc/devel/py-line_profiler/distinfo:1.10 Mon Jan 6 11:49:37 2025
+++ pkgsrc/devel/py-line_profiler/distinfo Thu Oct 9 12:03:50 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2025/01/06 11:49:37 adam Exp $
+$NetBSD: distinfo,v 1.11 2025/10/09 12:03:50 wiz Exp $
-BLAKE2s (line_profiler-4.2.0.tar.gz) = 153ab9e5cd08cde355d4e85c5eb858ebdd2d7a92f8e3db2eb164fe4316018dba
-SHA512 (line_profiler-4.2.0.tar.gz) = 2a02330e8a073ab517d49b8af4b105c700946ebb41ad44a1ba59039950f15db71cde980ef6ce2535bf31572c5fe4ae3740884e8ea662bee4104fe151b2449ced
-Size (line_profiler-4.2.0.tar.gz) = 199037 bytes
+BLAKE2s (line_profiler-5.0.0.tar.gz) = b8e8651f8ffb6665d2a336b64fdaaed62ab25f8e8d746fd390fcf3e760c84e90
+SHA512 (line_profiler-5.0.0.tar.gz) = 684dee4e00e6acda61aedca8532c295eafc0f9153c664c0a64f6fda2f31d9f9f778d3b861466e94ad8731fdbcf007ef71a37e59a55dd8dab8fcf621b00a53ed9
+Size (line_profiler-5.0.0.tar.gz) = 376919 bytes
Home |
Main Index |
Thread Index |
Old Index