Skip to content

Upgrade twilio package to version 6.19.1 (#17395)#17424

Merged
fabaff merged 1 commit intohome-assistant:devfrom
bgianfo:update-twilio
Oct 18, 2018
Merged

Upgrade twilio package to version 6.19.1 (#17395)#17424
fabaff merged 1 commit intohome-assistant:devfrom
bgianfo:update-twilio

Conversation

@bgianfo
Copy link
Copy Markdown
Contributor

@bgianfo bgianfo commented Oct 14, 2018

Description:

  • Bump twilio requirement to latest 6.19.1 version

  • Fix API breakages.

Related issue (if applicable): fixes #17395

@homeassistant
Copy link
Copy Markdown
Contributor

Hi @bgianfo,

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!

@fabaff
Copy link
Copy Markdown
Member

fabaff commented Oct 14, 2018

There are issues which needs to be addressed:

************* Module homeassistant.components.twilio
homeassistant/components/twilio.py:54:8: E0611: No name 'Response' in module 'twilio.twiml' (no-name-in-module)
************* Module homeassistant.components.notify.twilio_call
homeassistant/components/notify/twilio_call.py:45:8: E0611: No name 'TwilioRestException' in module 'twilio' (no-name-in-module)

- Bump twilio requirement to latest 6.19.1 version

- The generic response type is gone in the latest
  versions of the twilio package. It appears we were
  generating an empty response just to get the empty
  xml body. TwilML is the new base class all responses
  inherit from. So I've switched the code over to using
  and empty TwilML object instead.

- The exception type was moved to a different location.
@bgianfo bgianfo changed the title Upgrade twilio package to version 6.18.1 (#17395) Upgrade twilio package to version 6.19.1 (#17395) Oct 17, 2018
Copy link
Copy Markdown
Member

@fabaff fabaff left a comment

Choose a reason for hiding this comment

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

Thanks 🐦

@fabaff fabaff merged commit 45878c6 into home-assistant:dev Oct 18, 2018
@ghost ghost removed the in progress label Oct 18, 2018
@balloob balloob mentioned this pull request Oct 26, 2018
@home-assistant home-assistant locked and limited conversation to collaborators Feb 5, 2019
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.

Upgrade twilio to 6.18.1

4 participants