mirror of
https://github.com/ansible/awx.git
synced 2026-03-02 01:08:48 -03:30
updates the implementation of the slack backend for notifications
Use the slack_sdk instead of the deprecated slackclient. Because according to the official documentation: > The slackclient PyPI project is in maintenance mode now and slack-sdk project is the successor. With this commit one UPGRADE BLOCKER from requirements/requirements.in is removed. Als the license for slack_sdk is updated and unit tests for slack notifications backend are added. Signed-off-by: Daniel Ziegenberg <daniel@ziegenberg.at>
This commit is contained in:
@@ -108,12 +108,6 @@ Upgrading to 4.0.0 causes error because imports changed.
|
||||
ImportError: cannot import name 'KeyVaultClient'
|
||||
```
|
||||
|
||||
### slackclient
|
||||
|
||||
Imports as used in `awx/main/notifications/slack_backend.py` changed
|
||||
in version 2.0. This plugin code will need to change and be re-tested
|
||||
as the upgrade takes place.
|
||||
|
||||
### django-jsonfield
|
||||
|
||||
Instead of calling a `loads()` operation, the returned value is casted into
|
||||
|
||||
Reference in New Issue
Block a user