]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Drop Python 3.3 support
authorFlorian Bruhin <git@the-compiler.org>
Wed, 27 Jun 2018 14:13:52 +0000 (16:13 +0200)
committerFlorian Bruhin <git@the-compiler.org>
Wed, 27 Jun 2018 14:13:52 +0000 (16:13 +0200)
It's currently broken on Travis (as it was dropped in 'wheel'), so continuing to
support it is probably not worth the pain.

.travis.yml
CHANGES.rst
docs/faq.rst
docs/intro.rst
setup.py
tox.ini

index 285333fd5b89d4c1472249ad3dd63cd656734345..897f0b6809e8211fff2f589872fc3482ffb6367c 100644 (file)
@@ -5,7 +5,6 @@ python:
   - 3.6
   - 3.5
   - 3.4
-  - 3.3
   - 2.7
   - 2.6
   - pypy
index f24ee665237f32dbfdebb7ad2dc5e4c165443c2b..868070e29d327cd737dd55b4679e8201e80ad413 100644 (file)
@@ -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
 
index 624a797a42941027a4bdfee98f2eb6c142cff8dd..967fcec9d14285ec947e2a074c051da98caae01b 100644 (file)
@@ -147,8 +147,8 @@ work in production environments::
 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 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
 -------------------------------------
 
index 35be13d24b1d2d71ad295abb469017a247313790..652b891a483a106a64bfa96f482dc8f4ece54ff0 100644 (file)
@@ -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.
index afdaa3100d541413930db076cc6a6c452b7bd4a6..b42a1393f806e64bf89386e920bd8bb8fd2e8aef 100644 (file)
--- 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 406eaebac303d695999f2dfcf4258839beca8656..d20f08f8bcf0f4e83ed72ba6255a4b4e71de382d 100644 (file)
--- 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