From 5ad179d7f00ad7d694b604ccdea9a65b528543e1 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 15 Nov 2022 10:09:46 -0500 Subject: [PATCH 1/2] Update tox.ini to correspond to currently supported versions of Python and Django. --- tox.ini | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tox.ini b/tox.ini index c1e50e1..ad91d92 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,15 @@ # -- FILE: tox.ini [tox] envlist = - py{35,36,37,38}-django22 - py{36,37,38}-django30 + py{37,38,39,310,311}-django32 + py{38,39,310}-django40 + py{38,39,310,311}-django41 [testenv] commands = coverage run --branch --source=notifications manage.py test deps = coverage - django22: Django>=2.2,<2.3 - django30: Django>=3.0,<3.1 - django30: six + django32: Django>=3.2,<4.0 + django40: Django>=4.0,<4.1 + django41: Django>=4.1,<4.2 From 5a8c748d5de6d190a59bba988d5485debc495d4b Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 15 Nov 2022 10:16:25 -0500 Subject: [PATCH 2/2] Update README and setup files to show updated version support for Python and Django. --- README.rst | 4 ++-- setup.py | 14 ++++++++------ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index 19f880a..40cd31a 100644 --- a/README.rst +++ b/README.rst @@ -28,8 +28,8 @@ Nomenclature of this specification is based on the Activity Streams Spec: `=2.2', + 'django>=3.2', 'django-model-utils>=3.1.0', 'jsonfield>=2.1.0', 'pytz', 'swapper' ], test_requires=[ - 'django>=2.2', + 'django>=3.2', 'django-model-utils>=3.1.0', 'jsonfield>=2.1.0', 'pytz' @@ -55,16 +55,18 @@ setup( 'License :: OSI Approved :: BSD License', 'Operating System :: OS Independent', 'Framework :: Django', - 'Framework :: Django :: 2.2', - 'Framework :: Django :: 3.0', + 'Framework :: Django :: 3.2', + 'Framework :: Django :: 4.0', + 'Framework :: Django :: 4.1', # Specify the Python versions you support here. In particular, ensure # that you indicate whether you support Python 2, Python 3 or both. 'Programming Language :: Python', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', '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', 'Topic :: Utilities' ], keywords='django notifications github action event stream',