Skip to content

Commit

Permalink
Django 3.0 compatability (dj-stripe#1041)
Browse files Browse the repository at this point in the history
Remove Django 3.0 from allowed failures now that jsonfield2>=3.0.3 supports Django 3.0

Resolves dj-stripe#821
  • Loading branch information
therefromhere authored Oct 24, 2019
1 parent cd4daee commit fa4bd5d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
5 changes: 0 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,6 @@ matrix:
- { python: "3.7", env: TOXENV=lint }
- { python: "3.7", env: TOXENV=docs }
allow_failures:
- env: TOXENV=py36-django30-postgres
- env: TOXENV=py37-django30-postgres
- env: TOXENV=py37-django30-mysql
- env: TOXENV=py37-django30-sqlite
- env: TOXENV=py37-django30-postgres_native_json
- env: TOXENV=py37-djangomaster-postgres

services:
Expand Down
1 change: 1 addition & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ History
------------------

- Changed ``JSONField`` dependency package from `jsonfield`_ to `jsonfield2`_, for Django 3 compatibility (see `Warning about safe uninstall of jsonfield on upgrade`_).
- Added support for Django 3.0 (requires jsonfield2>=3.0.3).
- Dropped previously-deprecated ``Account`` fields (see https://stripe.com/docs/upgrades#2019-02-19 ):
- ``.business_name``
- ``.business_primary_color``
Expand Down
2 changes: 2 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@ classifiers =
Framework :: Django
Framework :: Django :: 2.1
Framework :: Django :: 2.2
Framework :: Django :: 3.0

[options]
packages = find:
include_package_data = True
zip_safe = False
install_requires =
Django >= 2.1
# >= 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

0 comments on commit fa4bd5d

Please sign in to comment.