Skip to content

Commit f8e035b

Browse files
author
Giuseppe De Marco
authored
Merge pull request #387 from g-as/feature/python3.12
Python3.12 compat
2 parents 1915dfb + 57fec3c commit f8e035b

File tree

4 files changed

+13
-6
lines changed

4 files changed

+13
-6
lines changed

.github/workflows/python-package.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@ jobs:
1717
matrix:
1818
python-version: ["3.8", "3.9", "3.10", "3.11"]
1919
django-version: ["3.2", "4.1", "4.2", "5.0"]
20+
include:
21+
- python-version: "3.12"
22+
django-version: "4.2"
23+
- python-version: "3.12"
24+
django-version: "5.0"
2025
exclude:
2126
- python-version: "3.11"
2227
django-version: "3.2"
@@ -26,11 +31,12 @@ jobs:
2631
django-version: "5.0"
2732

2833
steps:
29-
- uses: actions/checkout@v2
34+
- uses: actions/checkout@v4
3035
- name: Set up Python ${{ matrix.python-version }}
31-
uses: actions/setup-python@v1
36+
uses: actions/setup-python@v4
3237
with:
3338
python-version: ${{ matrix.python-version }}
39+
allow-prereleases: true
3440
- name: Install dependencies and testing utilities
3541
run: |
3642
sudo apt-get update && sudo apt-get install xmlsec1

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ djangosaml2
44
![CI build](https://github.com/peppelinux/djangosaml2/workflows/djangosaml2/badge.svg)
55
![pypi](https://img.shields.io/pypi/v/djangosaml2.svg)
66
[![Downloads](https://pepy.tech/badge/djangosaml2/month)](https://pepy.tech/project/djangosaml2)
7-
![Python version](https://img.shields.io/badge/license-Apache%202-blue.svg)
8-
![Django versions](https://img.shields.io/pypi/djversions/djangosaml2)
97
![Documentation Status](https://readthedocs.org/projects/djangosaml2/badge/?version=latest)
10-
![License](https://img.shields.io/badge/python-3.8%20%7C%203.9%20%7C%203.10%20%7C%203.11-blue.svg)
8+
![License](https://img.shields.io/badge/license-Apache%202-blue.svg)
9+
![Python versions](https://img.shields.io/pypi/pyversions/djangosaml2)
10+
![Django versions](https://img.shields.io/pypi/djversions/djangosaml2)
1111

1212

1313
A Django application that builds a Fully Compliant SAML2 Service Provider on top of PySAML2 library.

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ def read(*rnames):
4747
"Programming Language :: Python :: 3.9",
4848
"Programming Language :: Python :: 3.10",
4949
"Programming Language :: Python :: 3.11",
50+
"Programming Language :: Python :: 3.12",
5051
"Topic :: Internet :: WWW/HTTP",
5152
"Topic :: Internet :: WWW/HTTP :: WSGI",
5253
"Topic :: Security",

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{3.8,3.9,3.10,3.11}-django{3.2,4.1,4.2,5.0}
3+
py{3.8,3.9,3.10,3.11,3.12}-django{3.2,4.1,4.2,5.0}
44

55
[testenv]
66
commands =

0 commit comments

Comments
 (0)