Also drop Python 2.6
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Florian Bruhin · committed by Florian Bruhin · parent d1fb22f · Browse files · 6 files·+9 added−13 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+9 added−13 removed
- other:+9 added−13 removed
Provenance
- Commit
5425921- Tree
e10e0fc- Author
Florian Bruhin <git@the-compiler.org>- Committer
Florian Bruhin <git@the-compiler.org>- Parent
d1fb22f
6 files changed+9 added−13 removed
modified:docs/faq.rst+4 added-4 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/3.3 support?151--------------------------------------------------------150+Why is there no Python 2.3/2.4/2.5/2.6/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 upstream165+Python 2.6/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.167+supporting it. Jinja2 2.10 was the last version supporting Python 2.6/3.3.168 169 My Macros are overridden by something170 -------------------------------------171 24 unmodified linesmodified:docs/intro.rst+3 added-3 removed
10 unmodified lines11 12 Prerequisites13 -------------14 15-Jinja2 works with Python 2.6.x, 2.7.x and >= 3.4. If you are using Python15+Jinja2 works with Python 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. The last release which supported Python 3.318-was Jinja2 2.10.17+was dropped in Jinja2 version 2.7. The last release which supported Python 2.618+and 3.3 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
4 unmodified lines56789910111231 unmodified lines4 unmodified lines - 3.6 - 3.5 - 3.4 - 2.7 - 2.6 - pypy
env: - TOXENV=py,codecov31 unmodified linesmodified:CHANGES.rst+1 added-1 removed
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.15+- Python 2.6 and 3.3 are not supported anymore.16 17 .. _#765: https://github.com/pallets/jinja/issues/76518 19 592 unmodified linesmodified:setup.py-1 removed
56 unmodified lines57 'License :: OSI Approved :: BSD License',58 'Operating System :: OS Independent',59 'Programming Language :: Python',60 'Programming Language :: Python :: 2',61- 'Programming Language :: Python :: 2.6',61 'Programming Language :: Python :: 2.7',62 'Programming Language :: Python :: 3',63 'Programming Language :: Python :: 3.4',64 'Programming Language :: Python :: 3.5',14 unmodified linesmodified:tox.ini+1 added-3 removed
1 [tox]2 envlist =3- py{36,35,34,27,26,py}3+ py{36,35,34,27,py}4 docs-html5 coverage-report6 7 [testenv]25 unmodified lines33 passenv = CI TRAVIS TRAVIS_*34 deps = codecov35 skip_install = true36 commands =37- # install argparse for 2.638- python -c 'import sys, pip; sys.version_info < (2, 7) and pip.main(["install", "argparse", "-q"])'37 coverage combine38 coverage report39 codecov