From 9c9a0f9c2fc528839d2fc50c90dcf849e504fa46 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 23 Jul 2025 15:37:10 -0500 Subject: [PATCH] drop support for Django 5.0 --- CHANGELOG.md | 4 ++++ README.md | 6 +++--- noxfile.py | 7 +------ 3 files changed, 8 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd6c9f2..59e12fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,10 @@ and this project attempts to adhere to [Semantic Versioning](https://semver.org/ - Support for the `django.templates.backends.jinja2.Jinja2` template engine backend. - Support for Django 5.2. +### Removed + +- Dropped support for Django 5.0. + ### New Contributors - HiPhish [@hiphish](https://github.com/hiphish) ([#170](https://github.com/westerveltco/django-simple-nav/pull/170)) diff --git a/README.md b/README.md index 5d27db9..5f13e29 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ [![PyPI](https://img.shields.io/pypi/v/django-simple-nav)](https://pypi.org/project/django-simple-nav/) ![PyPI - Python Version](https://img.shields.io/pypi/pyversions/django-simple-nav) -![Django Version](https://img.shields.io/badge/django-4.2%20%7C%205.0%20%7C%205.1%20%7C%20-%2344B78B?labelColor=%23092E20) +![Django Version](https://img.shields.io/badge/django-4.2%20%7C%205.1%20%7C%20-%2344B78B?labelColor=%23092E20) - + `django-simple-nav` is a Python/Django application designed to simplify the integration of navigation and menu bars in your Django projects. With a straightforward API and customizable options, you can easily add and manage navigational elements in your web applications. It is designed to be simple to start with, but flexible enough to handle complex navigation structures while maintaining that same simplicity. @@ -13,7 +13,7 @@ ## Requirements - Python 3.9, 3.10, 3.11, 3.12, 3.13 -- Django 4.2, 5.0, 5.1, 5.2 +- Django 4.2, 5.1, 5.2 ## Installation diff --git a/noxfile.py b/noxfile.py index 83d65b4..17488a6 100644 --- a/noxfile.py +++ b/noxfile.py @@ -19,12 +19,11 @@ PY_LATEST = PY_VERSIONS[-1] DJ42 = "4.2" -DJ50 = "5.0" DJ51 = "5.1" DJ52 = "5.2" DJMAIN = "main" DJMAIN_MIN_PY = PY312 -DJ_VERSIONS = [DJ42, DJ50, DJ51, DJ52, DJMAIN] +DJ_VERSIONS = [DJ42, DJ51, DJ52, DJMAIN] DJ_LTS = [ version for version in DJ_VERSIONS if version.endswith(".2") and version != DJMAIN ] @@ -52,10 +51,6 @@ def should_skip(python: str, django: str) -> bool: # Django 5.1 requires Python 3.10+ return True - if django == DJ50 and version(python) < version(PY310): - # Django 5.0 requires Python 3.10+ - return True - return False