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
Provenance
- Commit
d1fb22f- Tree
6f424e9- Author
Florian Bruhin <git@the-compiler.org>- Committer
Florian Bruhin <git@the-compiler.org>- Parent
fb7e12c
6 files changed+11 added−7 removed
modified:docs/faq.rst+6 added-2 removed
145 unmodified lines146 147 Credit for this snippet goes to `Thomas Johansson148 <https://stackoverflow.com/questions/3086091/debug-jinja2-in-google-app-engine/3694434#3694434>`_149 150-Why is there no Python 2.3/2.4/2.5/3.1/3.2 support?151----------------------------------------------------150+Why is there no Python 2.3/2.4/2.5/3.1/3.2/3.3 support?151+-------------------------------------------------------152 153 Python 2.3 is missing a lot of features that are used heavily in Jinja2. This154 decision was made as with the upcoming Python 2.6 and 3.0 versions it becomes155 harder to maintain the code for older Python versions. If you really need5 unmodified lines161 drop support because only Python 2.6/2.7 and >=3.3 support byte and unicode162 literals in a way compatible to each other version. If you really need support163 for older Python 2 (or 3) versions, you can just use Jinja2 2.6.164 165+Python 3.3 support was dropped because it got dropped in various upstream166+projects (such as wheel or pytest), which would make it difficult to continue167+supporting it. Jinja2 2.10 was the last version supporting Python 3.3.168+169 My Macros are overridden by something170 -------------------------------------171 172 In some situations the Jinja scoping appears arbitrary:23 unmodified linesmodified:docs/intro.rst+3 added-2 removed
10 unmodified lines11 12 Prerequisites13 -------------14 15-Jinja2 works with Python 2.6.x, 2.7.x and >= 3.3. If you are using Python15+Jinja2 works with Python 2.6.x, 2.7.x and >= 3.4. If you are using Python16 3.2 you can use an older release of Jinja2 (2.6) as support for Python 3.217-was dropped in Jinja2 version 2.7.17+was dropped in Jinja2 version 2.7. The last release which supported Python 3.318+was Jinja2 2.10.19 20 If you wish to use the :class:`~jinja2.PackageLoader` class, you will also21 need `setuptools`_ or `distribute`_ installed at runtime.22 83 unmodified linesmodified:.travis.yml-1 removed
3 unmodified lines4567889101133 unmodified lines3 unmodified linespython: - 3.6 - 3.5 - 3.4 - 3.3 - 2.7 - 2.6 - pypy
33 unmodified linesmodified:CHANGES.rst+1 added
10 unmodified lines11 12 - 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.16 17 .. _#765: https://github.com/pallets/jinja/issues/76518 19 592 unmodified linesmodified:setup.py-1 removed
59 unmodified lines60 '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 linesmodified:tox.ini+1 added-1 removed
1 [tox]2 envlist =3- py{36,35,34,33,27,26,py}3+ py{36,35,34,27,26,py}4 docs-html5 coverage-report6 7 [testenv]34 unmodified lines