From a6a8115cc7feef77ad6d4db03260eaf73a66b911 Mon Sep 17 00:00:00 2001 From: Tom Schraitle Date: Tue, 3 Nov 2020 23:53:44 +0100 Subject: [PATCH 1/2] Tox: skip installation for changelog target We only need to install towncrier, but it is not needed to install semver too. Therefor, skip the installation of semver. --- tox.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/tox.ini b/tox.ini index 73fbfc58..5ba0ba13 100644 --- a/tox.ini +++ b/tox.ini @@ -103,6 +103,7 @@ commands = [testenv:changelog] description = Run towncrier to check, build, or create the CHANGELOG.rst basepython = python3 +skip_install = true deps = git+https://github.com/twisted/towncrier.git commands = From 40c26e5c00c51507b4ec91b57d00f0e641af5d67 Mon Sep 17 00:00:00 2001 From: Tom Schraitle Date: Wed, 4 Nov 2020 00:00:32 +0100 Subject: [PATCH 2/2] Add changelog.d entry file for #313 --- changelog.d/313.trivial.rst | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelog.d/313.trivial.rst diff --git a/changelog.d/313.trivial.rst b/changelog.d/313.trivial.rst new file mode 100644 index 00000000..963b4f31 --- /dev/null +++ b/changelog.d/313.trivial.rst @@ -0,0 +1,3 @@ +Correct :file:`tox.ini` for ``changelog`` entry to skip +installation for semver. This should speed up the execution +of towncrier.