Skip to content

Commit 7849959

Browse files
TheBukyTheBuky
authored andcommitted
Release Django-Pipeline 2.0.5
Add compatibily for Django 3.1
1 parent b77c508 commit 7849959

File tree

5 files changed

+24
-6
lines changed

5 files changed

+24
-6
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ matrix:
1919
python: '3.7'
2020
- env: TOXENV=py38-django30
2121
python: '3.8'
22+
- env: TOXENV=pypy3-django31
23+
python: pypy3
24+
- env: TOXENV=py36-django31
25+
python: '3.6'
26+
- env: TOXENV=py37-django31
27+
python: '3.7'
28+
- env: TOXENV=py38-django31
29+
python: '3.8'
2230
- env: TOXENV=py36-django-master
2331
python: '3.6'
2432
- env: TOXENV=py37-django-master

HISTORY.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,15 @@
33
History
44
=======
55

6+
2.0.5
7+
======
8+
9+
* Adding **Django 3.1** compatibility.
10+
* CachedStaticFilesStorage is removed from Django. Add a check
11+
of the current version to prevent error while importing. Thank to @vmsp
12+
* Context in django.template.base is removed from Django and
13+
not used anymore in django-pipeline.
14+
615
2.0.4
716
======
817

pipeline/templatetags/pipeline.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from django.contrib.staticfiles.storage import staticfiles_storage
55

66
from django import template
7-
from django.template.context import Context
87
from django.template.base import VariableDoesNotExist
98
from django.template.loader import render_to_string
109
from django.utils.safestring import mark_safe

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name='django-pipeline',
9-
version='2.0.4',
9+
version='2.0.5',
1010
description='Pipeline is an asset packaging library for Django.',
1111
long_description=io.open('README.rst', encoding='utf-8').read() + '\n\n' +
1212
io.open('HISTORY.rst', encoding='utf-8').read(),
@@ -25,6 +25,7 @@
2525
'Framework :: Django',
2626
'Framework :: Django :: 2.2',
2727
'Framework :: Django :: 3.0',
28+
'Framework :: Django :: 3.1',
2829
'Intended Audience :: Developers',
2930
'License :: OSI Approved :: MIT License',
3031
'Operating System :: OS Independent',

tox.ini

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
[tox]
22
envlist =
3-
pypy3-django{22,30}
4-
py36-django{22,30,-master}
5-
py37-django{22,30,-master}
6-
py38-django{22,30,-master}
3+
pypy3-django{22,30,31}
4+
py36-django{22,30,31,-master}
5+
py37-django{22,30,31,-master}
6+
py38-django{22,30,31,-master}
77
docs
88

99
[testenv]
@@ -16,6 +16,7 @@ deps =
1616
pypy3: mock
1717
django22: Django>=2.2.1,<2.3
1818
django30: Django>=3.0,<3.1
19+
django31: Django>=3.1,<3.2
1920
django-master: https://github.com/django/django/archive/master.tar.gz
2021
jinja2
2122
coverage

0 commit comments

Comments
 (0)