From 45e6b943f63bb31b7240207b1ed1fd3de453650f Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Thu, 30 Jul 2020 13:52:42 -0400 Subject: [PATCH 1/2] Fix typos in aiohttp tutorial --- docs/tutorials/aiohttp.rst | 6 +++--- .../miniapps/giphynav-aiohttp/giphynavigator/application.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/tutorials/aiohttp.rst b/docs/tutorials/aiohttp.rst index 7b845ab5..8f278b6f 100644 --- a/docs/tutorials/aiohttp.rst +++ b/docs/tutorials/aiohttp.rst @@ -122,7 +122,7 @@ Now it's time to install the project requirements. We will use next packages: - ``aiohttp-devtools`` - the helper library that will provide a development server with live reloading - ``pyyaml`` - the YAML files parsing library, used for the reading of the configuration files -- ``pytest-aiohttp``- the helper library for the testing of the ``aiohttp`` application +- ``pytest-aiohttp`` - the helper library for the testing of the ``aiohttp`` application - ``pytest-cov`` - the helper library for measuring the test coverage Put next lines into the ``requirements.txt`` file: @@ -223,7 +223,7 @@ Put next into the ``application.py``: def create_app(): - """Create and return Flask application.""" + """Create and return aiohttp application.""" container = ApplicationContainer() app: web.Application = container.app() @@ -426,7 +426,7 @@ Edit ``application.py``: def create_app(): - """Create and return Flask application.""" + """Create and return aiohttp application.""" container = ApplicationContainer() container.config.from_yaml('config.yml') container.config.giphy.api_key.from_env('GIPHY_API_KEY') diff --git a/examples/miniapps/giphynav-aiohttp/giphynavigator/application.py b/examples/miniapps/giphynav-aiohttp/giphynavigator/application.py index 0a9b0e70..0e446ab4 100644 --- a/examples/miniapps/giphynav-aiohttp/giphynavigator/application.py +++ b/examples/miniapps/giphynav-aiohttp/giphynavigator/application.py @@ -6,7 +6,7 @@ from .containers import ApplicationContainer def create_app(): - """Create and return Flask application.""" + """Create and return aiohttp application.""" container = ApplicationContainer() container.config.from_yaml('config.yml') container.config.giphy.api_key.from_env('GIPHY_API_KEY') From 6fccb6eec1f269a5c8f43dc88bb0182588b42a66 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Thu, 30 Jul 2020 13:53:37 -0400 Subject: [PATCH 2/2] Bump version to 3.25.1 --- docs/main/changelog.rst | 4 ++++ src/dependency_injector/__init__.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/main/changelog.rst b/docs/main/changelog.rst index 1b1ac6a1..add6fe3d 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.25.1 +------ +- Fix ``aiohttp`` tutorial typos. + 3.25.0 ------ - Add ``aiohttp`` tutorial. diff --git a/src/dependency_injector/__init__.py b/src/dependency_injector/__init__.py index 4fe7c2bc..306a8f26 100644 --- a/src/dependency_injector/__init__.py +++ b/src/dependency_injector/__init__.py @@ -1,6 +1,6 @@ """Dependency injector top-level package.""" -__version__ = '3.25.0' +__version__ = '3.25.1' """Version number that follows semantic versioning. :type: str