From: Florian Bruhin Date: Wed, 27 Jun 2018 14:13:52 +0000 (+0200) Subject: Drop Python 3.3 support X-Git-Tag: 2.11.0~114^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1fb22fd45ad6d0caa314fe373a377fbbf82ba08;p=thirdparty%2Fjinja.git Drop Python 3.3 support It's currently broken on Travis (as it was dropped in 'wheel'), so continuing to support it is probably not worth the pain. --- diff --git a/.travis.yml b/.travis.yml index 285333fd..897f0b68 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,6 @@ python: - 3.6 - 3.5 - 3.4 - - 3.3 - 2.7 - 2.6 - pypy diff --git a/CHANGES.rst b/CHANGES.rst index f24ee665..868070e2 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -12,6 +12,7 @@ unreleased - 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. .. _#765: https://github.com/pallets/jinja/issues/765 diff --git a/docs/faq.rst b/docs/faq.rst index 624a797a..967fcec9 100644 --- a/docs/faq.rst +++ b/docs/faq.rst @@ -147,8 +147,8 @@ work in production environments:: Credit for this snippet goes to `Thomas Johansson `_ -Why is there no Python 2.3/2.4/2.5/3.1/3.2 support? ---------------------------------------------------- +Why is there no Python 2.3/2.4/2.5/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 @@ -162,6 +162,10 @@ drop support because only Python 2.6/2.7 and >=3.3 support byte and unicode 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 +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. + My Macros are overridden by something ------------------------------------- diff --git a/docs/intro.rst b/docs/intro.rst index 35be13d2..652b891a 100644 --- a/docs/intro.rst +++ b/docs/intro.rst @@ -12,9 +12,10 @@ useful for templating environments. Prerequisites ------------- -Jinja2 works with Python 2.6.x, 2.7.x and >= 3.3. If you are using Python +Jinja2 works with Python 2.6.x, 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. +was dropped in Jinja2 version 2.7. The last release which supported Python 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. diff --git a/setup.py b/setup.py index afdaa310..b42a1393 100644 --- a/setup.py +++ b/setup.py @@ -61,7 +61,6 @@ setup( 'Programming Language :: Python :: 2.6', 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.3', 'Programming Language :: Python :: 3.4', 'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.6', diff --git a/tox.ini b/tox.ini index 406eaeba..d20f08f8 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] envlist = - py{36,35,34,33,27,26,py} + py{36,35,34,27,26,py} docs-html coverage-report