mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
[#2503] Workaround to fix alpine 3.16 packaging by fetching sphinx from pip
This commit is contained in:
@@ -1825,6 +1825,8 @@ def prepare_system_local(features, check_times):
|
|||||||
packages.extend(['py-sphinx', 'py-sphinx_rtd_theme'])
|
packages.extend(['py-sphinx', 'py-sphinx_rtd_theme'])
|
||||||
elif revision == '3.11':
|
elif revision == '3.11':
|
||||||
packages.extend(['py3-sphinx'])
|
packages.extend(['py3-sphinx'])
|
||||||
|
elif revision == '3.16':
|
||||||
|
packages.extend(['py3-pip'])
|
||||||
else:
|
else:
|
||||||
packages.extend(['py3-sphinx', 'py3-sphinx_rtd_theme'])
|
packages.extend(['py3-sphinx', 'py3-sphinx_rtd_theme'])
|
||||||
|
|
||||||
@@ -1860,6 +1862,10 @@ def prepare_system_local(features, check_times):
|
|||||||
|
|
||||||
install_pkgs(packages, env=env, timeout=6 * 60, check_times=check_times)
|
install_pkgs(packages, env=env, timeout=6 * 60, check_times=check_times)
|
||||||
|
|
||||||
|
# work around outdated sphinx packages on alpine 3.16
|
||||||
|
if 'docs' in features and revision == '3.16':
|
||||||
|
execute('sudo pip3 install -U sphinx sphinx_rtd_theme')
|
||||||
|
|
||||||
# check for existence of 'vagrant' user and 'abuild' group before adding him to the group
|
# check for existence of 'vagrant' user and 'abuild' group before adding him to the group
|
||||||
try:
|
try:
|
||||||
pwd.getpwnam('vagrant')
|
pwd.getpwnam('vagrant')
|
||||||
|
Reference in New Issue
Block a user