RasaHQ / rasa

💬 Open source machine learning framework to automate text- and voice-based conversations: NLU, dialogue management, connect to Slack, Facebook, and more - Create chatbots and voice assistants
https://rasa.com/docs/rasa/
Apache License 2.0
18.92k stars 4.63k forks source link

Replace deprecated `oauth2client` in favour of `google-auth` #9989

Closed joejuzl closed 2 years ago

joejuzl commented 3 years ago

Description

oauth2client has been deprecated. It is now causing an error when pyparsing>=3.0.0.

module 'pyparsing' has no attribute 'downcaseTokens'

See sentry.

The recommended library to change to is google-auth.

We currently only use oauth2client in hangouts.py (to verify the bot token).

Definition of Done:

tayfun commented 3 years ago

Hangouts is deprecated in favour of Google Chat (see https://blog.google/products/workspace/latest-google-hangouts-and-upgrade-google-chat/ ), so might be a good idea to check how much Hangouts channel is being used and maybe even drop support if not utilized much.