diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9ad1ea9..e687b0a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,7 +13,7 @@ jobs: fail-fast: false max-parallel: 5 matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11'] + python-version: ['3.8', '3.9', '3.10', '3.11'] django-version: ['3.2', '4.1', '4.2'] include: # Tox configuration for QA environment @@ -34,13 +34,6 @@ jobs: django-version: '4.2' experimental: true exclude: - # Exclude Python 3.7 for Django 4.x and Django main - - python-version: '3.7' - django-version: '4.1' - - python-version: '3.7' - django-version: '4.2' - - python-version: '3.7' - django-version: 'main' # Exclude Python 3.11 for Django 3.2 and Django 4.0 - python-version: '3.11' django-version: '3.2' diff --git a/docs/1_requirements.rst b/docs/1_requirements.rst index 75513f0..d690cf4 100644 --- a/docs/1_requirements.rst +++ b/docs/1_requirements.rst @@ -3,7 +3,7 @@ Requirements ============ -Axes requires a supported Django version and runs on Python versions 3.7 and above. +Axes requires a supported Django version and runs on Python versions 3.8 and above. Refer to the project source code repository in `GitHub `_ and see the diff --git a/mypy.ini b/mypy.ini index dd2b3f3..7fa5400 100644 --- a/mypy.ini +++ b/mypy.ini @@ -1,5 +1,5 @@ [mypy] -python_version = 3.7 +python_version = 3.8 ignore_missing_imports = True [mypy-axes.migrations.*] diff --git a/pyproject.toml b/pyproject.toml index 070e2c5..a22f66d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,7 +10,7 @@ DJANGO_SETTINGS_MODULE = "tests.settings" legacy_tox_ini = """ [tox] envlist = - py{37,38,39,310,py38}-dj32 + py{38,39,310,py38}-dj32 py{38,39,310,311,py38}-dj41 py{38,39,310,311,py38}-dj42 py311-djmain @@ -18,7 +18,6 @@ envlist = [gh-actions] python = - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 diff --git a/setup.py b/setup.py index 0b02ab9..4dbc3cd 100644 --- a/setup.py +++ b/setup.py @@ -35,7 +35,7 @@ setup( package_dir={"axes": "axes"}, use_scm_version=True, setup_requires=["setuptools_scm"], - python_requires=">=3.7", + python_requires=">=3.8", install_requires=["django>=3.2", "setuptools"], extras_require={ "ipware": "django-ipware>=3", @@ -56,7 +56,6 @@ setup( "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10",