From d9e946ff56107845c59660f58d2a0ed794963e1e Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Sun, 14 Feb 2021 21:05:32 -0500 Subject: [PATCH 1/3] Pin Sphinx version to hotfix broken docs build --- requirements-doc.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/requirements-doc.txt b/requirements-doc.txt index f0fdcb40..a390c915 100644 --- a/requirements-doc.txt +++ b/requirements-doc.txt @@ -1,4 +1,5 @@ -sphinx +# TODO: unpin 3.5.0 when this bug is fixed: https://github.com/sphinx-doc/sphinx/issues/8885 +sphinx<3.5.0 -e git://github.com/rmk135/sphinxcontrib-disqus.git#egg=sphinxcontrib-disqus -r requirements-ext.txt From 368f50f0bac0bfca44e28a4e9282d09965f3fa6a Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Sun, 14 Feb 2021 21:08:19 -0500 Subject: [PATCH 2/3] Fix typo in FastAPI + SQLAlchemy example docs --- docs/examples/fastapi-sqlalchemy.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/examples/fastapi-sqlalchemy.rst b/docs/examples/fastapi-sqlalchemy.rst index 5db1cf8f..653fd50f 100644 --- a/docs/examples/fastapi-sqlalchemy.rst +++ b/docs/examples/fastapi-sqlalchemy.rst @@ -94,7 +94,7 @@ Module ``models`` contains example SQLAlchemy user model. See ``webapp/models.py :language: python Database ------ +-------- Module ``database`` defines declarative base and utility class with engine and session factory. See ``webapp/database.py``: From ed0a413b6775b1f66302459bc28ae00aec470bb4 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Sun, 14 Feb 2021 21:09:21 -0500 Subject: [PATCH 3/3] Bump version to 4.22.1 --- docs/main/changelog.rst | 5 +++++ src/dependency_injector/__init__.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/docs/main/changelog.rst b/docs/main/changelog.rst index 451d5e34..5c038ad3 100644 --- a/docs/main/changelog.rst +++ b/docs/main/changelog.rst @@ -7,6 +7,11 @@ that were made in every particular version. From version 0.7.6 *Dependency Injector* framework strictly follows `Semantic versioning`_ +4.22.1 +------ +- Pin ``sphinx`` version to hotfix docs build. +- Fix a typo in docs. + 4.22.0 ------ - Add method ``container.check_dependencies()`` to check if all container dependencies diff --git a/src/dependency_injector/__init__.py b/src/dependency_injector/__init__.py index 34f1ecd3..8f180863 100644 --- a/src/dependency_injector/__init__.py +++ b/src/dependency_injector/__init__.py @@ -1,6 +1,6 @@ """Top-level package.""" -__version__ = '4.22.0' +__version__ = '4.22.1' """Version number. :type: str