-
Notifications
You must be signed in to change notification settings - Fork 142
build: bump pytest from 8.3.5 to 8.4.0 in the testing group #3987
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Contributor
Bumps the testing group with 1 update: [pytest](https://github.com/pytest-dev/pytest). Updates `pytest` from 8.3.5 to 8.4.0 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@8.3.5...8.4.0) --- updated-dependencies: - dependency-name: pytest dependency-version: 8.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: testing ... Signed-off-by: dependabot[bot] <[email protected]>
Contributor
Reviewer's GuideThis PR bumps the pytest dependency from 8.3.5 to 8.4.0 in the project configuration, updating the test toolchain to the latest release. Sequence Diagram: Pytest 8.4.0 Handling of Tests Returning Non-None ValuessequenceDiagram
actor D as Developer
participant P as Pytest
participant TF as TestFunction
D->>P: Run test_example
P->>TF: Execute test_example()
TF-->>P: Return "some_value"
alt Pytest < 8.4.0 Behavior
P-->>D: Warning: Test returned value
P-->>D: Test continues or is marked accordingly (e.g., warning)
else Pytest >= 8.4.0 Behavior
P-->>D: Error: Test returned value
P-->>D: Test FAILED
end
Sequence Diagram: Pytest 8.4.0 Handling of Async Tests without Suitable PluginsequenceDiagram
actor D as Developer
participant P as Pytest
participant AT as AsyncTestFunction
D->>P: Run async_test_example
P->>P: Check for suitable async plugin
alt Pytest < 8.4.0 Behavior (No suitable plugin)
P-->>D: Warning: No suitable async plugin installed
P-->>AT: Skip async_test_example()
P-->>D: Test SKIPPED
else Pytest >= 8.4.0 Behavior (No suitable plugin)
P-->>D: Error: No suitable async plugin installed
P-->>D: Test FAILED
end
Flow Diagram: Test Collection with
|
| Change | Details | Files |
|---|---|---|
| Upgrade pytest dependency version |
|
pyproject.toml |
Tips and commands
Interacting with Sourcery
- Trigger a new review: Comment
@sourcery-ai reviewon the pull request. - Continue discussions: Reply directly to Sourcery's review comments.
- Generate a GitHub issue from a review comment: Ask Sourcery to create an
issue from a review comment by replying to it. You can also reply to a
review comment with@sourcery-ai issueto create an issue from it. - Generate a pull request title: Write
@sourcery-aianywhere in the pull
request title to generate a title at any time. You can also comment
@sourcery-ai titleon the pull request to (re-)generate the title at any time. - Generate a pull request summary: Write
@sourcery-ai summaryanywhere in
the pull request body to generate a PR summary at any time exactly where you
want it. You can also comment@sourcery-ai summaryon the pull request to
(re-)generate the summary at any time. - Generate reviewer's guide: Comment
@sourcery-ai guideon the pull
request to (re-)generate the reviewer's guide at any time. - Resolve all Sourcery comments: Comment
@sourcery-ai resolveon the
pull request to resolve all Sourcery comments. Useful if you've already
addressed all the comments and don't want to see them anymore. - Dismiss all Sourcery reviews: Comment
@sourcery-ai dismisson the pull
request to dismiss all existing Sourcery reviews. Especially useful if you
want to start fresh with a new review - don't forget to comment
@sourcery-ai reviewto trigger a new review!
Customizing Your Experience
Access your dashboard to:
- Enable or disable review features such as the Sourcery-generated pull request
summary, the reviewer's guide, and others. - Change the review language.
- Add, remove or edit custom review instructions.
- Adjust other review settings.
Getting Help
- Contact our support team for questions or feedback.
- Visit our documentation for detailed guides and information.
- Keep in touch with the Sourcery team by following us on X/Twitter, LinkedIn or GitHub.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #3987 +/- ##
==========================================
- Coverage 89.17% 89.15% -0.03%
==========================================
Files 187 187
Lines 14970 14970
==========================================
- Hits 13349 13346 -3
- Misses 1621 1624 +3 🚀 New features to boost your workflow:
|
germa89
approved these changes
Jun 6, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bumps the testing group with 1 update: pytest.
Updates
pytestfrom 8.3.5 to 8.4.0Release notes
Sourced from pytest's releases.
... (truncated)
Commits
315b3aePrepare release version 8.4.01498ba3Merge pull request #13467 from pytest-dev/towncrier-createe4389acRemove resultlog from the docs (#13465)64b2301scripts/release: add missingbuildtotowncriercall4c205cftesting/plugins_integration: update Django (#13463)4dcbcc9Merge pull request #13458 from pytest-dev/dup-param-error5293016Merge pull request #13459 from pytest-dev/pyright-minor-fixes7a48181Add pyright configuration9fc6db9pytester: avoid confusingxself parameter9aa198bmark/expression: fix self -> clsDependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditionsSummary by Sourcery
Build: