From: David Lord Date: Mon, 27 Jan 2020 21:51:27 +0000 (-0800) Subject: start version 3.0.0 X-Git-Tag: 3.0.0a1~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b8d839e1ec7ac4c7e42241e9e4279826bcc3580;p=thirdparty%2Fjinja.git start version 3.0.0 --- diff --git a/CHANGES.rst b/CHANGES.rst index 21eb7765..9e26dff6 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,5 +1,15 @@ .. currentmodule:: jinja2 +Version 3.0.0 +------------- + +Unreleased + +- Drop support for Python 2.7 and 3.5. +- Bump MarkupSafe dependency to >=1.1. +- Bump Babel optional dependency to >=2.1. + + Version 2.11.0 -------------- diff --git a/setup.py b/setup.py index 7d94cd3a..050d3e22 100644 --- a/setup.py +++ b/setup.py @@ -20,8 +20,6 @@ setup( "Issue tracker": "https://github.com/pallets/jinja/issues", }, license="BSD-3-Clause", - author="Armin Ronacher", - author_email="armin.ronacher@active-4.com", maintainer="Pallets", maintainer_email="contact@palletsprojects.com", description="A very fast and expressive template engine.", @@ -33,15 +31,6 @@ setup( "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", - "Programming Language :: Python :: 2", - "Programming Language :: Python :: 2.7", - "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.5", - "Programming Language :: Python :: 3.6", - "Programming Language :: Python :: 3.7", - "Programming Language :: Python :: 3.8", - "Programming Language :: Python :: Implementation :: CPython", - "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP :: Dynamic Content", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Markup :: HTML", @@ -49,8 +38,8 @@ setup( packages=find_packages("src"), package_dir={"": "src"}, include_package_data=True, - python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*", - install_requires=["MarkupSafe>=0.23"], - extras_require={"i18n": ["Babel>=0.8"]}, + python_requires=">=3.6", + install_requires=["MarkupSafe>=1.1"], + extras_require={"i18n": ["Babel>=2.1"]}, entry_points={"babel.extractors": ["jinja2 = jinja2.ext:babel_extract[i18n]"]}, ) diff --git a/src/jinja2/__init__.py b/src/jinja2/__init__.py index 7233387d..8fa05183 100644 --- a/src/jinja2/__init__.py +++ b/src/jinja2/__init__.py @@ -1,4 +1,3 @@ -# -*- coding: utf-8 -*- """Jinja is a template engine written in pure Python. It provides a non-XML syntax that supports inline expressions and an optional sandboxed environment. @@ -41,4 +40,4 @@ from .utils import evalcontextfunction from .utils import is_undefined from .utils import select_autoescape -__version__ = "2.11.0" +__version__ = "3.0.0a1"