Debian Codegraph @

docs/source/faq.rst

raw
1 FAQ / Known limitations / Known issues
2 ======================================
3
4 .. rstcheck: ignore-roles=issue
5
6 You may also take a look at the `same section for rstcheck-core`_.
7
8 Known limitations
9 -----------------
10
11 There are inherent limitations to what ``rstcheck`` can and cannot do. The reason for this is that
12 ``rstcheck`` itself relies on external tools for parsing and error reporting.
13 The rst source e.g. is given to ``docutils`` which then parses it and returns the errors.
14 Therefore rstcheck is more like an error accumulation tool. The same goes for the source
15 code in supported code blocks.
16
17 .. note::
18
19 **Windows support is not stable!**
20
21 Reason: Tests are failing with wrong positives and wrong negatives out of unknown reasons.
22 See issue :issue:`107`.
23
24
25 Known issues
26 ------------
27
28 ImportError: cannot import name 'get_terminal_size' from 'click.termui'
29 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
30
31 **Affected rstcheck version(s): All 6.0 releases**
32
33 This issue is caused by an incompatibility of the dependency ``typer`` in version ``0.4.0`` and its
34 subdependency ``click`` with version ``>=8.1.0``.
35 The issue was fixed in ``typer`` version ``0.4.1``.
36
37 If you encounter this issue you can either:
38
39 - update ``rstcheck`` to a non affected version.
40 - manually limit ``click``'s upper version-bound to ``<8.1`` if you need to rely on ``typer``
41 ``<0.4.1``.
42 - manually limit ``typer``'s lower version-bound to ``>=0.4.1``.
43 - manually limit ``typer``'s upper version-bound to ``<0.4`` which results in ``typer`` version
44 ``0.3.2`` and ``click`` version ``<7.2``.
45
46 See :issue:`138` for reference.
47
48 .. _same section for rstcheck-core: https://rstcheck-core.readthedocs.io/en/latest/faq/