From 705e10d0c3be98e7d057459adcffc0cf8ac3bbd3 Mon Sep 17 00:00:00 2001 From: Josh Yu Date: Tue, 7 Jan 2025 14:54:28 +0800 Subject: [PATCH] Release 5.0.0 (#172) * Bump version to 5.0.0 * fix: pyproject.toml * Update tox.ini --------- Co-authored-by: Josh Yu Co-authored-by: Fabian Braun --- CHANGELOG.rst | 3 +++ pyproject.toml | 3 +++ src/djangocms_snippet/__init__.py | 2 +- tox.ini | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 0c80af8f..30262142 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,9 @@ Changelog Unreleased ========== + +5.0.0 +================== * feat: Universal support for django CMS 3.11 and 4.x diff --git a/pyproject.toml b/pyproject.toml index 8c9c06c5..ea0defd8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -52,6 +52,9 @@ static-ace = ["djangocms-static-ace"] where = ["src"] exclude = ["tests"] +[tool.setuptools.dynamic] +version = {attr = "djangocms_snippet.__version__"} + [project.urls] "Bug Tracker" = "https://github.com/django-cms/djangocms-snippet/issues" Changelog = "https://github.com/django-cms/djangocms-snippet/blob/master/CHANGELOG.rst" diff --git a/src/djangocms_snippet/__init__.py b/src/djangocms_snippet/__init__.py index 10daf977..ba7be38e 100644 --- a/src/djangocms_snippet/__init__.py +++ b/src/djangocms_snippet/__init__.py @@ -1 +1 @@ -__version__ = "5.0.0a1" +__version__ = "5.0.0" diff --git a/tox.ini b/tox.ini index 60635f92..45a7a66a 100644 --- a/tox.ini +++ b/tox.ini @@ -39,7 +39,7 @@ known_django = django [testenv] commands = {envpython} --version - {env:COMMAND:coverage} run setup.py test + {env:COMMAND:coverage} run tests/settings.py deps = dj32: Django>=3.2,<4.0 dj42: Django>=4.2,<5.0