From 0b15456904a49a2f931100b47d2be0be80135c88 Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 31 Jul 2024 21:10:58 -0400 Subject: [PATCH 1/3] remove django 3.2 part from `should_skip` in `noxfile.py` --- src/django_twc_package/noxfile.py.jinja | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/django_twc_package/noxfile.py.jinja b/src/django_twc_package/noxfile.py.jinja index aa412f1..2f7c23c 100644 --- a/src/django_twc_package/noxfile.py.jinja +++ b/src/django_twc_package/noxfile.py.jinja @@ -27,12 +27,6 @@ def should_skip(python: str, django: str) -> bool: return True {%- endif %} - {% if "3.2" in django_versions -%} - if django == DJ32 and version(python) >= version(PY312): - # Django 3.2 requires Python < 3.12 - return True - {%- endif %} - {% if "5.0" in django_versions -%} if django == DJ50 and version(python) < version(PY310): # Django 5.0 requires Python 3.10+ From 328f4bb2ad5f347de383a22754b4d6de8e561673 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 1 Aug 2024 01:11:11 +0000 Subject: [PATCH 2/3] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- examples/calver_inc/noxfile.py | 2 -- examples/calver_month/noxfile.py | 2 -- examples/default/noxfile.py | 2 -- 3 files changed, 6 deletions(-) diff --git a/examples/calver_inc/noxfile.py b/examples/calver_inc/noxfile.py index 1cd6c43..1b62f42 100644 --- a/examples/calver_inc/noxfile.py +++ b/examples/calver_inc/noxfile.py @@ -39,8 +39,6 @@ def should_skip(python: str, django: str) -> bool: # Django main requires Python 3.10+ return True - - if django == DJ50 and version(python) < version(PY310): # Django 5.0 requires Python 3.10+ return True diff --git a/examples/calver_month/noxfile.py b/examples/calver_month/noxfile.py index 80b013a..5697257 100644 --- a/examples/calver_month/noxfile.py +++ b/examples/calver_month/noxfile.py @@ -39,8 +39,6 @@ def should_skip(python: str, django: str) -> bool: # Django main requires Python 3.10+ return True - - if django == DJ50 and version(python) < version(PY310): # Django 5.0 requires Python 3.10+ return True diff --git a/examples/default/noxfile.py b/examples/default/noxfile.py index 6589e74..f716382 100644 --- a/examples/default/noxfile.py +++ b/examples/default/noxfile.py @@ -39,8 +39,6 @@ def should_skip(python: str, django: str) -> bool: # Django main requires Python 3.10+ return True - - if django == DJ50 and version(python) < version(PY310): # Django 5.0 requires Python 3.10+ return True From 925d4f5cd30ab61802b699b86821af6db20979fd Mon Sep 17 00:00:00 2001 From: Josh Date: Wed, 31 Jul 2024 21:12:11 -0400 Subject: [PATCH 3/3] update changelog --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index cabd7ce..384f08c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Reworded two headers in the template README to better reflect their purpose. +### Removed + +- Removed unused Django 3.2 section from `should_skip` function in template's `noxfile.py`. + ## [2024.21] ### Changed