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

Update pytest-benchmark requirement from ~=4.0 to ~=5.1 #117

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 4, 2024

Updates the requirements on pytest-benchmark to permit the latest version.

Changelog

Sourced from pytest-benchmark's changelog.

5.1.0 (2024-10-30)

  • Fixed broken hooks handling on pytest 8.1 or later (the TypeError: import_path() missing 1 required keyword-only argument: 'consider_namespace_packages' issue). Unfortunately this sets the minimum supported pytest version to 8.1.

5.0.1 (2024-10-30)

  • Fixed bad fixture check that broke down then nbmake <https://pypi.org/project/nbmake/>_ was enabled.

5.0.0 (2024-10-29)

  • Dropped support for now EOL Python 3.8. Also moved tests suite to only test the latest pytest versions (8.3.x).

  • Fix generate parametrize tests benchmark csv report errors (issue [#268](https://github.com/ionelmc/pytest-benchmark/issues/268) <https://github.com/ionelmc/pytest-benchmark/issues/268>). Contributed by Johnny Huang in [#269](https://github.com/ionelmc/pytest-benchmark/issues/269) <https://github.com/ionelmc/pytest-benchmark/pull/269>.

  • Added the --benchmark-time-unit cli option for overriding the measurement unit used for display. Contributed by Tony Kuo in [#257](https://github.com/ionelmc/pytest-benchmark/issues/257) <https://github.com/ionelmc/pytest-benchmark/pull/257>_.

  • Fixes spelling in some help texts. Contributed by Eugeniy in [#267](https://github.com/ionelmc/pytest-benchmark/issues/267) <https://github.com/ionelmc/pytest-benchmark/pull/267>_.

  • Added new cprofile options:

    • --benchmark-cprofile-loops=LOOPS - previously profiling only ran the function once, this allow customization.
    • --benchmark-cprofile-top=COUNT - allows showing more rows.
    • --benchmark-cprofile-dump=[FILENAME-PREFIX] - allows saving to a file (that you can load in snakeviz <https://pypi.org/project/snakeviz/>, RunSnakeRun <https://pypi.org/project/RunSnakeRun/> or other tools).
  • Removed hidden dependency on py.path <https://pypi.org/project/py/>_ (replaced with pathlib).

4.0.0 (2022-10-26)

  • Dropped support for legacy Pythons (2.7, 3.6 or older).
  • Switched CI to GitHub Actions.
  • Removed dependency on the py library (that was not properly specified as a dependency anyway).
  • Fix skipping test in test_utils.py if appropriate VCS not available. Also fix typo. Contributed by Sam James in [#211](https://github.com/ionelmc/pytest-benchmark/issues/211) <https://github.com/ionelmc/pytest-benchmark/pull/211>_.
  • Added support for pytest 7.2.0 by using pytest.hookimpl and pytest.hookspec to configure hooks. Contributed by Florian Bruhin in [#224](https://github.com/ionelmc/pytest-benchmark/issues/224) <https://github.com/ionelmc/pytest-benchmark/pull/224>_.
  • Now no save is attempted if --benchmark-disable is used. Fixes [#205](https://github.com/ionelmc/pytest-benchmark/issues/205) <https://github.com/ionelmc/pytest-benchmark/issues/205>. Contributed by Friedrich Delgado in [#207](https://github.com/ionelmc/pytest-benchmark/issues/207) <https://github.com/ionelmc/pytest-benchmark/pull/207>.

3.4.1 (2021-04-17)

  • Republished with updated changelog.

    I intended to publish a 3.3.0 release but I messed it up because bumpversion doesn't work well with pre-commit apparently... thus 3.4.0 was set in by accident.

... (truncated)

Commits
  • fcc60e0 Bump version: 5.0.1 → 5.1.0
  • 8dfeeec Fix broken hooks on pytest 8.1+ (and set that as the min supported version). ...
  • 41302ed Bump version: 5.0.0 → 5.0.1
  • 3f55df2 Update changelog.
  • 6318314 Fix bad fixture check. Close #271.
  • 614df44 Bump version: 4.0.0 → 5.0.0
  • 65fc262 Make it a major (since it drops py3.8).
  • 0c32498 Remove stray stuff.
  • e1dcd91 Add new cprofile options.
  • 61229eb Replace all uses of py.path with pathlib.
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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 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 [pytest-benchmark](https://github.com/ionelmc/pytest-benchmark) to permit the latest version.
- [Changelog](https://github.com/ionelmc/pytest-benchmark/blob/master/CHANGELOG.rst)
- [Commits](ionelmc/pytest-benchmark@v4.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: pytest-benchmark
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 4, 2024

The following labels could not be found: dependency, Skip news :mute:.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants