Skip to content

Commit

Permalink
💥 Drop support for unmaintained versions
Browse files Browse the repository at this point in the history
* Dropped support for Django 3.2, only 4.2 (and higher, probably) is supported
* This also requires mozilla-django-oidc 4.0 or higher, as that is the version
  that added support for Django 4.2

This means that mozilla-django-oidc 3.x is no longer supported.
  • Loading branch information
sergei-maertens committed May 17, 2024
1 parent 23d5193 commit a85bdc2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 20 deletions.
12 changes: 2 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,8 @@ jobs:
strategy:
matrix:
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'
- python: '3.12'
django: '3.2'
# support for django 4.2 was added in 4.0
- django: '4.2'
mozilla_django_oidc: '3.0'
django: ['4.2']
mozilla_django_oidc: ['4.0']

name: Run the test suite (Python ${{ matrix.python }}, Django ${{ matrix.django }}, mozilla-django-oidc ${{ matrix.mozilla_django_oidc }})

Expand Down
5 changes: 2 additions & 3 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ keywords = OIDC, django, database, authentication
classifiers =
Development Status :: 4 - Beta
Framework :: Django
Framework :: Django :: 3.2
Framework :: Django :: 4.2
Intended Audience :: Developers
Operating System :: Unix
Expand All @@ -35,11 +34,11 @@ include_package_data = True
packages = find:
python_requires = >=3.10
install_requires =
Django >=3.2
Django >= 4.2
django-jsonform
django-solo
glom
mozilla-django-oidc >=3.0.0
mozilla-django-oidc >= 4.0.0
typing-extensions >= 4.0.0
tests_require =
psycopg2
Expand Down
9 changes: 2 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
[tox]
envlist =
py310-django32-mozilla_django_oidc{30,40}
py{310,311,312}-django42-mozilla_django_oidc40
py{310,311,312}-django{42}-mozilla_django_oidc{40}
isort
black
; docs
docs
skip_missing_interpreters = true

[gh-actions]
Expand All @@ -15,19 +14,15 @@ python =

[gh-actions:env]
DJANGO =
3.2: django32
4.2: django42
MOZILLA_DJANGO_OIDC =
3.0: mozilla_django_oidc30
4.0: mozilla_django_oidc40
[testenv]
extras =
tests
coverage
deps =
django32: Django~=3.2.0
django42: Django~=4.2.0
mozilla_django_oidc30: mozilla-django-oidc~=3.0.0
mozilla_django_oidc40: mozilla-django-oidc~=4.0.0
passenv =
PGUSER
Expand Down

0 comments on commit a85bdc2

Please sign in to comment.