mirror of
https://github.com/jazzband/django-axes.git
synced 2026-03-16 22:30:23 +00:00
Drop Python 3.7 support
This commit is contained in:
parent
d463787e34
commit
33cfcb9656
5 changed files with 5 additions and 14 deletions
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
|
@ -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'
|
||||
|
|
|
|||
|
|
@ -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 <https://github.com/jazzband/django-axes/>`_ and see the
|
||||
|
|
|
|||
2
mypy.ini
2
mypy.ini
|
|
@ -1,5 +1,5 @@
|
|||
[mypy]
|
||||
python_version = 3.7
|
||||
python_version = 3.8
|
||||
ignore_missing_imports = True
|
||||
|
||||
[mypy-axes.migrations.*]
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
3
setup.py
3
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",
|
||||
|
|
|
|||
Loading…
Reference in a new issue