From 45f880a70f49cbe348f800d988ca36b717020669 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 05cde97..8bd40ba 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 f8de913..ba58654 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", "requests", ]