Set Cython language_level=2

This commit is contained in:
Roman Mogylatov 2018-11-08 23:12:50 +02:00
parent 1f2c626b03
commit dc85b2e981
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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 <https://github.com/ets-labs/python-dependency-injector/issues/208>`_:

View File

@ -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