From c7e8c673e3437fd3a94f0e263a59d3a948dfd342 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Thu, 24 Feb 2022 11:13:58 +0000 Subject: [PATCH] requirements: Disable django-dbbackup This is not yet compatible with Django 4.0. Signed-off-by: Stephen Finucane --- .github/workflows/ci.yaml | 9 +++++---- requirements-dev.txt | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 19a10987..deeb5394 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -138,10 +138,11 @@ jobs: { echo patchwork; echo patchwork; } | \ docker-compose run -T --rm web \ python manage.py changepassword patchwork - - name: Test dbbackup/dbrestore - run: | - docker-compose run -T --rm web python manage.py dbbackup - echo y | docker-compose run -T --rm web python manage.py dbrestore + # FIXME(stephenfin): Re-enable this once dbbackup supports Django 4.0 + # - name: Test dbbackup/dbrestore + # run: | + # docker-compose run -T --rm web python manage.py dbbackup + # echo y | docker-compose run -T --rm web python manage.py dbrestore - name: Modify database user permissions (mysql) if: ${{ matrix.db == 'mysql' }} run: | diff --git a/requirements-dev.txt b/requirements-dev.txt index 8935f174..717d21d6 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,5 +2,6 @@ Django~=4.0.0 djangorestframework~=3.13.0 django-filter~=21.1.0 django-debug-toolbar~=3.2.0 -django-dbbackup~=3.3.0 +# This does not support Django 4.0 +# django-dbbackup~=3.3.0 -r requirements-test.txt -- 2.47.3