Skip to content
New issue

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

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

Already on GitHub? # to your account

chore(deps): update dependency pytest-benchmark to v5 #939

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 31, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
pytest-benchmark (changelog) ^4.0.0 -> ^5.0.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 is behind base branch, 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 added the dependencies Pull requests that update a dependency file label Jan 31, 2025
Copy link
Contributor Author

renovate bot commented Jan 31, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: poetry.lock
Updating dependencies
Resolving dependencies...


The current project's supported Python range (>=3.8.1) is not compatible with some of the required packages Python requirement:
  - pytest-benchmark requires Python >=3.9, so it will not be satisfied for Python >=3.8.1,<3.9
  - pytest-benchmark requires Python >=3.9, so it will not be satisfied for Python >=3.8.1,<3.9
  - pytest-benchmark requires Python >=3.9, so it will not be satisfied for Python >=3.8.1,<3.9

Because no versions of pytest-benchmark match >5.0.0,<5.0.1 || >5.0.1,<5.1.0 || >5.1.0,<6.0.0
 and pytest-benchmark (5.0.0) requires Python >=3.9, pytest-benchmark is forbidden.
And because pytest-benchmark (5.0.1) requires Python >=3.9, pytest-benchmark is forbidden.
So, because pytest-benchmark (5.1.0) requires Python >=3.9
 and syrupy depends on pytest-benchmark (^5.0.0), version solving failed.

  • Check your dependencies Python requirement: The Python requirement can be specified via the `python` or `markers` properties
    
    For pytest-benchmark, a possible solution would be to set the `python` property to ">=3.9"
    For pytest-benchmark, a possible solution would be to set the `python` property to ">=3.9"
    For pytest-benchmark, a possible solution would be to set the `python` property to ">=3.9"

    https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,
    https://python-poetry.org/docs/dependency-specification/#using-environment-markers

@noahnu
Copy link
Collaborator

noahnu commented Feb 17, 2025

Merged into #905

@noahnu noahnu closed this Feb 17, 2025
Copy link
Contributor Author

renovate bot commented Feb 17, 2025

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update. You will not get PRs for any future 5.x releases. But if you manually upgrade to 5.x then Renovate will re-enable minor and patch updates automatically.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@renovate renovate bot deleted the renovate/pytest-benchmark-5.x branch February 17, 2025 00:25
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant