#1141903 O: dh-virtualenv -- wrap and build Python packages using virtualenv

#1141903#5
Date:
2026-07-12 11:52:20 UTC
From:
To:
The current maintainer of dh-virtualenv, Jyrki Pulliainen <jyrki@dywypi.org>,
is apparently not active anymore.  Therefore, I orphan this package now.

Maintaining a package requires time and skills. Please only adopt this
package if you will have enough time and attention to work on it.

If you want to be the new maintainer, please see
https://www.debian.org/devel/wnpp/#howto-o for detailed
instructions how to adopt a package properly.

Some information about this package:

Package: dh-virtualenv
Binary: dh-virtualenv
Version: 1.2.2-1.8
Maintainer: Jyrki Pulliainen <jyrki@dywypi.org>
Build-Depends: debhelper-compat (= 12), python3, python3-docutils, python3-setuptools, dh-exec, dh-python, libjs-jquery, libjs-underscore
Architecture: all
Standards-Version: 4.5.0
Format: 3.0 (quilt)
Files:
 6cec91fbf112c26aa53616a628d99859 1905 dh-virtualenv_1.2.2-1.8.dsc
 bf7f2386edb4173f35e6b9359b74258d 63109 dh-virtualenv_1.2.2.orig.tar.gz
 b5e66ad5bff6f2ba3165f52b3a92c002 5644 dh-virtualenv_1.2.2-1.8.debian.tar.xz
Checksums-Sha256:
 dcf0ff9454e60ee77ab0085ab42eaaf4282ed67e2cd5c7e9b52bdd195bc6390e 1905 dh-virtualenv_1.2.2-1.8.dsc
 204870b7b8b2920bef08bb1f5fc3a5a09e9f60f560d2f0223f24588a4a630701 63109 dh-virtualenv_1.2.2.orig.tar.gz
 10352e641a2982f42a4ba7e136311e39a07ade2fa452c426dff59b73b578b6bd 5644 dh-virtualenv_1.2.2-1.8.debian.tar.xz
Homepage: https://www.github.com/spotify/dh-virtualenv
Package-List:
 dh-virtualenv deb python optional arch=all
Directory: pool/main/d/dh-virtualenv
Priority: optional
Section: misc

Package: dh-virtualenv
Version: 1.2.2-1.8
Installed-Size: 82
Maintainer: Jyrki Pulliainen <jyrki@dywypi.org>
Architecture: all
Depends: python3:any, perl:any, virtualenv | python3-virtualenv (>= 1.7) | python3-venv
Description-en: wrap and build Python packages using virtualenv
 This package provides a dh sequencer that helps you to deploy your
 virtualenv wrapped installation inside a Debian package.
Description-md5: 9ec7769b2ec530672dd5ddff9774e2d5
Homepage: https://www.github.com/spotify/dh-virtualenv
Section: python
Priority: optional
Filename: pool/main/d/dh-virtualenv/dh-virtualenv_1.2.2-1.8_all.deb
Size: 19004
MD5sum: 99ff0cab6be734d5e63b8182142597d8
SHA256: 867be9d43e768f6598716ecbcd8aa4183ec27e68eb1977e24ecf1c770e474ef7

#1141903#12
Date:
2026-10-11 12:33:16 UTC
From:
To:
retitle 1141903 ITA: dh-virtualenv -- wrap and build Python packages
using virtualenv
owner 1141903 !
thanks

Hi,

I intend to adopt dh-virtualenv and maintain it within the Debian Python
Team, with myself as Uploader.

