- 3.5
- 3.4
- 2.7
- - 2.6
- pypy
env:
- Async support is only loaded the first time an
:class:`~environment.Environment` enables it, in order to avoid a
slow initial import. (`#765`_)
-- Python 3.3 is not supported anymore.
+- Python 2.6 and 3.3 are not supported anymore.
.. _#765: https://github.com/pallets/jinja/issues/765
Credit for this snippet goes to `Thomas Johansson
<https://stackoverflow.com/questions/3086091/debug-jinja2-in-google-app-engine/3694434#3694434>`_
-Why is there no Python 2.3/2.4/2.5/3.1/3.2/3.3 support?
--------------------------------------------------------
+Why is there no Python 2.3/2.4/2.5/2.6/3.1/3.2/3.3 support?
+-----------------------------------------------------------
Python 2.3 is missing a lot of features that are used heavily in Jinja2. This
decision was made as with the upcoming Python 2.6 and 3.0 versions it becomes
literals in a way compatible to each other version. If you really need support
for older Python 2 (or 3) versions, you can just use Jinja2 2.6.
-Python 3.3 support was dropped because it got dropped in various upstream
+Python 2.6/3.3 support was dropped because it got dropped in various upstream
projects (such as wheel or pytest), which would make it difficult to continue
-supporting it. Jinja2 2.10 was the last version supporting Python 3.3.
+supporting it. Jinja2 2.10 was the last version supporting Python 2.6/3.3.
My Macros are overridden by something
-------------------------------------
Prerequisites
-------------
-Jinja2 works with Python 2.6.x, 2.7.x and >= 3.4. If you are using Python
+Jinja2 works with Python 2.7.x and >= 3.4. If you are using Python
3.2 you can use an older release of Jinja2 (2.6) as support for Python 3.2
-was dropped in Jinja2 version 2.7. The last release which supported Python 3.3
-was Jinja2 2.10.
+was dropped in Jinja2 version 2.7. The last release which supported Python 2.6
+and 3.3 was Jinja2 2.10.
If you wish to use the :class:`~jinja2.PackageLoader` class, you will also
need `setuptools`_ or `distribute`_ installed at runtime.
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 2',
- 'Programming Language :: Python :: 2.6',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
[tox]
envlist =
- py{36,35,34,27,26,py}
+ py{36,35,34,27,py}
docs-html
coverage-report
deps = codecov
skip_install = true
commands =
- # install argparse for 2.6
- python -c 'import sys, pip; sys.version_info < (2, 7) and pip.main(["install", "argparse", "-q"])'
coverage combine
coverage report
codecov