]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Also drop Python 2.6
authorFlorian Bruhin <git@the-compiler.org>
Wed, 27 Jun 2018 19:48:02 +0000 (21:48 +0200)
committerFlorian Bruhin <git@the-compiler.org>
Wed, 27 Jun 2018 19:48:02 +0000 (21:48 +0200)
.travis.yml
CHANGES.rst
docs/faq.rst
docs/intro.rst
setup.py
tox.ini

index 897f0b6809e8211fff2f589872fc3482ffb6367c..ea2ec2187925ca93a4436febf4b137ce8d3f4169 100644 (file)
@@ -6,7 +6,6 @@ python:
   - 3.5
   - 3.4
   - 2.7
-  - 2.6
   - pypy
 
 env:
index 868070e29d327cd737dd55b4679e8201e80ad413..213ad49fdb0988c99361486c129668fa674bc7c9 100644 (file)
@@ -12,7 +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.
+- Python 2.6 and 3.3 are not supported anymore.
 
 .. _#765: https://github.com/pallets/jinja/issues/765
 
index 967fcec9d14285ec947e2a074c051da98caae01b..4a70095489086004af5f1ca71263012b93f9c7fb 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/3.3 support?
--------------------------------------------------------
+Why is there no Python 2.3/2.4/2.5/2.6/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,9 +162,9 @@ 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
+Python 2.6/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.
+supporting it. Jinja2 2.10 was the last version supporting Python 2.6/3.3.
 
 My Macros are overridden by something
 -------------------------------------
index 652b891a483a106a64bfa96f482dc8f4ece54ff0..38e3ab98b3e12a3c639cf43112b9072b3c8613be 100644 (file)
@@ -12,10 +12,10 @@ useful for templating environments.
 Prerequisites
 -------------
 
-Jinja2 works with Python 2.6.x, 2.7.x and >= 3.4.  If you are using Python
+Jinja2 works with Python 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. The last release which supported Python 3.3
-was Jinja2 2.10.
+was dropped in Jinja2 version 2.7. The last release which supported Python 2.6
+and 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 b42a1393f806e64bf89386e920bd8bb8fd2e8aef..7c3f33d996bb73a2119162dc68840190837144a3 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -58,7 +58,6 @@ setup(
         'Operating System :: OS Independent',
         'Programming Language :: Python',
         'Programming Language :: Python :: 2',
-        'Programming Language :: Python :: 2.6',
         'Programming Language :: Python :: 2.7',
         'Programming Language :: Python :: 3',
         'Programming Language :: Python :: 3.4',
diff --git a/tox.ini b/tox.ini
index d20f08f8bcf0f4e83ed72ba6255a4b4e71de382d..4c8ac4cb952cbd945ce66f26120c00d5bc266451 100644 (file)
--- a/tox.ini
+++ b/tox.ini
@@ -1,6 +1,6 @@
 [tox]
 envlist =
-    py{36,35,34,27,26,py}
+    py{36,35,34,27,py}
     docs-html
     coverage-report
 
@@ -34,8 +34,6 @@ passenv = CI TRAVIS TRAVIS_*
 deps = codecov
 skip_install = true
 commands =
-    # install argparse for 2.6
-    python -c 'import sys, pip; sys.version_info < (2, 7) and pip.main(["install", "argparse", "-q"])'
     coverage combine
     coverage report
     codecov