Skip to content

Commit 37c5d87

Browse files
Update pytest-benchmark requirement from <=5.2.0 to <=5.2.3 (#2008)
Updates the requirements on [pytest-benchmark](https://github.com/ionelmc/pytest-benchmark) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/ionelmc/pytest-benchmark/blob/master/CHANGELOG.rst">pytest-benchmark's changelog</a>.</em></p> <blockquote> <h2>v5.2.3 (2025-11-09)</h2> <ul> <li>Add support for pytest 9.0.</li> <li>Moved the README.rst/CHANGELOG.rst concatenation from setup.py to pyproject.toml.</li> </ul> <h2>v5.2.2 (2025-11-07)</h2> <ul> <li>Fixed auto-disable to work with newer xdist (pytest-benchmark auto disables benchmarks if xdist is enabled by design). Contributed by Thomas B. Brunner in <code>[#294](ionelmc/pytest-benchmark#294) &lt;https://github.com/ionelmc/pytest-benchmark/pull/294&gt;</code>_.</li> </ul> <h2>v5.2.1 (2025-11-04)</h2> <ul> <li>Add markers so pytest doesn't try to assert-rewrite the plugin internals (fixes those <code>pytest.PytestAssertRewriteWarning: Module already imported so cannot be rewritten; pytest_benchmark</code> warnings).</li> </ul> <h2>v5.2.0 (2025-10-30)</h2> <ul> <li>Added support for a per-round <code>teardown</code> function to pedantic mode. Contributed Patrick Winter by <code>[#264](ionelmc/pytest-benchmark#264) &lt;https://github.com/ionelmc/pytest-benchmark/pull/264&gt;</code>_.</li> <li>Added <code>--benchmark-time-unit</code> option. Contributed by Tony Kuo in <code>[#281](ionelmc/pytest-benchmark#281) &lt;https://github.com/ionelmc/pytest-benchmark/pull/281&gt;</code>_.</li> <li>Fixed deprecated hook examples in docstrings. Contributed by Ali-Akber Saifee in <code>[#284](ionelmc/pytest-benchmark#284) &lt;https://github.com/ionelmc/pytest-benchmark/pull/284&gt;</code>_.</li> <li>Changed <code>--benchmark-compare-fail</code> to accept percentages higher than 100%. Contributed by Ben Avrahami in <code>[#280](ionelmc/pytest-benchmark#280) &lt;https://github.com/ionelmc/pytest-benchmark/pull/280&gt;</code>_.</li> <li>Added minimal typing support. Contributed by Sorin Sbarnea in <code>[#290](ionelmc/pytest-benchmark#290) &lt;https://github.com/ionelmc/pytest-benchmark/pull/290&gt;</code>_.</li> <li>Fixed support for Python 3.9. Contributed by Enno Gotthold in <code>[#291](ionelmc/pytest-benchmark#291) &lt;https://github.com/ionelmc/pytest-benchmark/pull/291&gt;</code>_.</li> <li>Replaced the complicated and broken code of <code>pytest_benchmark.utils.clonefunc</code> with a simple return of the input. That function was supposed to allow benchmarking with the cost of PyPy JIT included but it's a hassle to maintain.</li> <li>Moved the instrumentation pause outside the round loops (in addition to tracing, profiling is paused too). Pedantic mode will keep doing this per round (as the user manually controls the round count). This is necessary because in some scenarios setting and unsetting the tracer too much will overflow an internal counter (found to cause &quot;OverflowError: events set too many times&quot; at least on Python 3.13).</li> </ul> <h2>v5.1.0 (2024-10-30)</h2> <ul> <li>Fixed broken hooks handling on pytest 8.1 or later (the <code>TypeError: import_path() missing 1 required keyword-only argument: 'consider_namespace_packages'</code> issue). Unfortunately this sets the minimum supported pytest version to 8.1.</li> </ul> <h2>v5.0.1 (2024-10-30)</h2> <ul> <li>Fixed bad fixture check that broke down then <code>nbmake &lt;https://pypi.org/project/nbmake/&gt;</code>_ was enabled.</li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/ionelmc/pytest-benchmark/commit/b857483dd8e8a875f3aa040bd0054847ad657291"><code>b857483</code></a> Bump version: 5.2.2 → 5.2.3</li> <li><a href="https://github.com/ionelmc/pytest-benchmark/commit/7f5abf98bb3212339d964e9a2621998c032a98f7"><code>7f5abf9</code></a> Add a note about the readme.</li> <li><a href="https://github.com/ionelmc/pytest-benchmark/commit/b8e5f5380f04a9ae26aa571c1c41a3671e2ac3bb"><code>b8e5f53</code></a> Fix bad wrap.</li> <li><a href="https://github.com/ionelmc/pytest-benchmark/commit/931d50ff1bb16c392f817801ad246eb27f55d4c5"><code>931d50f</code></a> Add back some escapes. Oops.</li> <li><a href="https://github.com/ionelmc/pytest-benchmark/commit/d5c2f7ef9d0bbd67d8bafac1e2a454c8aa95af10"><code>d5c2f7e</code></a> Add support for pytest 9.0. Fixes <a href="https://redirect.github.com/ionelmc/pytest-benchmark/issues/295">#295</a>.</li> <li><a href="https://github.com/ionelmc/pytest-benchmark/commit/9a3888ad0474c0bb0e56c86f87a27d24ecc6a55a"><code>9a3888a</code></a> Move readme+changelog extraction to static pyproject config.</li> <li><a href="https://github.com/ionelmc/pytest-benchmark/commit/d34bf73c6bab8c11c660291f62a20ff0c004e241"><code>d34bf73</code></a> Bump version: 5.2.1 → 5.2.2</li> <li><a href="https://github.com/ionelmc/pytest-benchmark/commit/cf2ac340f49518c6f89eb1de8fa9c68275ef6de6"><code>cf2ac34</code></a> Bump prek.</li> <li><a href="https://github.com/ionelmc/pytest-benchmark/commit/8bfc327c69997564eff09dfaa4a2fcf269545d36"><code>8bfc327</code></a> Improve formatting (docutils chokes on those arguments with colons and bracke...</li> <li><a href="https://github.com/ionelmc/pytest-benchmark/commit/190b487045c4994fd51b7b7e04b0e02b5b34a41c"><code>190b487</code></a> Prefix all headings with letters to allow docutils or whatever generate stabl...</li> <li>Additional commits viewable in <a href="https://github.com/ionelmc/pytest-benchmark/compare/v2.5.0...v5.2.3">compare view</a></li> </ul> </details> <br /> 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-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> 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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Yigit Gunsur Elmacioglu <102380275+YigitElma@users.noreply.github.com>
1 parent 4d9525d commit 37c5d87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

devtools/dev-requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ pre-commit <= 4.3.0
2929
# testing and benchmarking
3030
nbmake <= 1.5.5
3131
pytest ~= 8.4
32-
pytest-benchmark <= 5.2.0
32+
pytest-benchmark <= 5.2.3
3333
pytest-cov >= 2.6.0, <= 7.0.0
3434
pytest-monitor <= 1.6.6
3535
pytest-mpl == 0.16.1

0 commit comments

Comments
 (0)