Skip to content

Commit

Permalink
Drop Django 2.1 support (dj-stripe#1066)
Browse files Browse the repository at this point in the history
Was EOL in December 2019
  • Loading branch information
PabloCastellano authored and therefromhere committed Jan 13, 2020
1 parent 6c90910 commit f842e7f
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 19 deletions.
6 changes: 0 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,11 @@ matrix:

include:
# Don't test postgres_native_json, mysql & sqlite vs all python versions to reduce combinations
- { python: "3.5", env: TOXENV=py35-django21-postgres }
- { python: "3.5", env: TOXENV=py35-django22-postgres }

- { python: "3.6", env: TOXENV=py36-django21-postgres }
- { python: "3.6", env: TOXENV=py36-django22-postgres }
- { python: "3.6", env: TOXENV=py36-django30-postgres }

- { python: "3.7", env: TOXENV=py37-django21-postgres }
- { python: "3.7", env: TOXENV=py37-django21-postgres_native_json }
- { python: "3.7", env: TOXENV=py37-django21-mysql }
- { python: "3.7", env: TOXENV=py37-django21-sqlite }
- { python: "3.7", env: TOXENV=py37-django22-postgres }
- { python: "3.7", env: TOXENV=py37-django22-postgres_native_json }
- { python: "3.7", env: TOXENV=py37-django22-mysql }
Expand Down
5 changes: 5 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@
History
=======

2.3.0 (unreleased)
------------------

- Dropped support for Django 2.1.

2.2.0 (2020-01-13)
------------------

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Features
Requirements
------------

* Django >= 2.1
* Django >= 2.2
* Python >= 3.5
* Supports Stripe exclusively. For PayPal, see `dj-paypal <https://github.com/HearthSim/dj-paypal>`_ instead.
* PostgreSQL engine (recommended): >= 9.4
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Django + Stripe Made Easy
* Subscription management
* Designed for easy implementation of post-registration subscription forms
* Single-unit purchases
* Works with Django >= 2.1
* Works with Django >= 2.2
* Works with Python >= 3.5
* Built-in migrations
* Dead-Easy installation
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ pip>=10.0.1
setuptools>=39.2.0
wheel>=0.31.1
six>=1.11.0
django>=2.0.5
django>=2.2.0
stripe>=2.41.0
python-doc-inherit>=0.3.0
jsonfield2>=3.0.3
Expand Down
7 changes: 3 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = dj-stripe
version = 2.2.0
version = 2.3.0dev
description = Django + Stripe Made Easy
author = Alexander Kavanaugh
author_email = alex@kavdev.io
Expand All @@ -20,7 +20,6 @@ classifiers =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Framework :: Django
Framework :: Django :: 2.1
Framework :: Django :: 2.2
Framework :: Django :: 3.0

Expand All @@ -29,8 +28,8 @@ packages = find:
include_package_data = True
zip_safe = False
install_requires =
Django >= 2.1
# >= 3.0.3 needed for Django 3, < 3.1 needed for Django 2.1
Django >= 2.2
# >= 3.0.3 needed for Django 3
jsonfield2
# >= 2.32.0 needed for stripe.SetupIntent
# avoid 2.36.0, see https://github.com/dj-stripe/dj-stripe/issues/991
Expand Down
9 changes: 3 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[tox]
envlist =
py35-django{21,22}-{postgres,postgres_native_json,mysql,sqlite}
py36-django{21,22,30}-{postgres,postgres_native_json,mysql,sqlite}
py37-django{21,22,30,master}-{postgres,postgres_native_json,mysql,sqlite}
py35-django{22}-{postgres,postgres_native_json,mysql,sqlite}
py36-django{22,30}-{postgres,postgres_native_json,mysql,sqlite}
py37-django{22,30,master}-{postgres,postgres_native_json,mysql,sqlite}
py38-django{22,30,master}-{postgres,postgres_native_json,mysql,sqlite}
py37-django22-checkmigrations
lint
Expand All @@ -26,9 +26,6 @@ deps =
postgres_native_json: psycopg2
mysql: mysqlclient

django21: Django>=2.1,<2.2
# jsonfield2>=3.1 doesn't support Django 2.1
django21: jsonfield2<3.1
django22: Django>=2.2,<2.3
django30: Django>=3.0a1,<3.1
djangomaster: https://github.com/django/django/archive/master.tar.gz
Expand Down

0 comments on commit f842e7f

Please sign in to comment.