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 dependency pytest-benchmark to v5 #442

Merged
merged 1 commit into from
Oct 30, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 29, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-benchmark (changelog) ==4.0.0 -> ==5.1.0 age adoption passing confidence

Release Notes

ionelmc/pytest-benchmark (pytest-benchmark)

v5.1.0

Compare Source

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

v5.0.1

Compare Source

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

v5.0.0

Compare Source

  • 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 #&#8203;268 <https://github.com/ionelmc/pytest-benchmark/issues/268>).
    Contributed by Johnny Huang in #&#8203;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 #&#8203;257 <https://github.com/ionelmc/pytest-benchmark/pull/257>_.

  • Fixes spelling in some help texts.
    Contributed by Eugeniy in #&#8203;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).


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/pytest-benchmark-5.x branch from e11c2a5 to 38abe67 Compare October 30, 2024 04:45
Copy link

codecov bot commented Oct 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.85%. Comparing base (53eb6a1) to head (132380f).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #442   +/-   ##
=======================================
  Coverage   95.85%   95.85%           
=======================================
  Files          49       49           
  Lines        2971     2971           
=======================================
  Hits         2848     2848           
  Misses        123      123           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/pytest-benchmark-5.x branch from 38abe67 to 132380f Compare October 30, 2024 12:52
@allenporter allenporter merged commit f5c031d into main Oct 30, 2024
10 checks passed
@renovate renovate bot deleted the renovate/pytest-benchmark-5.x branch October 30, 2024 14:04
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.

1 participant