Revert "chore!: upgrade Django version to 4.2 (LTS)" (#34095)

This commit is contained in:
Muhammad Soban Javed
2024-01-23 19:07:53 +05:00
committed by GitHub
parent fc8e40fb10
commit 6f32d0e6f1
13 changed files with 37 additions and 54 deletions

View File

@@ -16,11 +16,16 @@ jobs:
os: [ ubuntu-20.04 ]
python-version: [ 3.8 ]
# 'pinned' is used to install the latest patch version of Django
# within the global constraint i.e. Django==4.2.8 in current case
# within the global constraint i.e. Django==3.2.21 in current case
# because we have global constraint of Django<4.2
django-version: ["pinned"]
django-version: ["pinned", "4.2"]
mongo-version: ["4"]
mysql-version: ["8"]
mysql-version: ["5.7", "8"]
# excluding mysql5.7 with Django 4.2 since Django 4.2 has
# dropped support for MySQL<8
exclude:
- django-version: "4.2"
mysql-version: "5.7"
services:
mongo:
image: mongo:${{ matrix.mongo-version }}

View File

@@ -17,6 +17,7 @@ jobs:
- "3.8"
django-version:
- "pinned"
- "4.2"
# When updating the shards, remember to make the same changes in
# .github/workflows/unit-tests-gh-hosted.yml
shard_name: