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.
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 show 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 to permit the latest version.
Changelog
Sourced from pytest-benchmark's changelog.
... (truncated)
Commits
fcc60e0
Bump version: 5.0.1 → 5.1.08dfeeec
Fix broken hooks on pytest 8.1+ (and set that as the min supported version). ...41302ed
Bump version: 5.0.0 → 5.0.13f55df2
Update changelog.6318314
Fix bad fixture check. Close #271.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 show