Skip to content
Myr

Drop Python 3.3 support

Before adoption: this commit came in with the history the project adopted, so no landing records it.

It's currently broken on Travis (as it was dropped in 'wheel'), so continuing to support it is probably not worth the pain.

authored by Florian Bruhin · committed by Florian Bruhin · parent fb7e12c · Browse files · 6 files+11 added−7 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

6 files+11 added−7 removed

  • other:+11 added−7 removed

6 files+11 added−7 removed

modified:docs/faq.rst+6 added-2 removed
145 unmodified lines
146147Credit for this snippet goes to `Thomas Johansson148<https://stackoverflow.com/questions/3086091/debug-jinja2-in-google-app-engine/3694434#3694434>`_149150Why is there no Python 2.3/2.4/2.5/3.1/3.2 support?151---------------------------------------------------150Why is there no Python 2.3/2.4/2.5/3.1/3.2/3.3 support?151-------------------------------------------------------152153Python 2.3 is missing a lot of features that are used heavily in Jinja2. This154decision was made as with the upcoming Python 2.6 and 3.0 versions it becomes155harder to maintain the code for older Python versions. If you really need
5 unmodified lines
161drop support because only Python 2.6/2.7 and >=3.3 support byte and unicode162literals in a way compatible to each other version. If you really need support163for older Python 2 (or 3) versions, you can just use Jinja2 2.6.164165Python 3.3 support was dropped because it got dropped in various upstream166projects (such as wheel or pytest), which would make it difficult to continue167supporting it. Jinja2 2.10 was the last version supporting Python 3.3.168169My Macros are overridden by something170-------------------------------------171172In some situations the Jinja scoping appears arbitrary:
23 unmodified lines
modified:docs/intro.rst+3 added-2 removed
10 unmodified lines
1112Prerequisites13-------------1415Jinja2 works with Python 2.6.x, 2.7.x and >= 3.3. If you are using Python15Jinja2 works with Python 2.6.x, 2.7.x and >= 3.4. If you are using Python163.2 you can use an older release of Jinja2 (2.6) as support for Python 3.217was dropped in Jinja2 version 2.7.17was dropped in Jinja2 version 2.7. The last release which supported Python 3.318was Jinja2 2.10.1920If you wish to use the :class:`~jinja2.PackageLoader` class, you will also21need `setuptools`_ or `distribute`_ installed at runtime.22
83 unmodified lines
modified:.travis.yml-1 removed
modified:CHANGES.rst+1 added
10 unmodified lines
1112- Async support is only loaded the first time an13 :class:`~environment.Environment` enables it, in order to avoid a14 slow initial import. (`#765`_)15- Python 3.3 is not supported anymore.1617.. _#765: https://github.com/pallets/jinja/issues/7651819
592 unmodified lines
modified:setup.py-1 removed
59 unmodified lines
60 'Programming Language :: Python :: 2',61 'Programming Language :: Python :: 2.6',62 'Programming Language :: Python :: 2.7',63 'Programming Language :: Python :: 3',64 'Programming Language :: Python :: 3.3',64 'Programming Language :: Python :: 3.4',65 'Programming Language :: Python :: 3.5',66 'Programming Language :: Python :: 3.6',67 'Topic :: Internet :: WWW/HTTP :: Dynamic Content',
12 unmodified lines
modified:tox.ini+1 added-1 removed
1[tox]2envlist =3 py{36,35,34,33,27,26,py}3 py{36,35,34,27,26,py}4 docs-html5 coverage-report67[testenv]
34 unmodified lines