From 2e477ab04ad7ff0a869ca4d3f48e4140e113beea Mon Sep 17 00:00:00 2001 From: Hasan Ramezani Date: Mon, 24 May 2021 01:25:46 +0200 Subject: [PATCH] Remove Python 3.5 support. (#301) --- .github/workflows/test.yml | 2 +- docs/source/installation.rst | 4 ++-- pyproject.toml | 2 +- setup.py | 1 - tox.ini | 5 +---- 5 files changed, 5 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 40c56e4..40a3364 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', '3.9'] + python-version: ['3.6', '3.7', '3.8', '3.9'] services: postgres: diff --git a/docs/source/installation.rst b/docs/source/installation.rst index a879370..820d0e8 100644 --- a/docs/source/installation.rst +++ b/docs/source/installation.rst @@ -11,10 +11,10 @@ The repository can be found at https://github.com/jazzband/django-auditlog/. **Requirements** -- Python 3.5 or higher +- Python 3.6 or higher - Django 2.2 or higher -Auditlog is currently tested with Python 3.5 - 3.8 and Django 2.2, 3.0 and 3.1. The latest test report can be found +Auditlog is currently tested with Python 3.6 - 3.8 and Django 2.2, 3.0 and 3.1. The latest test report can be found at https://github.com/jazzband/django-auditlog/actions. Adding Auditlog to your Django application diff --git a/pyproject.toml b/pyproject.toml index e8ee0b0..8c3cf0d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.black] -target-version = ["py35"] +target-version = ["py36"] # black compatible isort [tool.isort] diff --git a/setup.py b/setup.py index d243f8b..d4cd676 100644 --- a/setup.py +++ b/setup.py @@ -26,7 +26,6 @@ setup( zip_safe=False, classifiers=[ "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", diff --git a/tox.ini b/tox.ini index b609ddb..d36823c 100644 --- a/tox.ini +++ b/tox.ini @@ -1,7 +1,6 @@ [tox] envlist = - {py35,py36,py37,py38,py39}-django-22 - {py36,py37,py38,py39}-django-{30,31} + {py36,py37,py38,py39}-django-{22,30,31} py38-docs py38-qa @@ -29,7 +28,6 @@ basepython = py38: python3.8 py37: python3.7 py36: python3.6 - py35: python3.5 [testenv:py38-docs] changedir = docs/source @@ -47,7 +45,6 @@ commands = [gh-actions] python = - 3.5: py35 3.6: py36 3.7: py37 3.8: py38