Skip to content

Commit

Permalink
Prep a release.
Browse files Browse the repository at this point in the history
  • Loading branch information
ubernostrum committed Jun 22, 2021
1 parent 6caf3aa commit 664df66
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 19 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2018-2020, James Bennett
Copyright (c) 2018-2021, James Bennett
All rights reserved.

Redistribution and use in source and binary forms, with or without
Expand Down
7 changes: 7 additions & 0 deletions docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@ Changelog
This document lists changes between released versions of
pwned-passwords-django.

1.5 -- released 2021-06-21
--------------------------

No new features. No bug fixes. Django 3.2 is now supported; Django 3.0
and Python 3.5 are no longer supported, as they have both reached the
end of their upstream support cycles.

1.4 -- released 2020-01-28
--------------------------

Expand Down
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
source_suffix = ".rst"
master_doc = "index"
project = "pwned-passwords-django"
copyright = "2018-2020, James Bennett"
version = "1.4"
release = "1.4.1"
copyright = "2018-2021, James Bennett"
version = "1.5"
release = "1.5"
exclude_trees = ["_build"]
pygments_style = "sphinx"
htmlhelp_basename = "pwned-passwords-djangodoc"
Expand Down
4 changes: 2 additions & 2 deletions docs/faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ you when using pwned-passwords-django.
What versions of Django and Python are supported?
-------------------------------------------------

As of pwned-passwords-django |release|, Django 2.2, 3.0, and 3.1 are
supported, on Python 3.5, (Django 2.2 only), 3.6, 3.7, and 3.8.
As of pwned-passwords-django |release|, Django 2.2, 3.1, and 3.2 are
supported, on Python 3.6, 3.7, 3.8, and 3.9.


Should I use the validator, the middleware, or the API directly?
Expand Down
8 changes: 2 additions & 6 deletions docs/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@
Installation
============

pwned-passwords-django |release| supports Django 2.2, 3.0, and 3.1, on the
following Python versions:

* Django 2.2 supports Python 3.5, 3.6, 3.7, and 3.8.

* Django 3.0 and 3.1 support Python 3.6, 3.7, and 3.8.
pwned-passwords-django |release| supports Django 2.2, 3.1, and 3.2, on
Python 3.6, 3.7, 3.8, and 3.9.

To install pwned-passwords-django, run::

Expand Down
3 changes: 3 additions & 0 deletions runtests.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
import os
import sys

from django.utils.crypto import get_random_string


APP_DIR = os.path.abspath(os.path.dirname(__file__))

Expand Down Expand Up @@ -41,6 +43,7 @@
"pwned_passwords_django.api": {"handlers": ["null"], "propagate": False}
},
},
"SECRET_KEY": get_random_string(12),
}


Expand Down
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
setup(
name="pwned-passwords-django",
zip_safe=False, # eggs are the devil.
version="1.4.1",
version="1.5",
description="A Pwned Passwords implementation for Django sites.",
long_description=open(os.path.join(os.path.dirname(__file__), "README.rst")).read(),
author="James Bennett",
Expand All @@ -19,19 +19,19 @@
"Environment :: Web Environment",
"Framework :: Django",
"Framework :: Django :: 2.2",
"Framework :: Django :: 3.0",
"Framework :: Django :: 3.1",
"Framework :: Django :: 3.2",
"Intended Audience :: Developers",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.5",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: Utilities",
],
python_requires=">=3.5",
install_requires=["Django>=2.2", "requests"],
python_requires=">=3.6",
install_requires=["Django>=2.2,!=3.0.*", "requests"],
)
4 changes: 2 additions & 2 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
# Environment matrix.
[tox]
envlist =
py{36,37,38,39}-django{22,30,31}
py{36,37,38,39}-django{22,31,32}
black
check-description
check-manifest
Expand Down Expand Up @@ -78,8 +78,8 @@ commands =
deps =
coverage
django22: Django>=2.2,<3.0
django30: Django>=3.0,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<4.0


# Documentation checks.
Expand Down

0 comments on commit 664df66

Please sign in to comment.