From 2f39fa5dbb34a82f66f1bd652d3d2fc52bb06a7e Mon Sep 17 00:00:00 2001 From: Steven K Date: Wed, 4 Sep 2024 17:59:12 -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 37ced94..010b187 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 06c7bee..99eda37 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -18,7 +18,6 @@ classifiers = [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", - "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", @@ -29,7 +28,7 @@ classifiers = [ "Topic :: Utilities", ] dependencies = [ - "django>=4.2", + "django>=5.0", "python-dateutil", ]