diff options
author | Jelmer Vernooij <jelmer@jelmer.uk> | 2022-07-01 19:32:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 19:32:06 +0100 |
commit | e4ea2ec854191c83572e0b94d5d15425a6fd9a87 (patch) | |
tree | 9a6a85bab8f988dbe50691b707bc303e12a94723 | |
parent | 0d9f1c7e0e414603d212f0aaffaa193748a15e3f (diff) | |
parent | dbada1efac5c89c996b2b1536f4b0c5fb227d000 (diff) | |
download | testtools-e4ea2ec854191c83572e0b94d5d15425a6fd9a87.tar.gz |
Merge branch 'master' into compound-fixture
-rw-r--r-- | .github/workflows/test.yml | 4 | ||||
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | README.rst | 3 | ||||
-rw-r--r-- | doc/twisted-support.rst | 3 | ||||
-rw-r--r-- | readthedocs-requirements.txt | 3 | ||||
-rw-r--r-- | setup.cfg | 2 | ||||
-rw-r--r-- | tox.ini | 2 |
7 files changed, 13 insertions, 7 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 67bcba9..6793d7d 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -34,8 +34,8 @@ jobs: run: | python3 -m pip install -U pip python3 -m pip install -U wheel setuptools - python3 -m pip install sphinx Twisted - python3 -m pip install ".[test]" + python3 -m pip install sphinx + python3 -m pip install ".[test,twisted]" - name: Tests run: | @@ -21,6 +21,9 @@ Improvements * Use ``CompoundFixture`` from ``fixtures>=2.0`` rather than rolling our own. +* Provide a ``testtools[twisted]`` extra documenting dependencies needed for + ``testtools.twistedsupport``. + 2.5.0 ~~~~~ @@ -47,7 +47,8 @@ tested on Linux and macOS. Optional Dependencies --------------------- -If you would like to use our Twisted support, then you will need Twisted. +If you would like to use our Twisted support, then you will need the +``testtools[twisted]`` extra. If you want to use ``fixtures`` then you can either install fixtures (e.g. from https://launchpad.net/python-fixtures or https://pypi.python.org/pypi/fixtures) diff --git a/doc/twisted-support.rst b/doc/twisted-support.rst index 3ec6d0f..6243592 100644 --- a/doc/twisted-support.rst +++ b/doc/twisted-support.rst @@ -3,7 +3,8 @@ Twisted support =============== -testtools provides support for testing Twisted code. +testtools provides support for testing Twisted code. Install the +``testtools[twisted]`` extra to use this. Matching Deferreds diff --git a/readthedocs-requirements.txt b/readthedocs-requirements.txt index e44982f..80bdb5c 100644 --- a/readthedocs-requirements.txt +++ b/readthedocs-requirements.txt @@ -6,5 +6,4 @@ # that it knows exactly what to install in order to render the full # documentation. -testtools[test] -Twisted +testtools[test,twisted] @@ -28,6 +28,8 @@ classifier = test = testscenarios testresources +twisted = + Twisted [files] packages = testtools @@ -6,8 +6,8 @@ minversion = 1.6 usedevelop = True deps = sphinx - Twisted extras = test + twisted commands = python -W once -m testtools.run testtools.tests.test_suite |