From dc85b2e98111fff37127dc40265b10a4854c69cf Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Thu, 8 Nov 2018 23:12:50 +0200 Subject: [PATCH] Set Cython language_level=2 --- Makefile | 2 +- docs/main/changelog.rst | 4 ++++ src/dependency_injector/__init__.py | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6dcf416a..1229a3bf 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ VERSION := $(shell python setup.py --version) CYTHON_SRC := $(shell find src/dependency_injector -name '*.pyx') -CYTHON_DIRECTIVES = +CYTHON_DIRECTIVES = -Xlanguage_level=2 ifdef DEPENDENCY_INJECTOR_DEBUG_MODE CYTHON_DIRECTIVES += -Xprofile=True diff --git a/docs/main/changelog.rst b/docs/main/changelog.rst index b6d2d8e3..21bdea83 100644 --- a/docs/main/changelog.rst +++ b/docs/main/changelog.rst @@ -7,6 +7,10 @@ that were made in every particular version. From version 0.7.6 *Dependency Injector* framework strictly follows `Semantic versioning`_ +3.14.2 +------ +- Set Cython ``language_level=2``. + 3.14.1 ------ - Fix bug `#208 `_: diff --git a/src/dependency_injector/__init__.py b/src/dependency_injector/__init__.py index ba93db20..30ef4628 100644 --- a/src/dependency_injector/__init__.py +++ b/src/dependency_injector/__init__.py @@ -1,6 +1,6 @@ """Dependency injector top-level package.""" -__version__ = '3.14.1' +__version__ = '3.14.2' """Version number that follows semantic versioning. :type: str