Skip to content

chore(deps-dev): update line-profiler requirement from <5.0,>=4.1.0 to >=4.1.0,<6.0 - #105

Open
dependabot[bot] wants to merge 1 commit into
productionfrom
dependabot/pip/line-profiler-gte-4.1.0-and-lt-6.0
Open

chore(deps-dev): update line-profiler requirement from <5.0,>=4.1.0 to >=4.1.0,<6.0#105
dependabot[bot] wants to merge 1 commit into
productionfrom
dependabot/pip/line-profiler-gte-4.1.0-and-lt-6.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Mar 13, 2026

Copy link
Copy Markdown
Contributor

Updates the requirements on line-profiler to permit the latest version.

Release notes

Sourced from line-profiler's releases.

Version 5.0.2

What's Changed

Full Changelog: pyutils/line_profiler@v5.0.1...refs/heads/release

Changelog

Sourced from line-profiler's changelog.

5.0.2

* ENH: improved type annotations and moved them inline

5.0.1

  • 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 #383
  • 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) (#380, originally proposed in #219)
  • FIX: search function in online documentation
  • FIX: ref-count leaks #372
  • FIX: mitigate speed regressions introduced in 5.0.0 #376
  • FIX: Use import system to locate module file run by kernprof -m #389
  • FIX: Fixed build on Windows-ARM64 and now building wheels therefor in CI #391
  • FIX: Move away from older, (temporarily-)deprecated importlib.resources APIs in line_profiler.toml_config #406
  • CHANGE: remove default alphabetical sorting of profiled functions
  • FIX: Restored building and testing of Linux-ARM64 wheels #402

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](https://github.com/pyutils/line_profiler/issues/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 </tr></table>

... (truncated)

Commits
  • 8929fcd FIX: building Linux-ARM64 wheels (#402)
  • 0c769c1 Offending test now checking sys.version_info and switching behaviors (#421)
  • 8292b11 ruff format (#420)
  • 64c0841 Type fix base (#419)
  • 88590a0 Fix version consistency
  • f81fe08 [skip ci] Start branch for 5.0.2
  • 52f937b Prevent duplicate output in 3.14 (#415)
  • 3aa7504 Allow test_kernprof_sys_restoration to match python3.XX binaries (#410)
  • 2df0060 Fix build on Python 3.14 by isolating internal C headers and removing inline ...
  • 5eb4a00 Remove default alphabetical ordering of profiled functions in text output (#414)
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [line-profiler](https://github.com/pyutils/line_profiler) to permit the latest version.
- [Release notes](https://github.com/pyutils/line_profiler/releases)
- [Changelog](https://github.com/pyutils/line_profiler/blob/main/CHANGELOG.rst)
- [Commits](pyutils/line_profiler@v4.1.0...v5.0.2)

---
updated-dependencies:
- dependency-name: line-profiler
  dependency-version: 5.0.2
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Mar 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants