From c722dac3aac44baf994a4ea74bc573ce3809e7f5 Mon Sep 17 00:00:00 2001 From: Adam Johnson Date: Mon, 24 Nov 2025 17:56:43 +0000 Subject: [PATCH] Update Python and Django versions --- .github/workflows/test.yml | 2 +- README.rst | 7 +++++++ setup.py | 5 +++-- tox.ini | 11 ++++++----- 4 files changed, 17 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 04f07df..e2c977e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,11 +10,11 @@ jobs: max-parallel: 5 matrix: python-version: - - '3.9' - '3.10' - '3.11' - '3.12' - '3.13' + - '3.14' steps: - uses: actions/checkout@v4 diff --git a/README.rst b/README.rst index af43f9a..bf14337 100644 --- a/README.rst +++ b/README.rst @@ -178,6 +178,13 @@ since it is never a good idea to have a PickledObjectField be user editable. Changes ------- +Pending release +=============== + +* Added tested support for Django 6.0. +* Added tested support for Python 3.14. +* Dropped support for Python 3.9. + Changes in version 3.3.0 ======================== diff --git a/setup.py b/setup.py index 65bdde2..2cd62eb 100644 --- a/setup.py +++ b/setup.py @@ -23,23 +23,24 @@ 'Framework :: Django :: 5.0', 'Framework :: Django :: 5.1', 'Framework :: Django :: 5.2', + 'Framework :: Django :: 6.0', 'Intended Audience :: Developers', 'License :: OSI Approved :: MIT License', 'Operating System :: OS Independent', 'Programming Language :: Python', 'Programming Language :: Python :: 3 :: Only', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11', 'Programming Language :: Python :: 3.12', 'Programming Language :: Python :: 3.13', + 'Programming Language :: Python :: 3.14', 'Topic :: Software Development :: Libraries :: Application Frameworks', 'Topic :: Software Development :: Libraries :: Python Modules', ], keywords=['django pickle model field'], packages=find_packages(exclude=['tests', 'tests.*']), - python_requires='>=3.9', + python_requires='>=3.10', install_requires=['Django>=4.2'], extras_require={ 'tests': ['tox'], diff --git a/tox.ini b/tox.ini index 1d9de59..bdd3180 100644 --- a/tox.ini +++ b/tox.ini @@ -4,19 +4,19 @@ args_are_paths = false envlist = flake8 isort - py39-django{42} py310-django{42,50,51,52} py311-django{42,50,51,52} py312-django{42,50,51,52,main} py313-django{51,52,main} + py314-django{52,60,main} [gh-actions] python = - 3.9: py39 3.10: py310 3.11: py311 3.12: py312 - 3.13: py313, flake8, isort + 3.13: py313 + 3.14: py314, flake8, isort [testenv] usedevelop = true @@ -29,18 +29,19 @@ deps = django50: Django>=5.0,<5.1 django51: Django>=5.1,<5.2 django52: Django>=5.2a1,<6.0 + django60: Django>=6.0a1,<6.1 djangomain: https://github.com/django/django/archive/main.tar.gz passenv = GITHUB_* [testenv:flake8] usedevelop = false -basepython = python3.13 +basepython = python3.14 commands = flake8 deps = flake8 [testenv:isort] usedevelop = false -basepython = python3.13 +basepython = python3.14 commands = isort --recursive --check-only --diff picklefield tests deps = isort==5.13.2