From e9cfdb2e480a621381e673436c24cdfffb752084 Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Sun, 6 Dec 2020 21:12:00 +0100 Subject: [PATCH] Add Python 3.9 support. --- .github/workflows/test.yml | 2 +- README.md | 1 + setup.py | 1 + tox.ini | 6 ++++-- 4 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 255c02e..40c56e4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: fail-fast: false max-parallel: 5 matrix: - python-version: ['3.5', '3.6', '3.7', '3.8'] + python-version: ['3.5', '3.6', '3.7', '3.8', '3.9'] services: postgres: diff --git a/README.md b/README.md index 306dbce..b656281 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ django-auditlog [![Build Status](https://github.com/jazzband/django-auditlog/workflows/Test/badge.svg)](https://github.com/jazzband/django-auditlog/actions) [![Docs](https://readthedocs.org/projects/django-auditlog/badge/?version=latest)](http://django-auditlog.readthedocs.org/en/latest/?badge=latest) [![codecov](https://codecov.io/gh/jazzband/django-auditlog/branch/master/graph/badge.svg)](https://codecov.io/gh/jazzband/django-auditlog) +[![Supported Python versions](https://img.shields.io/pypi/pyversions/django-auditlog.svg)](https://pypi.python.org/pypi/django-auditlog) **Please remember that this app is still in development.** **Test this app before deploying it in production environments.** diff --git a/setup.py b/setup.py index b464f13..7fc063b 100644 --- a/setup.py +++ b/setup.py @@ -29,6 +29,7 @@ setup( 'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.7', 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', 'License :: OSI Approved :: MIT License', ], ) diff --git a/tox.ini b/tox.ini index bd3a88c..2a5eb8c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,7 @@ [tox] envlist = - {py35,py36,py37,py38}-django-22 - {py36,py37,py38}-django-{30,31} + {py35,py36,py37,py38,py39}-django-22 + {py36,py37,py38,py39}-django-{30,31} py38-docs [testenv] @@ -24,6 +24,7 @@ passenv= TEST_DB_PORT basepython = + py39: python3.9 py38: python3.8 py37: python3.7 py36: python3.6 @@ -40,3 +41,4 @@ python = 3.6: py36 3.7: py37 3.8: py38 + 3.9: py39