Skip to content

Commit

Permalink
💥 Drop support for EOL versions
Browse files Browse the repository at this point in the history
mozilla-django-oidc version support seems to be:

* 3.x: Django 3.2, 4.0, 4.1 (unsure about 4.2)
* 4.x: Django 3.2, 4.2 (4.1 support dropped)

Django 3.2 supports up to Python 3.10. Django 4.2
supports 3.10, 3.11 and 3.12. We no longer support
Python versions older than 3.10.

We drop the explicit support of Django 4.1,
following mozilla's 4.x version. It may still
work, it may not - either way we only commit
to LTS Django versions.
  • Loading branch information
sergei-maertens committed Feb 6, 2024
1 parent dfe004f commit 64d6193
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 13 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.10', '3.11']
django: ['3.2', '4.1', '4.2']
python: ['3.10', '3.11', '3.12']
django: ['3.2', '4.2']
mozilla_django_oidc: ['3.0', '4.0']
exclude:
- python: '3.11'
django: '3.2'
- django: '4.2' # support added in 4.0
- python: '3.12'
django: '3.2'
# support for django 4.2 was added in 4.0
- django: '4.2'
mozilla_django_oidc: '3.0'

name: Run the test suite (Python ${{ matrix.python }}, Django ${{ matrix.django }}, mozilla-django-oidc ${{ matrix.mozilla_django_oidc }})
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/code_quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ jobs:
matrix:
toxenv: [isort, black]
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.9'
python-version: '3.10'
- name: Install dependencies
run: pip install tox
- run: tox
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ classifiers =
Development Status :: 4 - Beta
Framework :: Django
Framework :: Django :: 3.2
Framework :: Django :: 4.1
Framework :: Django :: 4.2
Intended Audience :: Developers
Operating System :: Unix
Operating System :: MacOS
Operating System :: Microsoft :: Windows
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
Programming Language :: Python :: 3.12
Topic :: Software Development :: Libraries :: Python Modules

[options]
Expand Down
9 changes: 3 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tox]
envlist =
py310-django32-mozilla_django_oidc{20}
py{310,311}-django{41,42}-mozilla_django_oidc{30,40}
py310-django32-mozilla_django_oidc{30,40}
py{310,311,312}-django42-mozilla_django_oidc40
isort
black
; docs
Expand All @@ -11,14 +11,13 @@ skip_missing_interpreters = true
python =
3.10: py310
3.11: py311
3.12: py312

[gh-actions:env]
DJANGO =
3.2: django32
4.1: django41
4.2: django42
MOZILLA_DJANGO_OIDC =
2.0: mozilla_django_oidc20
3.0: mozilla_django_oidc30
4.0: mozilla_django_oidc40
[testenv]
Expand All @@ -27,9 +26,7 @@ extras =
coverage
deps =
django32: Django~=3.2.0
django41: Django~=4.1.0
django42: Django~=4.2.0
mozilla_django_oidc20: mozilla-django-oidc~=2.0.0
mozilla_django_oidc30: mozilla-django-oidc~=3.0.0
mozilla_django_oidc40: mozilla-django-oidc~=4.0.0
passenv =
Expand Down

0 comments on commit 64d6193

Please sign in to comment.