From 32e3b1d826ef76637ccd3bf67b8dcca114932e24 Mon Sep 17 00:00:00 2001 From: Hugo Rodger-Brown Date: Mon, 13 Nov 2023 10:21:58 +0000 Subject: [PATCH] Restore Python 3.8 --- .github/workflows/tox.yml | 6 ++++-- pyproject.toml | 7 ++++++- tox.ini | 2 ++ 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tox.yml b/.github/workflows/tox.yml index 3944294..ba14d4d 100644 --- a/.github/workflows/tox.yml +++ b/.github/workflows/tox.yml @@ -68,7 +68,7 @@ jobs: matrix: python: ["3.8", "3.9", "3.10", "3.11", "3.12"] # build LTS version, next version, HEAD - django: ["41", "42", "50", "main"] + django: ["32", "42", "50", "main"] exclude: - python: "3.8" django: "50" @@ -80,8 +80,10 @@ jobs: django: "main" - python: "3.10" django: "main" + - python: "3.11" + django: "32" - python: "3.12" - django: "41" + django: "32" - python: "3.12" django: "42" diff --git a/pyproject.toml b/pyproject.toml index 3a635ca..49299a1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,12 +12,17 @@ documentation = "https://github.com/yunojuno/django-simple-saml" classifiers = [ "Environment :: Web Environment", "Framework :: Django", + "Framework :: Django :: 3.2", + "Framework :: Django :: 4.0", "Framework :: Django :: 4.1", "Framework :: Django :: 4.2", "Framework :: Django :: 5.0", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3 :: Only", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.8", + "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", ] @@ -25,7 +30,7 @@ packages = [{ include = "simple_saml" }] [tool.poetry.dependencies] python = "^3.8" -django = "^4.1 | ^5.0" +django = "^3.2 | ^4.0 | ^5.0" social-auth-app-django = "*" python3-saml = "*" dj_database_url = { version = "*", optional=true} diff --git a/tox.ini b/tox.ini index 8e4257a..39d3119 100644 --- a/tox.ini +++ b/tox.ini @@ -4,6 +4,8 @@ envlist = fmt, lint, mypy, django-checks, ; https://docs.djangoproject.com/en/5.0/releases/ + django32-py{38,39,310} + django40-py{38,39,310} django41-py{38,39,310,311} django42-py{38,39,310,311} django50-py{310,311,312}