1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

Fix import issues with qrcode in sphinx 7.2 (#552)

* 7.2 introduces the issue

* mock module qrcode for documentation build

This prevents issues with sphinx 7.2
This commit is contained in:
Patrick Kanzler
2023-08-24 23:02:33 +02:00
committed by GitHub
parent 3177c8d411
commit c11d192e65
3 changed files with 7 additions and 1 deletions

View File

@@ -30,11 +30,12 @@ setenv = PY_IGNORE_IMPORTMISMATCH=1
[testenv:docs]
basepython = python
changedir = doc
deps = sphinx>=3.0.0
deps = sphinx>=7.2.3
setuptools_scm
python-barcode
sphinxcontrib-spelling>=7.2.0
sphinxcontrib.datatemplates
sphinx-autodoc-typehints
sphinx_rtd_theme
pycups
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html