Skip to content

Commit

Permalink
Merge pull request #3 from praekelt/master
Browse files Browse the repository at this point in the history
Master
  • Loading branch information
rgs258 authored May 15, 2020
2 parents da958b6 + 0241765 commit 35c84f0
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 18 deletions.
27 changes: 19 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,21 +21,19 @@ matrix:
env: TOXENV=django2-py35
- python: "3.5"
env: TOXENV=django21-py35
- python: "3.5.7"
sudo: required
dist: xenial
env: TOXENV=django22-py357
- python: "3.5"
env: TOXENV=django22-py35

- python: "3.6"
env: TOXENV=django111-py36
- python: "3.6"
env: TOXENV=django2-py36
- python: "3.6"
env: TOXENV=django21-py36
- python: "3.6.8"
sudo: required
dist: xenial
env: TOXENV=django22-py368
- python: "3.6"
env: TOXENV=django22-py36
- python: "3.6"
env: TOXENV=django3-py36

- python: "3.7"
sudo: required
Expand All @@ -53,11 +51,24 @@ matrix:
sudo: required
dist: xenial
env: TOXENV=django22-py37
- python: "3.7"
sudo: required
dist: xenial
env: TOXENV=django3-py37
- python: "3.7"
sudo: required
dist: xenial
env: TOXENV=pycodestyle-py37

- python: "3.8"
sudo: required
dist: xenial
env: TOXENV=django3-py38
- python: "3.8"
sudo: required
dist: xenial
env: TOXENV=pycodestyle-py38

cache: pip

script:
Expand Down
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,4 @@ Other
* `pbf <https://github.com/pbf>`_
* `Alexey Subbotin <https://github.com/dotsbb>`_
* `Sean Stewart <https://github.com/mindcruzer>`_
* `Rob Charlwood <https://github.com/robcharlwood>`_
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
Changelog
=========

2.0.6
-----
#. Added testing for Django 3 (no code changes needed).

2.0.5
-----
#. Added settings and kwargs that allow for the validation of reCAPTCHA v3 score values.
Expand Down
11 changes: 7 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,16 @@ Requirements

Tested with:

* Python: 2.7, 3.5.7, 3.6.8, 3.7
* Django: 1.11, 2.0, 2.1, 2.2
* Python: 2.7, 3.5, 3.6, 3.7, 3.8
* Django: 1.11, 2.0, 2.1, 2.2, 3.0


.. note::
Django 2.2 requires SQLite 3.8.3 or later, from the Django 2.2 release notes:
Django 2.2 supports Python 3.5, 3.6, and 3.7. We highly recommend and only officially support the latest release of each series.
* Django 2.2 requires SQLite 3.8.3
* Django 2.2 supports Python 3.5, 3.6, and 3.7.
* Django 3.0 supports Python 3.6, 3.7 and 3.8.
We highly recommend and only officially support the latest release of each series.


Installation
------------
Expand Down
6 changes: 4 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name='django-recaptcha',
version='2.0.5',
version='2.0.6',
description='Django recaptcha form field/widget app.',
long_description=long_desc,
author='Praekelt Consulting',
Expand All @@ -16,7 +16,7 @@
url='http://github.com/praekelt/django-recaptcha',
packages=find_packages(),
install_requires=[
'django>1.11,<3.0',
'django>1.11,<4.0',
],
tests_require=[
'tox',
Expand All @@ -25,6 +25,7 @@
include_package_data=True,
classifiers=[
'Development Status :: 5 - Production/Stable',
'Framework :: Django :: 3.0',
'Framework :: Django :: 2.2',
'Framework :: Django :: 2.1',
'Framework :: Django :: 2.0',
Expand All @@ -41,6 +42,7 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
],
zip_safe=False,
)
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
[tox]
envlist =
pycodestyle-{py27,py37},
pycodestyle-{py27,py37,py38}
django{111,2,21}-{py27,py35,py36,py37}
django{22}-{py357,py368,py37}
django{22}-{py35,py36,py37}
django{3}-{py36,py37,py38}

[testenv]
deps =
django{111,2,21,22}: coverage
django{111,2,21,22,3}: coverage
django111: Django<2.0
django2: Django<2.1
django21: Django<2.2
django22: Django<3.0
django3: Django<4.0
py27: -rcaptcha/tests/requirements/py27.txt
pycodestyle: pycodestyle
commands =
django{111,2,21,22}: coverage run manage.py test
django{111,2,21,22,3}: coverage run manage.py test
pycodestyle: pycodestyle captcha/

0 comments on commit 35c84f0

Please sign in to comment.