🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #477

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

#477
From: Nico Della Torre
Date: Sun, 11 Oct 2026 12:40
30 lines
3764 bytes
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
Technical Details
Message-ID: <NN10l-4SOz-3@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
References: <Ng10J-4hRT-1@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!news.servidellagleba.it!bofh.it!news.nic.it!robomod
From: Nico Della Torre <nicoz91@ubuntu.com>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1141903: TA: dh-virtualenv -- wrap and build Python packages using virtualenv
Date: Sun, 11 Oct 2026 14:40:01 +0200
Message-ID: <NN10l-4SOz-3@gated-at.bofh.it>
References: <Ng10J-4hRT-1@gated-at.bofh.it>
X-Original-To: control@bugs.debian.org, 1141903@bugs.debian.org
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 11 12:31:07 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.651
Reply-To: Nico Della Torre <nicoz91@ubuntu.com>, 1141903@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: wnpp@debian.org
X-Debian-Pr-Message: followup 1141903
X-Debian-Pr-Package: wnpp
X-Forwarded-Encrypted: i=1; AKwUvBwu1HxaEJnqGanL1N2RcQfT5Lw4gCVNXt7mr90rbDO3YzaQHehxiYvbXdSme6UY3kQNFaQ1BsIm@bugs.debian.org
X-Gm-Message-State: AFq9FYI3TVLQPbYrBDpL/53F56frA7+AvUii2mm0wnJrWHvLrjJ3tAuT
	79u2L1ApuG1SY4glhJ8xbapcWyie3f3u/ZGxMkGk/zpeCB2k0GSjKBvJ
X-Gm-Gg: AYBFou2sQAKit01/3PbB/twk0h5jGOQTr82loBjS4qTAdgRkSb1a1u3jhsspoTXwqjx
	a29Y2L2lslW2HW9mGlV5teYtMEIJpxYKUDubrnL0kPHfBsY89qEBiGcQKvQKMeFjKB2dLqA55+d
	PIEEnU8Zw3a6ddbY5JsfMttbnHq7sw0UjQswzF2/hmkzBcCFr72IvZjpUgwdjRgt0V/VqqmqCex
	c0NJa0DvNsbxjhjTYbYs586/795aczsjGX03qv3zyjOD2aaxklJpyqR2szjb7ZySVciWA7cTRo5
	/THtZxteq+lX9tJqFYpAGye8X7J6DqDd/X5RUsZLkkNEiGZrdBFJleDHdgLBQ17GjrMBowVbSPr
	vhCrUHjAvNVwIRhqBsiWGqLcnJj6eI/DKpu61pGYbuM/yMtxr38yIjEZj3p21+s8cz+hI4FJAOc
	p/d98e1vJLbhmnIi5EdUuAC+vtgdb7ETrd0t3JGGwGoweWZckNQlYkFW9r49PZyA4KZdHgYg==
X-Received: by 2002:a05:600c:19ca:b0:49d:10d6:fd55 with SMTP id 5b1f17b1804b1-4a18e4487b5mr129130075e9.1.1791721746422;
        Sun, 11 Oct 2026 05:29:06 -0700 (PDT)
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Content-Language: en-US, it-IT
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996226
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 30
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 11 Oct 2026 14:33:16 +0200
X-Original-Message-ID: <c33e147f-8a97-43f7-80bc-c5724c70f50a@ubuntu.com>
X-Original-References: <alN_9IdQnJXt4x6u@isildor2.loewenhoehle.ip>