Skip to content

build(deps): bump pytest-homeassistant-custom-component from 0.13.319 to 0.13.348 - #2003

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/pip/pytest-homeassistant-custom-component-0.13.348
Open

build(deps): bump pytest-homeassistant-custom-component from 0.13.319 to 0.13.348#2003
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/pip/pytest-homeassistant-custom-component-0.13.348

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 27, 2026

Copy link
Copy Markdown
Contributor

Bumps pytest-homeassistant-custom-component from 0.13.319 to 0.13.348.

Release notes

Sourced from pytest-homeassistant-custom-component's releases.

Release 0.13.348

Automatic release homeassistant version: 2026.7.4

Release 0.13.347

Automatic release homeassistant version: 2026.7.3

Release 0.13.346

Automatic release homeassistant version: 2026.7.2

Release 0.13.345

Automatic release homeassistant version: 2026.7.1

Release 0.13.344

Automatic release homeassistant version: 2026.7.0

Release 0.13.343

Automatic release homeassistant version: 2026.7.0b3

Release 0.13.342

Automatic release homeassistant version: 2026.7.0b2

Release 0.13.341

Automatic release homeassistant version: 2026.7.0b1

Release 0.13.340

Automatic release homeassistant version: 2026.6.4

Release 0.13.339

Automatic release homeassistant version: 2026.6.3

Release 0.13.338

Automatic release homeassistant version: 2026.6.2

Release 0.13.337

Automatic release homeassistant version: 2026.6.1

Release 0.13.336

Automatic release

... (truncated)

Commits

Summary by CodeRabbit

  • Chores
    • Updated the test tooling package to a newer version.

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 27, 2026
@dependabot
dependabot Bot had a problem deploying to continuous-integration July 27, 2026 15:52 Failure
Bumps [pytest-homeassistant-custom-component](https://github.com/MatthewFlamm/pytest-homeassistant-custom-component) from 0.13.319 to 0.13.348.
- [Release notes](https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/releases)
- [Changelog](https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/blob/master/CHANGELOG.md)
- [Commits](MatthewFlamm/pytest-homeassistant-custom-component@0.13.319...0.13.348)

---
updated-dependencies:
- dependency-name: pytest-homeassistant-custom-component
  dependency-version: 0.13.348
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/pip/pytest-homeassistant-custom-component-0.13.348 branch from 73fc0e9 to c0b160e Compare July 29, 2026 06:06
@dependabot
dependabot Bot had a problem deploying to continuous-integration July 29, 2026 06:06 Failure
@drc38
drc38 had a problem deploying to continuous-integration July 29, 2026 06:54 — with GitHub Actions Failure
@drc38

drc38 commented Jul 29, 2026

Copy link
Copy Markdown
Collaborator

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 1186789a-f90d-4d06-a32c-0bccc9ffbe76

📥 Commits

Reviewing files that changed from the base of the PR and between 1ef35ba and 6319f98.

📒 Files selected for processing (1)
  • requirements.txt

📝 Walkthrough

Walkthrough

The pull request updates the pinned pytest-homeassistant-custom-component dependency from 0.13.319 to 0.13.348 in requirements.txt.

Changes

Test dependency update

Layer / File(s) Summary
Update test dependency
requirements.txt
The pinned pytest-homeassistant-custom-component version changes from 0.13.319 to 0.13.348.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately and concisely describes the dependency version bump in this pull request.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🛠️ Fix failing CI checks
  • Fix failing CI checks
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/pip/pytest-homeassistant-custom-component-0.13.348

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai

coderabbitai Bot commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

CI fix PR created: #2018

Follow #2018 for fix progress and CI status. If CI still fails, re-run the fix-ci command to try again.

Note: Fixing CI failures is a beta feature and may encounter errors. Expect some limitations and changes as we gather feedback and continue to improve it.

Note: If your CI is configured to only run on PRs targeting specific branches (e.g., main), it may not trigger on the fix PR. You can merge the fix into your branch and CI will validate on the original PR.

1 failing check(s)
  • GitHub Actions: Linting / 0_Run tests.txt
1 file(s) modified
  • tests/test_more_coverage_chargepoint.py
View agent analysis
Now let's double check the final state of the test function.

This looks correct. This is a test-only fix that doesn't touch source or revert any deliberate change from the dependency bump.

## Summary

The failing test `test_run_handles_timeout_and_other_exception` in `tests/test_more_coverage_chargepoint.py` calls `srv.run(...)` directly with fabricated coroutines to exercise its exception-handling branches. Doing so overwrites `srv.tasks`, silently orphaning the *real* `start()`/`monitor_connection()` tasks that were created by the genuine connection handshake (`srv.start()` inside `on_connect`). Since `asyncio.gather()` doesn't cancel sibling tasks when one of them raises, and `stop()` was also monkeypatched to a no-op for this test, those original tasks (in particular `monitor_connection()`, which starts with a 10s `asyncio.sleep`) were never cancelled and kept running past the end of the test — triggering the newer, stricter "lingering task" check added in the bumped `pytest-homeassistant-custom-component` version.

Fix (test-only, in `tests/test_more_coverage_chargepoint.py:159-167,133-135`): capture a reference to the original `srv.tasks` before they get clobbered, and explicitly cancel/await them in the `finally` block, ensuring no background tasks leak past the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant