Skip to content

Conversation

@StevenLooman
Copy link
Contributor

Proposed change

Bump async-upnp-client to 0.45.0, fixing parsing of SSDP headers after bumping aiohttp to 3.12.14.

This not only impacts the upnp component, but also the ssdp component and most likely components using the discovery via ssdp as well.

See:

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

Checklist

  • 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.

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 link to the changelog, or at minimum a diff between library versions is added to the PR description.

To help with the load of incoming pull requests:

@home-assistant
Copy link

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

Code owner commands

Code owners of dlna_dmr can trigger bot actions by commenting:

  • @home-assistant close Closes the pull request.
  • @home-assistant rename Awesome new title Renames the pull request.
  • @home-assistant reopen Reopen the pull request.
  • @home-assistant unassign dlna_dmr Removes the current integration label and assignees on the pull request, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the pull request.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the pull request.

@home-assistant
Copy link

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

Code owner commands

Code owners of dlna_dms can trigger bot actions by commenting:

  • @home-assistant close Closes the pull request.
  • @home-assistant rename Awesome new title Renames the pull request.
  • @home-assistant reopen Reopen the pull request.
  • @home-assistant unassign dlna_dms Removes the current integration label and assignees on the pull request, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the pull request.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the pull request.

@home-assistant
Copy link

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

Code owner commands

Code owners of yeelight can trigger bot actions by commenting:

  • @home-assistant close Closes the pull request.
  • @home-assistant rename Awesome new title Renames the pull request.
  • @home-assistant reopen Reopen the pull request.
  • @home-assistant unassign yeelight Removes the current integration label and assignees on the pull request, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the pull request.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the pull request.

@home-assistant
Copy link

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

Code owner commands

Code owners of samsungtv can trigger bot actions by commenting:

  • @home-assistant close Closes the pull request.
  • @home-assistant rename Awesome new title Renames the pull request.
  • @home-assistant reopen Reopen the pull request.
  • @home-assistant unassign samsungtv Removes the current integration label and assignees on the pull request, add the integration domain after the command.
  • @home-assistant add-label needs-more-information Add a label (needs-more-information, problem in dependency, problem in custom component) to the pull request.
  • @home-assistant remove-label needs-more-information Remove a label (needs-more-information, problem in dependency, problem in custom component) on the pull request.

Copy link
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

Bump async-upnp-client to 0.45.0 to pick up SSDP header parsing fixes after the aiohttp upgrade.

  • Update async-upnp-client version in test and production requirements and package constraints
  • Update component manifests to require async-upnp-client==0.45.0 across SSDP and UPnP integrations

Reviewed Changes

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

Show a summary per file
File Description
requirements_test_all.txt Bump async-upnp-client from 0.44.0 to 0.45.0
requirements_all.txt Bump async-upnp-client from 0.44.0 to 0.45.0
homeassistant/package_constraints.txt Bump async-upnp-client from 0.44.0 to 0.45.0
homeassistant/components/yeelight/manifest.json Update async-upnp-client requirement
homeassistant/components/upnp/manifest.json Update async-upnp-client requirement
homeassistant/components/ssdp/manifest.json Update async-upnp-client requirement
homeassistant/components/samsungtv/manifest.json Update async-upnp-client requirement
homeassistant/components/dlna_dms/manifest.json Update async-upnp-client requirement
homeassistant/components/dlna_dmr/manifest.json Update async-upnp-client requirement

@StevenLooman StevenLooman requested a review from bdraco July 17, 2025 16:11
@StevenLooman StevenLooman added this to the 2025.7.3 milestone Jul 17, 2025
Copy link
Contributor

@chemelli74 chemelli74 left a comment

Choose a reason for hiding this comment

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

LGTM !

@elupus
Copy link
Contributor

elupus commented Jul 17, 2025

This feel like a weird almost breaking change in aiohttp @bdraco thoughts?

@StevenLooman
Copy link
Contributor Author

StevenLooman commented Jul 17, 2025 via email

@elupus
Copy link
Contributor

elupus commented Jul 17, 2025

Ah it's using HeaderParser object from the library. Unsure if that is considered public. Changes looks alright.

@elupus elupus merged commit 3b6eb04 into home-assistant:dev Jul 17, 2025
48 checks passed
@StevenLooman StevenLooman deleted the bump_async_upnp_client_0.45.0 branch July 17, 2025 19:28
@StevenLooman
Copy link
Contributor Author

Thanks!

@bdraco
Copy link
Member

bdraco commented Jul 17, 2025

Breaking change in aiohttp was unavoidable and wasn't marked breaking at the time of publish because GHSA-9548-qrrj-x5pj was under embargo

1 similar comment
@bdraco

This comment has been minimized.

frenck pushed a commit that referenced this pull request Jul 18, 2025
@frenck frenck mentioned this pull request Jul 18, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Jul 19, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update to 2025.7.2 broke UPnP/IGD integration with Huawei EchoLife Series router

7 participants