Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 8 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,15 @@ jobs:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.12", "3.11", "3.10"]
django-version: ["5.0", "4.2"]
include:
- python-version: "3.9"
django-version: "4.2"
- python-version: "3.8"
django-version: "4.2"
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
django-version: ["5.2", "6.0"]
exclude:
- python-version: "3.10"
django-version: "6.0"
- python-version: "3.11"
django-version: "6.0"
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
Expand Down
29 changes: 14 additions & 15 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,35 +1,34 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v6.0.0
hooks:
- id: trailing-whitespace # trims trailing whitespace
args: [--markdown-linebreak-ext=md]
- id: end-of-file-fixer # ensures that a file is either empty, or ends with one newline
- id: check-yaml # checks syntax of yaml files
- id: check-json # checks syntax of json files
- id: check-added-large-files # prevent giant files from being committed
- id: fix-encoding-pragma # removes "# -*- coding: utf-8 -*-" from python files (since we only support python 3)
args: [--remove]
- id: check-merge-conflict # check for files that contain merge conflict strings
- id: trailing-whitespace
args: [ --markdown-linebreak-ext=md ]
- id: end-of-file-fixer
- id: check-yaml
- id: check-json
- id: check-added-large-files
- id: check-merge-conflict

- repo: https://github.com/adamchainz/django-upgrade
rev: 1.15.0
rev: 1.30.0
hooks:
- id: django-upgrade
args: [--target-version, "3.2"]
args: [ --target-version, "5.2" ]

- repo: https://github.com/asottile/pyupgrade
rev: v3.13.0
rev: v3.21.2
hooks:
- id: pyupgrade
args: [ --py310-plus ]

- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 9.0.0a3
hooks:
- id: isort
name: isort (python)

- repo: https://github.com/psf/black
rev: 23.9.1
rev: 26.5.1
hooks:
- id: black
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ A collection of django password validators.

## Compatibility

- Python: **3.8**, **3.9**, **3.10**, **3.11**, **3.12**
- Django: **4.2**, **5.0**
- Python: **3.10**, **3.11**, **3.12**, **3.13**, **3.14**
- Django: **5.2**, **6.0**

## Installation

Expand Down
2 changes: 1 addition & 1 deletion django_pwned/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.2.2"
__version__ = "1.3.0"
11 changes: 6 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,23 @@
download_url="https://pypi.org/project/django-pwned/",
packages=find_packages(".", include=("django_pwned", "django_pwned.*")),
include_package_data=True,
install_requires=["Django>=3.2", "requests"],
python_requires=">=3.10",
install_requires=["Django>=5.2", "requests"],
extras_require={"dev": dev_requirements},
classifiers=[
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 4.2",
"Framework :: Django :: 5.0",
"Framework :: Django :: 5.2",
"Framework :: Django :: 6.0",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Topic :: Internet :: WWW/HTTP :: Session",
"Topic :: Security",
],
Expand Down
Loading