Merge pull request #349 from YPCrumble/feature/update-test-suite-for-supported-python-and-django

Update tox.ini to correspond to currently supported versions of Pytho…
This commit is contained in:
YPCrumble 2022-11-16 13:26:22 -05:00 committed by GitHub
commit 4e72638d76
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 13 deletions

View file

@ -28,8 +28,8 @@ Nomenclature of this specification is based on the Activity Streams Spec: `<http
Requirements
============
- Python 3.5, 3.6, 3.7, 3.8
- Django 2.2, 3.0
- Python 3.7, 3.8, 3.9, 3.10, 3.11
- Django 3.2, 4.0, 4.1
Installation
============

View file

@ -26,14 +26,14 @@ setup(
author_email='yang@yangyubo.com',
url='http://github.com/django-notifications/django-notifications',
install_requires=[
'django>=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',

11
tox.ini
View file

@ -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