From 5c8d271279a931e07e09bbb0c70968760030b699 Mon Sep 17 00:00:00 2001 From: Steven K Date: Wed, 4 Sep 2024 17:59:17 -0700 Subject: [PATCH] Update dependencies to Django 5.0 and adjust CI workflows Updated `pyproject.toml` files to require Django 5.0 instead of 4.2. Also streamlined GitHub Actions workflows by removing outdated sizer checks, ensuring compatibility with Django 5.0, and modifying matrix configurations for the updated Django version. Signed-off-by: Steven K --- .github/workflows/main.yml | 2 +- pyproject.toml | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c1c3a9a..d0d6938 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -124,7 +124,7 @@ jobs: max-parallel: 4 matrix: db: [ sqlite, mariadb ] - django-version: ["~=4.2.0", "~=5.0"] + django-version: [ "~=5.0" ] python-version: [ "3.12" ] services: diff --git a/pyproject.toml b/pyproject.toml index 21b9677..af27ac8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,6 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", - "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", "Intended Audience :: Developers", "License :: Other/Proprietary License", @@ -30,7 +29,7 @@ classifiers = [ "Topic :: Utilities", ] dependencies = [ - "Django>=4.2", + "Django>=5.0", "six" ]