oncall-engine/engine/apps/slack
Joey Orlando 7c4b40a046
upgrade to Python 3.12 (#3456)
# What this PR does

Upgrade to Python 3.12 + fix several invalid test assertions that lead
to test failures in the latest version of `pytest`:
```
AttributeError: 'called_once_with' is not a valid assertion. Use a spec for the mock if 'called_once_with' is meant to be an attribute.. Did you mean: 'assert_called_once_with'?
```

## Checklist

- [ ] Unit, integration, and e2e (if applicable) tests updated
- [x] Documentation added (or `pr:no public docs` PR label added if not
required)
- [x] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not
required)
2023-11-30 13:47:41 +00:00
..
migrations Fix Slack access token length issue (#3016) 2023-09-13 11:53:17 +01:00
models Update when slack client ratelimit retry handler is enabled (#3447) 2023-11-30 12:35:46 +00:00
representatives Refactor AlertGroup.slack_message (#2957) 2023-09-04 18:03:18 +00:00
scenarios upgrade to Python 3.12 (#3456) 2023-11-30 13:47:41 +00:00
tests upgrade to Python 3.12 (#3456) 2023-11-30 13:47:41 +00:00
types upgrade to Python 3.12 (#3456) 2023-11-30 13:47:41 +00:00
__init__.py World, meet OnCall! 2022-06-03 08:09:47 -06:00
alert_group_slack_service.py Enable flake8-bugbear, fix issues (#3454) 2023-11-29 15:04:48 +00:00
client.py Update when slack client ratelimit retry handler is enabled (#3447) 2023-11-30 12:35:46 +00:00
constants.py Truncate resolution note text in slack message to satisfy block limits (#3351) 2023-11-16 13:15:04 +00:00
errors.py Update slack user group update not to retry on some errors (#3363) 2023-11-16 13:41:42 +00:00
slack_formatter.py Fix alert group rendering (#3424) 2023-11-24 15:39:37 +00:00
tasks.py Update when slack client ratelimit retry handler is enabled (#3447) 2023-11-30 12:35:46 +00:00
test_slack_message.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00
urls.py Shift Swap Requests in Slack + improve typing for Slack django app (#2653) 2023-07-28 15:11:38 +00:00
utils.py Improve Slack error handling (#3000) 2023-09-12 09:49:16 +00:00
views.py Fix 2023-11-28 13:22:18 +08:00