From 174f935c0e6e590ffdb5c92853aed03d7ef59618 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby Date: Fri, 21 Jun 2024 12:41:35 +0200 Subject: [PATCH] Drop support for python3.7 and bring support for django3.12 Also test against django releases 4.2 & 5.0 --- .github/workflows/test_suite.yml | 2 +- setup.py | 8 ++++---- tox.ini | 12 ++++++------ 3 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/test_suite.yml b/.github/workflows/test_suite.yml index ce1916c..2527dd3 100644 --- a/.github/workflows/test_suite.yml +++ b/.github/workflows/test_suite.yml @@ -10,11 +10,11 @@ jobs: strategy: matrix: python-version: - - "3.7" - "3.8" - "3.9" - "3.10" - "3.11" + - "3.12" steps: - uses: actions/checkout@v4 diff --git a/setup.py b/setup.py index 39c6613..f814f6c 100644 --- a/setup.py +++ b/setup.py @@ -19,7 +19,7 @@ def readfile(filename): url="https://github.com/jazzband/django-fsm-log", license="MIT", packages=find_packages(exclude=["tests"]), - install_requires=["django>=3.2", "django_fsm>=2", "django_appconf"], + install_requires=["django>=3.2", "django-fsm-2", "django_appconf"], extras_require={ "testing": [ "pytest", @@ -37,17 +37,17 @@ def readfile(filename): "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", - "Framework :: Django :: 3.2", - "Framework :: Django :: 4.1", + "Framework :: Django :: 4.2", + "Framework :: Django :: 5.0", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Libraries :: Python Modules", ], ) diff --git a/tox.ini b/tox.ini index b591c1b..fc76e5d 100644 --- a/tox.ini +++ b/tox.ini @@ -1,16 +1,16 @@ [tox] envlist = - py{37,38,39,310}-dj-3.2 - py{38,39,310,311}-dj-4.1 - py{310,311}-dj-master + py{38,39,310,311}-dj-4.2 + py{310,311,312}-5.0 + py{310,311,312}-dj-master [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv] usedevelop = true @@ -20,6 +20,6 @@ setenv= DJANGO_SETTINGS_MODULE = tests.settings PYTHONPATH = {toxinidir} deps = - dj-3.2: Django>=3.2,<3.3 - dj-4.1: Django>=4.1,<4.2 + dj-4.2: Django>=4.2,<5 + dj-5.0: Django>=5,<5.1 dj-master: https://github.com/django/django/archive/master.tar.gz