#997383 dh-virtualenv: FTBFS: AttributeError: 'Sphinx' object has no attribute 'add_stylesheet'

Package:
src:dh-virtualenv
Source:
dh-virtualenv
Submitter:
Lucas Nussbaum
Date:
2025-08-17 17:49:29 UTC
Severity:
minor
Tags:
#997383#5
Date:
2021-10-23 19:49:56 UTC
From:
To:
Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
The full build log is available from:
http://qa-logs.debian.net/2021/10/23/dh-virtualenv_1.2.2-1.1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.

#997383#10
Date:
2022-03-01 05:57:31 UTC
From:
To:
severity 997383 minor
tags 997383 fixed-upstream
thanks

Hi,

 From what I can tell, the add_stylesheet removal was delayed upstream
and as a result dh-virtualenv no longer FTBFS in sid, so I'm downgrading
the severity to minor.

Fixing the deprecation warning should be as simple as cherry-picking
<https://github.com/spotify/dh-virtualenv/commit/48db465554f3b0ba1fd22d629be0b6b7c964a211>,
which I can do as a NMU if that's wanted.