Skip to content

Commit 12425f3

Browse files
committed
Bumping project
1 parent 71d71e6 commit 12425f3

File tree

11 files changed

+2652
-331
lines changed

11 files changed

+2652
-331
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
language: python
22
python:
3-
- "3.5"
43
- "3.6"
4+
- "3.7"
5+
- "3.8"
6+
- "3.9"
57
install: pip install tox-travis
68
script: tox

Pipfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "pypi"
88
[dev-packages]
99

1010
"e1839a8" = {path = ".", editable = true}
11-
django = "<2.1"
11+
django = "<3.3"
1212
pytest = "*"
1313
pytest-django = "*"
1414
pytest-cov = "*"
@@ -22,4 +22,4 @@ readme-renderer = "*"
2222

2323
[requires]
2424

25-
python_version = "3.5"
25+
python_version = "3.8"

Pipfile.lock

Lines changed: 308 additions & 253 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,4 @@ Modify your `settings.py` to install the app and enable the validator:
3434
3535
Compatibility
3636
~~~~~~~~~~~~~
37-
Supports Django 1.11.x and 2.0 on Python 3.5 and 3.6.
37+
Supports Django 2.2 to 3.2 on Python 3.5 to 3.8.

pwned/validators.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
@deconstructible
1010
class PwnedValidator:
11-
message = _('This password is known to be weak')
11+
message = _('This password is in common use, please choose another')
1212
code = 'invalid'
1313
client = PwnedClient
1414

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[build-system]
2+
requires = ["setuptools", "wheel"]
3+
build-backend = "setuptools.build_meta:__legacy__"

setup.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name='django-pwned-validator',
9-
version='0.0.3',
9+
version='0.0.4',
1010
packages=find_packages(),
1111
include_package_data=True,
1212
license='MIT License',
@@ -15,25 +15,27 @@
1515
url='https://github.com/craigloftus/django-pwned-validator',
1616
author='Craig Loftus',
1717
author_email='craigloftus@gmail.com',
18-
python_requires='>=3.5',
18+
python_requires='>=3.6',
1919
install_requires=[
2020
'requests',
2121
],
2222
extras_require={
23-
'test': ['django<2.1', 'pytest', 'pytest-cov', 'pytest-django', 'pytest-vcr',],
23+
'test': ['django<3.3', 'pytest', 'pytest-cov', 'pytest-django', 'pytest-vcr',],
2424
},
2525
classifiers=[
2626
'Environment :: Web Environment',
2727
'Framework :: Django',
28-
'Framework :: Django :: 1.11',
2928
'Framework :: Django :: 2.0',
29+
'Framework :: Django :: 3.0',
3030
'Intended Audience :: Developers',
3131
'License :: OSI Approved :: MIT License',
3232
'Operating System :: OS Independent',
3333
'Programming Language :: Python',
3434
'Programming Language :: Python :: 3',
35-
'Programming Language :: Python :: 3.5',
3635
'Programming Language :: Python :: 3.6',
36+
'Programming Language :: Python :: 3.7',
37+
'Programming Language :: Python :: 3.8',
38+
'Programming Language :: Python :: 3.9',
3739
'Programming Language :: Python :: 3 :: Only',
3840
],
3941
)

tests/cassettes/test_count_occurrences_none.yaml

Lines changed: 781 additions & 21 deletions
Large diffs are not rendered by default.

tests/cassettes/test_validator_found.yaml

Lines changed: 755 additions & 21 deletions
Large diffs are not rendered by default.

tests/cassettes/test_validator_not_found.yaml

Lines changed: 781 additions & 21 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)