build(deps): bump django from 4.2.14 to 5.0.7 in /backend (#2252)

* build(deps): bump django from 4.2.14 to 5.0.7 in /backend

Bumps [django](https://github.com/django/django) from 4.2.14 to 5.0.7.
- [Commits](https://github.com/django/django/compare/4.2.14...5.0.7)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Upgrade Python version in the CI image

* Fix build of PyYAML in pre-commit dependency

* Fix pre-commit in CI

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Valentin Rigal <rigal@teklia.com>
This commit is contained in:
dependabot[bot] 2024-08-02 10:48:19 +02:00 коммит произвёл GitHub
Родитель 2e65724f2c
Коммит db9798086f
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
4 изменённых файлов: 6 добавлений и 4 удалений

Просмотреть файл

@ -35,7 +35,7 @@ repos:
- id: codespell
exclude_types: [json]
- repo: https://github.com/marco-c/taskcluster_yml_validator
rev: v0.0.9
rev: v0.0.11
hooks:
- id: taskcluster_yml
- repo: https://github.com/asottile/yesqa

Просмотреть файл

@ -51,7 +51,7 @@ tasks:
taskboot_image: "mozilla/taskboot:0.4.1"
pip_install: "pip install --disable-pip-version-check --no-cache-dir --quiet"
python_version: "3.9"
python_version: "3.12"
provisionerId:
$if: 'taskcluster_root_url == "https://firefox-ci-tc.services.mozilla.com"'

Просмотреть файл

@ -1,6 +1,6 @@
-e ../tools #egg=code-review-tools
dj-database-url==2.2.0
Django==4.2.14
Django==5.0.7
django-cors-headers==4.4.0
djangorestframework==3.15.2
dockerflow==2024.4.2

Просмотреть файл

@ -30,7 +30,9 @@ This is the mock issue n°2
This is the mock issue n°3
This is the mock issue n°4"""
This is the mock issue n°4
"""
MAIL_CONTENT_BUILD_ERRORS = """
# [Code Review bot](https://github.com/mozilla/code-review) found 2 build errors on [D51](https://phabricator.test/D51)