Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Bug#1052866: python-plaster: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.11 returned exit code 13

9 views
Skip to first unread message

Scott Talbert

unread,
Jan 28, 2024, 8:40:04 PM1/28/24
to
On Sun, 28 Jan 2024, Andreas Tille wrote:

> Hi,
>
> I upgraded python-plaster to latest upstream - but this did not changed
> the test suite error.

I suspect the issue is because dh-python is clobbering the *.egg-info
directories in the tests directory during the 'clean' target.

While this is helpful in a lot of cases, it would be nice if there was a
way to opt out of this behavior.

Scott

Dmitry Shachnev

unread,
Jan 29, 2024, 6:30:04 AM1/29/24
to
Hi,

On Sun, Jan 28, 2024 at 08:27:12PM -0500, Scott Talbert wrote:
> I suspect the issue is because dh-python is clobbering the *.egg-info
> directories in the tests directory during the 'clean' target.
>
> While this is helpful in a lot of cases, it would be nice if there was a way
> to opt out of this behavior.

I have seen a similar problem in https://bugs.debian.org/1052802 and solved
it by disabling dh_auto_clean completely.

I agree, it would be nice if pybuild did not delete .egg-info directories
inside tests, or provided a way to opt out.

--
Dmitry Shachnev
signature.asc

Andreas Tille

unread,
Jan 29, 2024, 6:40:04 AM1/29/24
to
Am Mon, Jan 29, 2024 at 02:29:28PM +0300 schrieb Dmitry Shachnev:
>
> I have seen a similar problem in https://bugs.debian.org/1052802 and solved
> it by disabling dh_auto_clean completely.

I've found another solution by trying hard to keep te .egg-info dirs
(in a tarball inside debian/ dir and rsyncing them back at the place
where expected by the test - nothing I'm proud about but it works).

> I agree, it would be nice if pybuild did not delete .egg-info directories
> inside tests, or provided a way to opt out.

+1

Kind regards

Andreas.

--
http://fam-tille.de
0 new messages