Skip to content

Commit fc6ec95

Browse files
committed
Add py3.11 and django 4.1 support
also - drop py3.6 support. because it's not maintained anymore - fix pytest config
1 parent f182f98 commit fc6ec95

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

.github/workflows/test.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ jobs:
2424
runs-on: ubuntu-latest
2525
strategy:
2626
matrix:
27-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
28-
django-version: ["3.2", "4.0"]
27+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
28+
django-version: ["3.2", "4.0", "4.1"]
2929
exclude:
30-
- python-version: "3.6"
31-
django-version: "4.0"
3230
- python-version: "3.7"
3331
django-version: "4.0"
32+
- python-version: "3.7"
33+
django-version: "4.1"
3434
steps:
3535
- uses: actions/checkout@v2
3636
- name: Set up Python ${{ matrix.python-version }}

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ A collection of django password validators.
99

1010
## Compatibility
1111

12-
- Python: **3.6**, **3.7**, **3.8**, **3.9**, **3.10**
13-
- Django: **3.2**, **4.0**
12+
- Python: **3.7**, **3.8**, **3.9**, **3.10**, **3.11**
13+
- Django: **3.2**, **4.0**, **4.1**
1414

1515
## Installation
1616

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
[tool.pytest.ini_options]
22
DJANGO_SETTINGS_MODULE = "tests.settings"
33
norecursedirs = ".git"
4+
django_find_project = false
5+
pythonpath = ["."]
46

57
[tool.black]
68
line-length = 120

setup.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,15 @@
3131
"Framework :: Django",
3232
"Framework :: Django :: 3.2",
3333
"Framework :: Django :: 4.0",
34+
"Framework :: Django :: 4.1",
3435
"Intended Audience :: Developers",
3536
"Operating System :: OS Independent",
3637
"Programming Language :: Python",
37-
"Programming Language :: Python :: 3.6",
3838
"Programming Language :: Python :: 3.7",
3939
"Programming Language :: Python :: 3.8",
4040
"Programming Language :: Python :: 3.9",
4141
"Programming Language :: Python :: 3.10",
42+
"Programming Language :: Python :: 3.11",
4243
"Topic :: Internet :: WWW/HTTP :: Session",
4344
"Topic :: Security",
4445
],

0 commit comments

Comments
 (0)