From 53196bbd271149bed5d9155d8769e5190a88de12 Mon Sep 17 00:00:00 2001 From: Ronny Vedrilla Date: Mon, 12 Aug 2024 08:25:07 +0200 Subject: [PATCH] v11.2.0 --- .github/workflows/ci.yml | 2 +- .pre-commit-config.yaml | 6 +++--- CHANGES.md | 4 +++- ambient_toolbox/__init__.py | 2 +- pyproject.toml | 2 ++ 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6e16c4b..c9d222a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: strategy: matrix: python-version: ['3.9', '3.10', '3.11', '3.12', ] - django-version: ['42', '50', ] + django-version: ['42', '50', '51', ] exclude: - python-version: '3.9' diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index aad4b66..fa00874 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.5.2 + rev: v0.5.7 hooks: # Run the Ruff linter. - id: ruff @@ -20,14 +20,14 @@ repos: files: '(?:README\.md|docs\/.*\.(?:md|rst))' - repo: https://github.com/asottile/pyupgrade - rev: v3.16.0 + rev: v3.17.0 hooks: - id: pyupgrade args: [ --py39-plus ] stages: [ push ] - repo: https://github.com/adamchainz/django-upgrade - rev: 1.19.0 + rev: 1.20.0 hooks: - id: django-upgrade args: [--target-version, "4.2"] diff --git a/CHANGES.md b/CHANGES.md index 869b3c6..21c7cfd 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,9 +1,11 @@ # Changelog +**11.2.0** (2024-08-12) + * Added Django 5.1 support + **11.1.2** (2024-07-19) * Added limitation paragraph to object ownership admin documentation - **11.1.1** (2024-07-19) * Fixed a bug leading to missing docs diff --git a/ambient_toolbox/__init__.py b/ambient_toolbox/__init__.py index 7267150..3ec7eaf 100644 --- a/ambient_toolbox/__init__.py +++ b/ambient_toolbox/__init__.py @@ -1,3 +1,3 @@ """Python toolbox of Ambient Digital containing an abundance of useful tools and gadgets.""" -__version__ = "11.1.2" +__version__ = "11.2.0" diff --git a/pyproject.toml b/pyproject.toml index 7c2a383..eff6b1a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,6 +14,7 @@ classifiers = [ "Framework :: Django", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", + "Framework :: Django :: 5.1", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", @@ -206,6 +207,7 @@ legacy_tox_ini = """ deps = django42: Django==4.2.* django50: Django==5.0.* + django51: Django==5.1.* extras = dev,drf,graphql,bleacher,sentry,view-layer, commands = coverage run -m pytest --ds settings tests