Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bump celery version to a version which supports Python 3.11 (#2519)
# Which issue(s) this PR fixes I was seeing some strange logs occasionally pop up from celery: ```bash [1;33m2023-07-13 10:05:14,772 source=engine:celery worker=MainProcess task_id=??? task_name=??? name=celery.redirected level=WARNING AttributeError: '_Code' object has no attribute 'co_positions'[0m ``` Did a bit of digging on this and [realized](DataDog/dd-trace-py#4149) that `celery==5.2.7` does not support Python 3.11 (the version we use): ![Screenshot 2023-07-13 at 12 14 36](https://github.com/grafana/oncall/assets/9406895/a6ee76ea-12ed-4a3d-b37c-62b4291893e1) We should immediately upgrade to `celery==5.3.1`. It mentions in this in the changelog for that version: ![Screenshot 2023-07-13 at 12 13 22](https://github.com/grafana/oncall/assets/9406895/5afdc35e-fbda-4350-8dc4-d989ac31fdc6) ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated (N/A) - [ ] Documentation added (or `pr:no public docs` PR label added if not required) (N/A) - [ ] `CHANGELOG.md` updated (or `pr:no changelog` PR label added if not required) (N/A)
- Loading branch information