Skip to content

Commit

Permalink
docs: do not require aiohttp to build
Browse files Browse the repository at this point in the history
It pulls in 22 (!!!) dependencies and is only needed in CI for a trivial
lint of the HTML docs. This is a big problem for people that simply want
to compile the manpage. Let the tests fail at test time if this
dependency isn't available.

Fixes: 74aab8a
  • Loading branch information
eli-schwartz committed Jan 20, 2025
1 parent 4d4839c commit 73c52dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/meson.build
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
project('Meson documentation', version: '1.0')

yaml_modname = get_option('unsafe_yaml') ? 'yaml' : 'strictyaml'
py = import('python').find_installation('python3', modules: [yaml_modname, 'aiohttp'], required: false)
py = import('python').find_installation('python3', modules: [yaml_modname], required: false)
if not py.found()
error(f'Cannot build documentation without yaml support')
endif
Expand Down

0 comments on commit 73c52dd

Please sign in to comment.