From 3fb4a922945cda4f0ee6841fbcdfcee2eb9344e5 Mon Sep 17 00:00:00 2001 From: Anders <6058745+ddabble@users.noreply.github.com> Date: Wed, 29 May 2024 18:11:19 +0200 Subject: [PATCH] Added Django as installation dependency Our code requires a Django installation to run, so it would make sense to add it as a dependency. --- CHANGES.rst | 2 ++ pyproject.toml | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGES.rst b/CHANGES.rst index 9d638095..549faad6 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -10,6 +10,8 @@ Unreleased - Migrated package building from using the deprecated ``setup.py`` to using ``pyproject.toml`` (with Hatchling as build backend); ``setup.py`` has consequently been removed (gh-1348) +- Added ``django>=4.2`` as an installation dependency, to mirror the minimum version + tested in our CI (gh-1349) .. Start of PyPI readme diff --git a/pyproject.toml b/pyproject.toml index 91ba868e..bd1ddec5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,6 +39,7 @@ dynamic = [ "version", ] dependencies = [ + "django>=4.2", ] urls.Changelog = "https://github.com/jazzband/django-simple-history/blob/master/CHANGES.rst" urls.Documentation = "https://django-simple-history.readthedocs.io/en/stable/"