Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump line-profiler from 3.3.1 to 4.0.2 #40

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 12, 2022

Bumps line-profiler from 3.3.1 to 4.0.2.

Release notes

Sourced from line-profiler's releases.

Version 4.0.2

  • FIX: AttributeError on certain methods. #191

Version 4.0.1

  • FIX: Profiling classmethods works again. #183

Version 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.

Thanks to @​Theelx and others for all of their hard work on this!

Version 3.5.1

3.5.1

* FIX: [#19](https://github.com/pyutils/line_profiler/issues/19) line profiler now works on async functions again

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

Thanks to @​Nodd @​yarula @​ctw

Version 3.4.0

3.4.0

  • Drop support for Python <= 3.5.x
  • FIX: #104 issue with new IPython kernels
  • Wheels for musllinux are now included

Notes

There was a minor issue in the CI release process. Wheels were produced correctly on the CI, but the upload to pypi step expected them to be in the wheelhouse (not dist) directory. So most wheels were uploaded manually a few hours after the main release. This should be fixed for future releases.

Changelog

Sourced from line-profiler's changelog.

4.0.2

* FIX: AttributeError on certain methods. [#191](https://github.com/pyutils/line_profiler/issues/191)

4.0.1

  • FIX: Profiling classmethods works again. #183

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.

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

3.5.1

* FIX: [#19](https://github.com/pyutils/line_profiler/issues/19) line profiler now works on async functions again

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

3.4.0

* Drop support for Python <= 3.5.x
* FIX: [#104](https://github.com/pyutils/line_profiler/issues/104) issue with new IPython kernels
Commits

Dependabot compatibility score

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Bumps [line-profiler](https://github.com/pyutils/line_profiler) from 3.3.1 to 4.0.2.
- [Release notes](https://github.com/pyutils/line_profiler/releases)
- [Changelog](https://github.com/pyutils/line_profiler/blob/main/CHANGELOG.rst)
- [Commits](pyutils/line_profiler@3.3.1...v4.0.2)

---
updated-dependencies:
- dependency-name: line-profiler
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Dec 12, 2022
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Mar 6, 2023

Superseded by #49.

@dependabot dependabot bot closed this Mar 6, 2023
@dependabot dependabot bot deleted the dependabot/pip/line-profiler-4.0.2 branch March 6, 2023 12:11
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants