From c4e44d0e743dba210fa1e7df08cb684384d028f8 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 5 Sep 2022 17:45:32 +0000 Subject: [PATCH 1/3] Update towncrier requirement from ~=21.9.0 to ~=22.8.0 Updates the requirements on [towncrier](https://github.com/hawkowl/towncrier) to permit the latest version. - [Release notes](https://github.com/hawkowl/towncrier/releases) - [Changelog](https://github.com/twisted/towncrier/blob/trunk/NEWS.rst) - [Commits](https://github.com/hawkowl/towncrier/compare/21.9.0...22.8.0) --- updated-dependencies: - dependency-name: towncrier dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 5118e003a006..06071660ee55 100644 --- a/requirements.txt +++ b/requirements.txt @@ -154,7 +154,7 @@ terminado~=0.15.0 tinycss2~=1.1.1 tomli~=2.0.1 tornado~=6.2 -towncrier~=21.9.0 +towncrier~=22.8.0 tqdm~=4.64.1 traitlets~=5.3.0 typed-ast~=1.4.3; python_version<'3.8' From 31a06dbeed7b3a202555ab14485b2ab96c62cd5e Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Mon, 5 Sep 2022 20:28:11 +0200 Subject: [PATCH 2/3] Set docs dependency of towncrier/sphinx-towncrier to working version The older version of towncrier had the single_file logic in the config inverted and this is the first version of sphinx-towncrier to support this version of towncrier. --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 261981b116ab..d5275ca8fd2b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -106,7 +106,8 @@ docs = [ "sphinx-issues>=3.0.1", "sphinx-jsonschema>=1.19.1", "sphinx-rtd-theme>=1.0.0", - "sphinxcontrib-towncrier>=0.2.1a0", + "sphinxcontrib-towncrier>=0.3.0a0", + "towncrier>=22.8.0", "scipy>=1.7.0", # examples using scipy "slack-sdk>=3.4.2", # slack example notebook ] From 953451a3d0caf2bdbd2690ac9945004e569ca71a Mon Sep 17 00:00:00 2001 From: "Jens H. Nielsen" Date: Tue, 6 Sep 2022 07:10:45 +0200 Subject: [PATCH 3/3] Invert towncrier logic Towncrier 22.8 has fixed the logic such that single_file=False really means single_file=False so invert the logic. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index d5275ca8fd2b..e11ae75bfa22 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -244,7 +244,7 @@ filterwarnings = [ package = "qcodes" name = "QCoDeS" directory = "docs/changes/newsfragments" -single_file = true +single_file = false filename = "docs/changes/{version}.rst" issue_format = ":pr:`{issue}`"