I have prepared an update that, besides the adoption, fixes several
issues with current tools:

  - the test suite is ported from nose (no longer in Debian) to pytest and
    runs at build time again;
  - `dh --with python-virtualenv` failed with debhelper compat >= 12,
    because dh_auto_configure was not removed from the sequence;
  - the dh_virtualenv buildsystem failed with virtualenv >= 20
    (--no-site-packages, and pip ending up outside the venv because the
    venv's python symlink was resolved);
  - --setuptools-test now fails with a clear message when setuptools >= 72
    no longer provides `setup.py test`.

Upstream (spotify/dh-virtualenv) has been inactive since 2020, so I plan to
forward the patches there but carry them in Debian.

Thanks,

Nico

#1141903#21
Date:
2026-10-11 16:19:17 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
dh-virtualenv, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1141903@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Nico Della Torre <nicoz91@ubuntu.com> (supplier of updated dh-virtualenv package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 11 Oct 2026 15:40:31 +0200
Source: dh-virtualenv
Architecture: source
Version: 1.2.2-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Nico Della Torre <nicoz91@ubuntu.com>
Closes: 1141903
Changes:
 dh-virtualenv (1.2.2-3) unstable; urgency=medium
 .
   * Adopt package for the Debian Python Team (Closes: #1141903)
     - Set Maintainer to the Debian Python Team, add myself to Uploaders.
     - Point Vcs-* to salsa python-team/packages.
   * New patches:
     - 0006: port the test suite from nose to pytest. nose does not import
       on Python >= 3.12 and is gone from Debian.
     - 0007: also detect an activated venv (sys.base_prefix, $VIRTUAL_ENV),
       not only virtualenv < 20.
     - 0008: deprecate --setuptools-test and stop with a clear error when the
       virtualenv's setuptools (>= 72) no longer provides `setup.py test`.
     - 0009: buildsystem: drop --no-site-packages (removed in virtualenv 20),
       skip the `setup.py test` step when unavailable, add the missing "/"
       so shebangs are fixed when DH_VIRTUALENV_INSTALL_SUFFIX is set.
     - 0010: also remove dh_auto_configure from the python-virtualenv
       sequence, which failed with debhelper compat >= 12.
     - 0011: buildsystem: do not resolve symlinks when locating the venv's
       python, so pip runs inside the virtualenv with virtualenv >= 20.
     - 0012: apply DH_VERBOSE=1 once in the option parser instead of in
       both bin/dh_virtualenv and Deployment.from_options.
     - 0013: handle deprecated options through a table and one callback per
       option group.
     - 0014: skip binary packages whose Architecture does not match the
       host architecture, like debhelper.
     - 0015: drop the dead compile_all/rtupdate code inherited from
       dh_python2.
     - 0016: run the shebang-fixing sed only once instead of also starting
       a second, never awaited copy that raced with it.
   * d/control: Build-Depend on python3-pytest <!nocheck>.
   * d/rules: run the test suite with pytest.
Checksums-Sha1:
 92266a444d41b9652a3f60304ca3cab6af828e18 2109 dh-virtualenv_1.2.2-3.dsc
 ae543cc2000e4926d20ced68bf83ad887ab9d336 19304 dh-virtualenv_1.2.2-3.debian.tar.xz
 bcb7c1f6268eb65369528052983011ae3af768d5 7002 dh-virtualenv_1.2.2-3_source.buildinfo
Checksums-Sha256:
 2ffaa4fbeaff7ab0daee7dd1c263d2d727ac65532d6fb53a692bfccb2feeea83 2109 dh-virtualenv_1.2.2-3.dsc
 f59527f2d8e672ba24ee0acbc6e2d7a849ad5d8542244f4439b79c4b65c8ce6f 19304 dh-virtualenv_1.2.2-3.debian.tar.xz
 891cc0415bb51067e2f110c46845c97617d68ebcad4851565ad780fc9007857d 7002 dh-virtualenv_1.2.2-3_source.buildinfo
Files:
 55b8024cf9c66df12c8db4b204cb7c8f 2109 python optional dh-virtualenv_1.2.2-3.dsc
 d69a0bf7725ffcb229ef34d3601be7ea 19304 python optional dh-virtualenv_1.2.2-3.debian.tar.xz
 837e197e5edbc0a9f15faad6cccd1dde 7002 python optional dh-virtualenv_1.2.2-3_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEj23hBDd/OxHnQXSHMfMURUShdBoFAmrLsm0ACgkQMfMURUSh
dBqpWRAAkwl4O9lgoRNx7K3pTonCIyOhdOTV53iXZwmITf+gvxt9t9o22t0B/h7F
ISrzd3iYoeDWNzqgXev4JccIZ26lPfteLSJ8p+zKx9Ksm32/fF/AeQWXv/00LCwU
amiMHKoTXw/+o6t+msSwo7FboN3vMhcHU6cAaWUw1dQ7ZdCB8MFLjpO5BSF2ctXc
iJsyJnVd1GAkS4PyOwt65iwVtZOtW8br1UoMW3gwqkgbxm3F86ge14Ixp8QRI7Oq
zkLKYqoY/iyT7XRKYOX5NrobDxs3rfkKIGL+ChLTSoGZL15bdtDIfiOWFZeZDEcp
59vzrOkhJo5TA9uThV3/LGxNXpCtvZ+RcBC9biwhxA10xc5Royo2XDuMGxXyxhyf
U03wrFiyBvz3BxmT1P0/dr3h/FOEC708saslSuvUeSmHfuuXyZ8kGWEhTzXcrYN+
o4DnZQgrVVSml+ZimU1WS/EsH8vsZjjnarPmPItbQexYiubf9et9r3DkCiZH5sXp
s5ucSK1TmY4k8XXdb44kzXRm20eoWOpYiz2EOvSZa7F6dwzFA2UYBmlJqX8uownU
yPUsB21S0XRlFmWxvbVr7np9XofTYNl6/fce1zdGRA6qRZoI53sqJj65HfiWI3OX
RWI5j1fYFU4VEn3reTDlkJFq8MwVfduzr/d8XcX++8vXnVqJmok=
=KijB
-----END PGP SIGNATURE-----