From cb0aeb68c0114345d58aed3357a7ead08c759aa3 Mon Sep 17 00:00:00 2001 From: "Ronny V." Date: Fri, 15 Nov 2024 12:15:27 +0100 Subject: [PATCH] v2.4.2 (#23) --- .github/workflows/ci.yml | 6 +++--- .pre-commit-config.yaml | 11 +++++++++++ .readthedocs.yaml | 2 +- CHANGES.md | 3 +++ django_pony_express/__init__.py | 2 +- 5 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e1559e0..5d104c9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,7 +8,7 @@ on: jobs: linting: - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 @@ -26,7 +26,7 @@ jobs: tests: name: Python ${{ matrix.python-version }}, django ${{ matrix.django-version }} - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 strategy: matrix: python-version: ['3.9', '3.10', '3.11', '3.12', '3.13', ] @@ -60,7 +60,7 @@ jobs: coverage: name: Coverage - runs-on: ubuntu-22.04 + runs-on: ubuntu-24.04 needs: tests steps: - uses: actions/checkout@v4 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 58b016d..f0ce17f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,3 +43,14 @@ repos: charts/.* |.*\.py )$ + + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v5.0.0 + hooks: + - id: no-commit-to-branch + args: + [ + "--pattern", + '^^(?!(?:feature|hotfix|bugfix|refactor|maintenance)/[\w\d\-_#]+).*$', + ] + stages: [ pre-commit ] diff --git a/.readthedocs.yaml b/.readthedocs.yaml index 5e5edaa..5f1ffc9 100644 --- a/.readthedocs.yaml +++ b/.readthedocs.yaml @@ -7,7 +7,7 @@ version: 2 # Set the OS, Python version and other tools you might need build: - os: ubuntu-22.04 + os: ubuntu-24.04 tools: python: "3.12" diff --git a/CHANGES.md b/CHANGES.md index 79cee1f..fc2ddf8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,5 +1,8 @@ # Changelog +* *2.4.2* (2024-11-15) + * Internal updates via `ambient-package-update` + * *2.4.1* (2024-10-14) * Added Python 3.13 support * Added Djade linter to pre-commit diff --git a/django_pony_express/__init__.py b/django_pony_express/__init__.py index c75713b..828f978 100644 --- a/django_pony_express/__init__.py +++ b/django_pony_express/__init__.py @@ -1,3 +1,3 @@ """Class-based emails including a test suite for Django""" -__version__ = "2.4.1" +__version__ = "2.4.2"