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

Commit

Permalink
Fix debian package builds. (#10931) (#109)
Browse files Browse the repository at this point in the history
This was due to dh-virtualenv builds being broken due to Shpinx removing
deprecated APIs.

Co-authored-by: Erik Johnston <erik@matrix.org>
  • Loading branch information
babolivier and erikjohnston authored Nov 3, 2021
1 parent 95f29bc commit dd19126
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions changelog.d/10931.bugfix
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix debian builds due to dh-virtualenv no longer being able to build their docs.
5 changes: 3 additions & 2 deletions docker/Dockerfile-dhvirtualenv
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,9 @@ RUN apt-get update -qq -o Acquire::Languages=none \
&& cd /dh-virtualenv \
&& env DEBIAN_FRONTEND=noninteractive mk-build-deps -ri -t "apt-get -y --no-install-recommends"

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

###
### Stage 1
Expand Down

0 comments on commit dd19126

Please sign in to comment.