Skip to content

Bump async-upnp-client to 0.15.0#47885

Closed
B5r1oJ0A9G wants to merge 2 commits into
home-assistant:devfrom
B5r1oJ0A9G:patch-1
Closed

Bump async-upnp-client to 0.15.0#47885
B5r1oJ0A9G wants to merge 2 commits into
home-assistant:devfrom
B5r1oJ0A9G:patch-1

Conversation

@B5r1oJ0A9G
Copy link
Copy Markdown

@B5r1oJ0A9G B5r1oJ0A9G commented Mar 14, 2021

Breaking change

Proposed change

Update required version to current version of async-upnp-client.

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)
  • Breaking change (fix/feature causing existing functionality to break)
  • Code quality improvements to existing code or addition of tests

Example entry for configuration.yaml:

# Example configuration.yaml

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
  • The code has been formatted using Black (black --fast 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.
  • Untested files have been added to .coveragerc.

The integration reached or maintains the following Integration Quality Scale:

  • No score or internal
  • 🥈 Silver
  • 🥇 Gold
  • 🏆 Platinum

To help with the load of incoming pull requests:

@probot-home-assistant probot-home-assistant Bot added core dependency Pull requests marked as a dependency upgrade small-pr PRs with less than 30 lines. dependency-bump Pull requests that update a dependency file labels Mar 14, 2021
@MartinHjelmare MartinHjelmare changed the title Version of async-upnp-client bumped up to 0.15.0 Bump async-upnp-client to 0.15.0 Mar 14, 2021
@MartinHjelmare
Copy link
Copy Markdown
Member

Please add a link to a changelog or GitHub commit compare view for the version bump in the PR description. Thanks!

@B5r1oJ0A9G
Copy link
Copy Markdown
Author

Please add a link to a changelog or GitHub commit compare view for the version bump in the PR description. Thanks!

Requested information added to section "Additional information".

@B5r1oJ0A9G
Copy link
Copy Markdown
Author

While this requested change was sufficient in my dev environment, it appears to require some more changes, at least with Docker:

bash-5.0# grep -r "async-upnp-client==0.15.0" /usr/src/homeassistant/
/usr/src/homeassistant/homeassistant/package_constraints.txt:async-upnp-client==0.15.0
/usr/src/homeassistant/homeassistant/components/ssdp/manifest.json:  "requirements": ["defusedxml==0.6.0", "netdisco==2.8.2", "async-upnp-client==0.15.0"],
/usr/src/homeassistant/homeassistant/components/upnp/manifest.json:  "requirements": ["async-upnp-client==0.15.0"],

As the version is also pinned in other contexts, it seems to be a more comprehensive effort to coordinate:

/usr/src/homeassistant/homeassistant/components/dlna_dmr/manifest.json:  "requirements": ["async-upnp-client==0.14.13"],
/usr/src/homeassistant/requirements_all.txt:async-upnp-client==0.14.13
/usr/src/homeassistant/requirements_test_all.txt:async-upnp-client==0.14.13

@MartinHjelmare
Copy link
Copy Markdown
Member

Yes, update the upnp manifest and then run the requirements script per the bullet in the PR description.

@homeassistant
Copy link
Copy Markdown
Contributor

Hi @drprofesq,

It seems you haven't yet signed a CLA. Please do so here.

Once you do that we will be able to review and accept this pull request.

Thanks!

@B5r1oJ0A9G
Copy link
Copy Markdown
Author

In efdd99f the version is pinned accordingly for the componnents ssdp, dlna_dmr and upnp. In the end only the update concerning ssdp lead to the necessary update of package_constraints.txt.

As for dlna_dmr and upnp, @StevenLooman agrees with the increase of the required version for async-upn-clientto 0.15.0: StevenLooman/async_upnp_client#50 (comment).

@StevenLooman
Copy link
Copy Markdown
Contributor

StevenLooman commented Mar 15, 2021 via email

@StevenLooman
Copy link
Copy Markdown
Contributor

I have created #48521 to bump async_upnp_client to 0.16.0. This PR can be closed. Don't want to steal your thunder @B5r1oJ0A9G, but the last release of async_upnp_client did not include everything I needed for #46822.

@B5r1oJ0A9G B5r1oJ0A9G closed this Mar 30, 2021
@B5r1oJ0A9G B5r1oJ0A9G deleted the patch-1 branch March 30, 2021 21:41
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 31, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla-needed cla-signed core dependency Pull requests marked as a dependency upgrade dependency-bump Pull requests that update a dependency file small-pr PRs with less than 30 lines.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants