~jugmac00/lpci:fix-readthedocs

Last commit made on 2022-01-07
Get this branch:
git clone -b fix-readthedocs https://git.launchpad.net/~jugmac00/lpci
Only Jürgen Gmach can upload to this branch. If you are Jürgen Gmach please log in for upload directions.

Branch merges

Branch information

Name:
fix-readthedocs
Repository:
lp:~jugmac00/lpci

Recent commits

7896aa0... by Jürgen Gmach

Fix autodoc on readthedocs

The standard installation on readthedocs (`python setup.py install`)
does not work for this project, as we need some dependencies from e.g.
github which are only listed in requirements.txt

5e8ba82... by Colin Watson

Fix test_builtin_plugin failure

3fda37e... by Jürgen Gmach

Fix tox plugin not selecting the right interpreter

When executing tox with an envlist like `py38, py39, py310`, all three
envs were executed, but the system Python 3.8 interpreter was used for
all of them.

This seems to be an issue of the packaged tox 3.13.2 on Focal Fossa.

Upstream tox version 3.13.2 cannot be run in a Python 3.8 virtualenv at
all.

Python 3.8 support for tox was only added in 3.14.4.

This means we cannot use the packaged tox, but need to install it via
pip.

6180c03... by Jürgen Gmach

Create documentation for the plugin system

804e483... by Colin Watson

Add a .launchpad.yaml file

Now that we have a `tox` plugin, let's start work on self-hosting.

8cf44cb... by Colin Watson

Fix isolation of TestPlugins

`TestPlugins` wrote to `.launchpad.yaml` without changing to a temporary
directory first, which caused it to modify the source tree.

1ec7179... by Jürgen Gmach

Rename YAMLError into ConfigurationError

Configuration errors may not always be caused by an issue in a YAML
file.

f907f2f... by Jürgen Gmach

Use a decorator to collect all builtin plugins

f16ec90... by Jürgen Gmach

Generalize test outcome

f7024ff... by Jürgen Gmach

`run` command from configuration file takes precedence

Please note: when both a plugin and the configuration file are
providing a `run` command, the one from the configuration file will be
used

Previously, defining the `run` command twice errored.