Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit a8bbf08

Browse files
authored
Fix debian package builds. (#10931)
This was due to dh-virtualenv builds being broken due to Shpinx removing deprecated APIs.
1 parent 707d5e4 commit a8bbf08

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

changelog.d/10931.bugfix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Fix debian builds due to dh-virtualenv no longer being able to build their docs.

docker/Dockerfile-dhvirtualenv

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,9 @@ RUN apt-get update -qq -o Acquire::Languages=none \
4747
&& cd /dh-virtualenv \
4848
&& env DEBIAN_FRONTEND=noninteractive mk-build-deps -ri -t "apt-get -y --no-install-recommends"
4949

50-
# build it
51-
RUN cd /dh-virtualenv && dpkg-buildpackage -us -uc -b
50+
# Build it. Note that building the docs doesn't work due to differences in
51+
# Sphinx APIs across versions/distros.
52+
RUN cd /dh-virtualenv && DEB_BUILD_OPTIONS=nodoc dpkg-buildpackage -us -uc -b
5253

5354
###
5455
### Stage 1

0 commit comments

Comments
 (0)