20
0

37 Commits

Author SHA256 Message Date
dimstar_suse 6029419fc9 Accepting request 1345116 from devel:languages:python
- 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
2026-04-08 15:17:01 +00:00
StevenK 73f74d9df6 - 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/package/show/devel:languages:python/python-line_profiler?expand=0&rev=35
2026-04-08 06:02:01 +00:00
anag_factory b1db295fee Accepting request 1315629 from devel:languages:python
- 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
2025-11-05 15:19:27 +00:00
StevenK ad9478fef0 - 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/package/show/devel:languages:python/python-line_profiler?expand=0&rev=33
2025-11-05 03:33:41 +00:00
anag_factory 274800e274 Accepting request 1274207 from devel:languages:python
- update to 4.2.0:
  * FIX: Fix issue with auto-profile of editable installs #279
  * FIX: Lookup OP-codes instead of hard coding them #284
  * CHANGE: Drop support for Python 3.6 and Python 3.7
  * ENH: Add support for Python 3.13

OBS-URL: https://build.opensuse.org/request/show/1274207
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=14
2025-05-05 20:26:11 +00:00
dirkmueller 43404b7ef2 - update to 4.2.0:
* FIX: Fix issue with auto-profile of editable installs #279
  * FIX: Lookup OP-codes instead of hard coding them #284
  * CHANGE: Drop support for Python 3.6 and Python 3.7
  * ENH: Add support for Python 3.13

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=31
2025-05-04 08:51:52 +00:00
anag_factory 29c5414465 Accepting request 1226686 from devel:languages:python
- 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
2024-11-27 21:11:52 +00:00
StevenK b304a0a243 - 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/package/show/devel:languages:python/python-line_profiler?expand=0&rev=29
2024-11-27 00:01:34 +00:00
anag_factory 35b887e473 Accepting request 1157657 from devel:languages:python
- skip python 3.9 build

OBS-URL: https://build.opensuse.org/request/show/1157657
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=12
2024-03-13 21:21:13 +00:00
dirkmueller ac9be62d06 - skip python 3.9 build
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=27
2024-03-13 15:30:14 +00:00
anag_factory 174326362b Accepting request 1146675 from devel:languages:python
- 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
2024-02-15 20:00:46 +00:00
StevenK e9fd8d130f Fiddle with changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=25
2024-02-15 03:16:37 +00:00
dirkmueller 53309e0c88 - 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
- 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
2023-12-05 15:53:56 +00:00
dimstar_suse 4c25f9ed64 Accepting request 1103743 from devel:languages:python
- restrict to older Cython release

OBS-URL: https://build.opensuse.org/request/show/1103743
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=10
2023-08-14 20:35:37 +00:00
dirkmueller 20f78d7e1e - restrict to older Cython release
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=22
2023-08-13 21:37:59 +00:00
dimstar_suse 42a805599a Accepting request 1074511 from devel:languages:python
- update to 4.0.3:
  * FIX: Stop requiring bleeding-edge Cython unless necesasry
    (for Python 3.12).  #206

OBS-URL: https://build.opensuse.org/request/show/1074511
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=9
2023-03-27 16:16:16 +00:00
dirkmueller 205767a420 - update to 4.0.3:
* FIX: Stop requiring bleeding-edge Cython unless necesasry
    (for Python 3.12).  #206

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=20
2023-03-26 19:55:29 +00:00
dimstar_suse 5f1cb89cae Accepting request 1066713 from devel:languages:python
- 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
2023-02-20 16:46:07 +00:00
StevenK b9cf8eefb0 - 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/package/show/devel:languages:python/python-line_profiler?expand=0&rev=18
2023-02-20 07:04:22 +00:00
RBrownFactory fe1146cab3 Accepting request 1007071 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1007071
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=7
2022-09-30 15:57:52 +00:00
dirkmueller 94162eb81d Accepting request 1006991 from home:yarunachalam:branches:devel:languages:python
- 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
2022-09-29 19:02:16 +00:00
dimstar_suse 6125ab3ebe Accepting request 944765 from devel:languages:python
- 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
2022-01-08 22:23:32 +00:00
mcepl 2e92075c06 Accepting request 944712 from home:bnavigator:branches:devel:languages:python
- 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
2022-01-07 13:21:55 +00:00
dimstar_suse 4d778c9e1a Accepting request 887569 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/887569
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=5
2021-04-22 16:04:38 +00:00
mcalabkova 1164475ea4 Accepting request 887568 from home:mcalabkova:branches:devel:languages:python
- update to 3.1.0
  * Restructure into package
  * fix Python 3.9

OBS-URL: https://build.opensuse.org/request/show/887568
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=13
2021-04-22 13:08:51 +00:00
dimstar_suse d43298080c Accepting request 662442 from devel:languages:python
- Regenerate cython files to fix build under python 3.7

OBS-URL: https://build.opensuse.org/request/show/662442
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=4
2019-01-03 17:08:38 +00:00
Tomáš Chvátal ebeda09db0 - Regenerate cython files to fix build under python 3.7
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=11
2019-01-02 12:36:36 +00:00
dimstar_suse 387ccaeed1 Accepting request 645309 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/645309
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=3
2018-11-10 15:57:17 +00:00
Todd R 0093fbd9b1 Accepting request 645308 from home:TheBlackCat:branches:devel:languages:python
- It doesn't have a direct dependency on prompt_toolkit.

OBS-URL: https://build.opensuse.org/request/show/645308
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=9
2018-10-29 15:24:17 +00:00
dimstar_suse 67f8c0b3fb Accepting request 624297 from devel:languages:python
- Switch off tests (they are broken,
  https://github.com/rkern/line_profiler/issues/128)

OBS-URL: https://build.opensuse.org/request/show/624297
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=2
2018-07-31 13:56:35 +00:00
mcepl 82a6ecdae7 Switch off tests (they are broken, GH#128)
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=7
2018-07-19 15:07:12 +00:00
dimstar_suse fc95a3c704 Accepting request 606244 from devel:languages:python
A key python performance-tuning tool

OBS-URL: https://build.opensuse.org/request/show/606244
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-line_profiler?expand=0&rev=1
2018-05-15 08:13:11 +00:00
Todd R a54fd6fccf Accepting request 606239 from home:TheBlackCat:branches:devel:languages:python
- Set minimum python3 version

OBS-URL: https://build.opensuse.org/request/show/606239
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=5
2018-05-10 15:27:11 +00:00
Todd R 61be0182b4 Accepting request 603797 from home:TheBlackCat:branches:devel:languages:python
- Use %license tag

OBS-URL: https://build.opensuse.org/request/show/603797
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=4
2018-05-03 16:16:55 +00:00
Todd R a6c733bb7a OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=3 2018-05-03 06:51:26 +00:00
Todd R 1e790f4680 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=2 2018-05-03 06:46:49 +00:00
Todd R 766a8c7d48 Accepting request 603353 from home:TheBlackCat:branches:devel:languages:python:misc
OBS-URL: https://build.opensuse.org/request/show/603353
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-line_profiler?expand=0&rev=1
2018-05-03 04:59:22 +00:00