Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Python 3.9, Django 3.2. Drop support for outdated Python 3.5 and Django 2.1 #36

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 15 additions & 13 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,28 @@ matrix:

include:
# Don't test 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.6", env: TOXENV=py36-django31-postgres }
- { python: "3.6", env: TOXENV=py36-django32-postgres }

- { python: "3.7", env: TOXENV=py37-django21-postgres }
- { 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-mysql }
- { python: "3.7", env: TOXENV=py37-django22-sqlite }
- { python: "3.7", env: TOXENV=py37-django30-postgres }
- { python: "3.7", env: TOXENV=py37-django30-mysql }
- { python: "3.7", env: TOXENV=py37-django30-sqlite }
- { python: "3.7", env: TOXENV=py37-django31-postgres }
- { python: "3.7", env: TOXENV=py37-django31-mysql }
- { python: "3.7", env: TOXENV=py37-django31-sqlite }
- { python: "3.7", env: TOXENV=py37-django32-postgres }
- { python: "3.7", env: TOXENV=py37-django32-mysql }
- { python: "3.7", env: TOXENV=py37-django32-sqlite }
- { python: "3.7", env: TOXENV=py37-djangomaster-postgres }

- { python: "3.8", env: TOXENV=py38-django22-postgres }
- { python: "3.8", env: TOXENV=py38-django30-postgres }
- { python: "3.8", env: TOXENV=py38-django31-postgres }
- { python: "3.8", env: TOXENV=py38-django32-postgres }

- { python: "3.9", env: TOXENV=py39-django22-postgres }
- { python: "3.9", env: TOXENV=py39-django31-postgres }
- { python: "3.9", env: TOXENV=py39-django32-postgres }

- { python: "3.7", env: TOXENV=checkmigrations }
- { python: "3.7", env: TOXENV=lint }
Expand All @@ -55,4 +57,4 @@ script:
- tox

after_success:
- codecov
- codecov
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ Features
Requirements
------------

* Django >= 2.1
* Python >= 3.5
* Django >= 2.2
* Python >= 3.6

Quickstart
----------
Expand Down
8 changes: 4 additions & 4 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,21 @@ classifiers =
License :: OSI Approved :: MIT License
Topic :: Office/Business :: Financial
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
Framework :: Django
Framework :: Django :: 2.1
Framework :: Django :: 2.2
Framework :: Django :: 3.0
Framework :: Django :: 3.1
Framework :: Django :: 3.2

[options]
packages = find:
include_package_data = True
zip_safe = False
install_requires =
django>=2.1
django>=2.2
pycryptodome>=3.9.4
phpserialize>=1.3
paddle-client>=1.0.0
Expand Down
15 changes: 7 additions & 8 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
[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}
py38-django{22,30,master}-{postgres,postgres_native_json,mysql,sqlite}
py36-django{22,31,32}-{postgres,postgres_native_json,mysql,sqlite}
py37-django{22,31,32,master}-{postgres,postgres_native_json,mysql,sqlite}
py38-django{22,31,32,master}-{postgres,postgres_native_json,mysql,sqlite}
py39-django{22,31,32}-{postgres,postgres_native_json,mysql,sqlite}
py37-django22-checkmigrations
lint
checkmigrations
Expand All @@ -27,10 +27,9 @@ deps =
postgres: psycopg2
mysql: mysqlclient

django21: Django>=2.1,<2.2
django21: jsonfield2<3.1
django22: Django>=2.2,<2.3
django30: Django>=3.0a1,<3.1
django31: Django>=3.1,<3.2
django32: Django>=3.2,<3.3
djangomaster: https://github.com/django/django/archive/master.tar.gz
pytest-django
pytest-cov
Expand Down Expand Up @@ -66,7 +65,7 @@ changedir = docs
whitelist_externals = make
commands = make html
deps =
django>=2.1
django>=2.2
paddle-client>=1.0.0
sphinx
sphinx_rtd_theme
Expand Down