Skip to content

DNM: test Python 3.14.3#169418

Closed
epenet wants to merge 12 commits intodevfrom
epenet/20260429-0649
Closed

DNM: test Python 3.14.3#169418
epenet wants to merge 12 commits intodevfrom
epenet/20260429-0649

Conversation

@epenet
Copy link
Copy Markdown
Contributor

@epenet epenet commented Apr 29, 2026

Proposed change

Do not merge: this PR is just for testing pending PRs and checking flaky tests
Main PR is #162263

Type of change

  • Dependency upgrade
  • Bugfix (non-breaking change which fixes an issue)
  • New integration (thank you!)
  • New feature (which adds functionality to an existing integration)
  • Deprecation (breaking change to happen in the future)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Additional information

  • This PR fixes or closes issue: fixes #
  • This PR is related to issue:
  • Link to documentation pull request:
  • Link to developer documentation pull request:
  • Link to frontend pull request:

Checklist

  • I understand the code I am submitting and can explain how it works.
  • The code change is tested and works locally.
  • Local tests pass. Your PR cannot be merged unless tests pass
  • There is no commented out code in this PR.
  • I have followed the development checklist
  • I have followed the perfect PR recommendations
  • The code has been formatted using Ruff (ruff format homeassistant tests)
  • Tests have been added to verify that the new code works.
  • Any generated code has been carefully reviewed for correctness and compliance with project standards.

If user exposed functionality or configuration variables are added/changed:

If the code communicates with devices, web services, or third-party tools:

  • The manifest file has all fields filled out correctly.
    Updated and included derived files by running: python3 -m script.hassfest.
  • New or updated dependencies have been added to requirements_all.txt.
    Updated by running python3 -m script.gen_requirements_all.
  • For the updated dependencies a diff between library versions and ideally a link to the changelog/release notes is added to the PR description.

To help with the load of incoming pull requests:

epenet and others added 9 commits April 28, 2026 10:50
Pre-populate the device registry with UniFi device MAC connections before
forwarding to platforms. Platforms run in parallel during forward_entry_setups,
and when device_tracker happened to be processed before any platform that
creates a device entry via DeviceInfo, the device_tracker entity was registered
as disabled-by-default (because ScannerEntity.entity_registry_enabled_default
returns False when no matching device exists in the registry yet) and aborted.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Updated docstring for ensure_homeassistant_loaded fixture.
Copilot AI review requested due to automatic review settings April 29, 2026 04:52
@home-assistant home-assistant Bot added cla-signed code-quality has-tests integration: mcp_server integration: unifi integration: watts small-pr PRs with less than 30 lines. Top 100 Integration is ranked within the top 100 by usage Top 200 Integration is ranked within the top 200 by usage labels Apr 29, 2026
@home-assistant home-assistant Bot assigned allenporter and Kane610 and unassigned allenporter Apr 29, 2026
@home-assistant
Copy link
Copy Markdown
Contributor

Hey there @allenporter, mind taking a look at this pull request as it has been labeled with an integration (mcp_server) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of mcp_server can trigger bot actions by commenting:

  • @home-assistant close Closes the pull request.
  • @home-assistant mark-draft Mark the pull request as draft.
  • @home-assistant ready-for-review Remove the draft status from the pull request.
  • @home-assistant rename Awesome new title Renames the pull request.
  • @home-assistant reopen Reopen the pull request.
  • @home-assistant unassign mcp_server Removes the current integration label and assignees on the pull request, add the integration domain after the command.
  • @home-assistant update-branch Update the pull request branch with the base branch.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component, problem in config, problem in device, feature-request) to the pull request.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component, problem in config, problem in device, feature-request) on the pull request.

@home-assistant
Copy link
Copy Markdown
Contributor

Hey there @Kane610, mind taking a look at this pull request as it has been labeled with an integration (unifi) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of unifi can trigger bot actions by commenting:

  • @home-assistant close Closes the pull request.
  • @home-assistant mark-draft Mark the pull request as draft.
  • @home-assistant ready-for-review Remove the draft status from the pull request.
  • @home-assistant rename Awesome new title Renames the pull request.
  • @home-assistant reopen Reopen the pull request.
  • @home-assistant unassign unifi Removes the current integration label and assignees on the pull request, add the integration domain after the command.
  • @home-assistant update-branch Update the pull request branch with the base branch.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component, problem in config, problem in device, feature-request) to the pull request.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component, problem in config, problem in device, feature-request) on the pull request.

@home-assistant
Copy link
Copy Markdown
Contributor

Hey there @theobld-ww, @devender-verma-ww, @ssi-spyro, mind taking a look at this pull request as it has been labeled with an integration (watts) you are listed as a code owner for? Thanks!

Code owner commands

Code owners of watts can trigger bot actions by commenting:

  • @home-assistant close Closes the pull request.
  • @home-assistant mark-draft Mark the pull request as draft.
  • @home-assistant ready-for-review Remove the draft status from the pull request.
  • @home-assistant rename Awesome new title Renames the pull request.
  • @home-assistant reopen Reopen the pull request.
  • @home-assistant unassign watts Removes the current integration label and assignees on the pull request, add the integration domain after the command.
  • @home-assistant update-branch Update the pull request branch with the base branch.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component, problem in config, problem in device, feature-request) to the pull request.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component, problem in config, problem in device, feature-request) on the pull request.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repo’s Python/runtime build targets to Python 3.14.3 while also including a couple of integration-level adjustments that affect coordinator and setup behavior.

Changes:

  • Bump Python references to 3.14.3 (tooling + generated Dockerfile) and update the builder base image version.
  • Adjust UniFi setup to pre-create device-registry entries for UniFi devices before platform forwarding.
  • Update Watts coordinator hub-update handling to notify listeners without resetting refresh scheduling; adjust MCP server test setup and manifest dependencies accordingly.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/components/mcp_server/conftest.py Adds an autouse fixture to ensure the homeassistant component is loaded for MCP server tests.
homeassistant/components/mcp_server/manifest.json Removes homeassistant from integration dependencies.
homeassistant/components/unifi/__init__.py Pre-populates device registry with UniFi devices prior to forwarding entry setups.
homeassistant/components/watts/coordinator.py Changes hub-update handling to update data + listeners without calling async_set_updated_data.
.python-version Bumps the repo Python version to 3.14.3.
script/hassfest/docker/Dockerfile Updates the generated hassfest docker base image to python:3.14.3-alpine.
.github/workflows/builder.yml Updates the builder base image version used in CI.

Comment thread homeassistant/components/unifi/__init__.py
Comment thread homeassistant/components/watts/coordinator.py
Copilot AI review requested due to automatic review settings April 29, 2026 07:08
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated no new comments.

@epenet epenet closed this Apr 29, 2026
@epenet epenet deleted the epenet/20260429-0649 branch April 29, 2026 20:50
@epenet
Copy link
Copy Markdown
Contributor Author

epenet commented Apr 29, 2026

#169444 was accepted and merged

@github-actions github-actions Bot locked and limited conversation to collaborators Apr 30, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-signed code-quality has-tests integration: mcp_server integration: unifi integration: watts Quality Scale: platinum Quality Scale: silver small-pr PRs with less than 30 lines. Top 100 Integration is ranked within the top 100 by usage Top 200 Integration is ranked within the top 200 by usage

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants