Skip to content

Commit

Permalink
Bump supported versions. (#18)
Browse files Browse the repository at this point in the history
Bump supported versions.
  • Loading branch information
clokep committed Dec 20, 2019
2 parents 2d33eab + 5e8ca62 commit 416a17c
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 9 deletions.
12 changes: 11 additions & 1 deletion .travis.yml
@@ -1,7 +1,17 @@
dist: xenial
language: python
# This version of python is only used to run tox.
python: 3.6
python:
- 3.8
- 3.7
- 3.6
- 2.7
env:
- TOX_SKIP_ENV=".*djangomaster.*"
- TOX_SKIP_ENV=".*django[^m].*"
matrix:
allow_failures:
- env: TOX_SKIP_ENV=".*django[^m].*"
script: tox
notifications:
email: false
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.rst
Expand Up @@ -6,7 +6,9 @@ Changelog
next (xxx)
==========

TODO
* Drop support for Django 2.1.
* Officially supports Django 3.0.
* Officially supports Python 3.8.

0.6 (May 8, 2019)
=================
Expand Down
3 changes: 1 addition & 2 deletions README.rst
Expand Up @@ -20,7 +20,7 @@ Features
Requirements
============

Django Render Block supports Django 1.11, 2.1, and 2.2.
Django Render Block supports Django 1.11, 2.2, and 3.0 on Python 2.7, 3.5, 3.6, 3.7, and 3.8.

Examples
========
Expand Down Expand Up @@ -131,4 +131,3 @@ This is based on a few sources:
* A version of the snippets was ported as `Django-Block-Render <https://github.com/uniphil/Django-Block-Render/>`_
* Additionally inspired by part of `django-templated-email <https://github.com/BradWhittington/django-templated-email/blob/master/templated_email/utils.py>`_
* Also based on a `StackOverflow answer 2687173 <http://stackoverflow.com/questions/2687173/django-how-can-i-get-a-block-from-a-template>`_

6 changes: 5 additions & 1 deletion setup.py
Expand Up @@ -32,12 +32,16 @@ def long_description():
'Topic :: Software Development :: Libraries :: Python Modules',
'Environment :: Web Environment',
'Topic :: Internet',
'Framework :: Django',
'Framework :: Django :: 1.11',
'Framework :: Django :: 2.2',
'Framework :: Django :: 3.0',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Framework :: Django',
'Programming Language :: Python :: 3.8',
'License :: OSI Approved :: ISC License (ISCL)',
],
install_requires=[
Expand Down
9 changes: 5 additions & 4 deletions tox.ini
Expand Up @@ -5,10 +5,11 @@

[tox]
envlist =
py{27,35,36}-django111,
py{27,35,36,37,38}-django111,
# Django 2.0 dropped support for Python 2.7.
py{35,36}-django{21,22},
py36-djangomaster
py{35,36,37,38}-django22,
# Django 3.0 requires Python 3.6.
py{36,37,38}-django{30,master}
skip_missing_interpreters = True

[testenv]
Expand All @@ -18,6 +19,6 @@ commands =
deps =
Jinja2
django111: Django>=1.11,<2.0
django21: Django>=2.1,<2.2
django22: Django>=2.2,<2.3
django30: Django>=3.0,<3.1
djangomaster: https://codeload.github.com/django/django/zip/master

0 comments on commit 416a17c

Please sign in to comment.