Repository: MarkusH/django-migrations-formatter (language: python)

Issue:
Drop old Django versions



Discussion / hints:

Fix patch:
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 14883fe..8608c7e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,8 @@
 
 ## Under development
 
+- Removed support for Django 3.0 and 3.1.
+
 - A minimum version of `black>=22.1.0` is required.
 
 - Added the `black` and `isort` installation extras. One can now automatically
diff --git a/setup.py b/setup.py
index 6233bfd..79aeeac 100644
--- a/setup.py
+++ b/setup.py
@@ -41,8 +41,6 @@
         "Environment :: Web Environment",
         "Framework :: Django",
         "Framework :: Django :: 2.2",
-        "Framework :: Django :: 3.0",
-        "Framework :: Django :: 3.1",
         "Framework :: Django :: 3.2",
         "Framework :: Django :: 4.0",
         "Intended Audience :: Developers",


Test patch:
diff --git a/.github/workflows/test-deploy.yml b/.github/workflows/test-deploy.yml
index 91a8d68..1e74fda 100644
--- a/.github/workflows/test-deploy.yml
+++ b/.github/workflows/test-deploy.yml
@@ -16,14 +16,11 @@ jobs:
     name: "Test Python ${{ matrix.python-version }} & Django ${{ matrix.django-version }}"
     strategy:
       matrix:
-        django-version: ["2.2.0", "3.0.0", "3.1.0", "3.2.0", "4.0.0"]
+        django-version: ["2.2.0", "3.2.0", "4.0.0"]
         python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
         exclude:
-          # 3.0
-          - django-version: "3.0.0"
-            python-version: "3.10"
-          # 3.1
-          - django-version: "3.1.0"
+          # 2.2
+          - django-version: "2.2.0"
             python-version: "3.10"
           # 4.0
           - django-version: "4.0.0"