Skip to content

Commit

Permalink
Drop django 3.2 and consequentially drop python 3.6 and 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
WisdomPill committed Nov 3, 2023
1 parent 4b6dd5b commit 2417417
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 20 deletions.
12 changes: 0 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,13 @@ jobs:
- '3.9'
- '3.10'
django-version:
- '3.2'
- '4.1'
- '4.2'
redis-version:
- 'latest'

# Only test pre-release dependencies for the latest Python.
# And keep testing Django 3.2 with python 3.6 and 3.7
include:
# Django 3.2 and python 3.6 with latest redis
- django-version: '3.2'
redis-version: 'latest'
python-version: '3.6'

# Django 3.2 and python 3.7 with latest redis
- django-version: '3.2'
redis-version: 'latest'
python-version: '3.7'

# Django 4.1 and python 3.11 with latest redis
- django-version: '4.1'
redis-version: 'latest'
Expand Down
4 changes: 1 addition & 3 deletions .ruff.toml
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,7 @@ ignore = [

fix = true

# TODO: enable this when python3.6 will stop being supported,
# from april 2024 https://docs.djangoproject.com/en/4.2/releases/3.2/
#target-version = "py36"
target-version = "py38"

[flake8-tidy-imports]
## Disallow all relative imports.
Expand Down
6 changes: 1 addition & 5 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -60,23 +60,20 @@ envlist =
ruff
mypy
# tests against released versions
py{36,37,38,39,310,311}-dj{22,31,32,41,42}-redislatest
py{38,39,310,311}-dj{41,42}-redislatest
# tests against unreleased versions
py311-dj42-redismaster
py311-djmain-redis{latest,master}

[gh-actions]
python =
3.6: py36
3.7: py37
3.8: py38, black, ruff, mypy
3.9: py39
3.10: py310
3.11: py311

[gh-actions:env]
DJANGO =
3.2: dj32
4.1: dj41
4.2: dj42
main: djmain
Expand All @@ -102,7 +99,6 @@ commands =
{envpython} -m coverage xml

deps =
dj32: Django>=3.2,<3.3
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
djmain: https://github.com/django/django/archive/main.tar.gz
Expand Down

0 comments on commit 2417417

Please sign in to comment.