GNU bug report logs - #75082
[PATCH] gnu: Add python-terminaltexteffects.

Previous Next

Package: guix-patches;

Reported by: Andrew Wong <wongandj <at> icloud.com>

Date: Wed, 25 Dec 2024 08:27:02 UTC

Severity: normal

Tags: patch

Done: Sharlatan Hellseher <sharlatanus <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andrew Wong <wongandj <at> icloud.com>
To: Sharlatan Hellseher <sharlatanus <at> gmail.com>
Cc: 75082 <at> debbugs.gnu.org
Subject: [bug#75082] [PATCH] gnu: Add python-terminaltexteffects.
Date: Thu, 13 Feb 2025 00:52:49 -0500
> The project provides tests 
https://github.com/ChrisBuilds/terminaltexteffects/tree/0.9.3/tests
> You might need to add python-pytest into native inputs to make
> them work.
I tried adding python-pytest and enabling tests, but I get the following 
error:
--8<---------------cut here---------------start------------->8---
starting phase `check'
Using pytest
============================= test session starts 
==============================
platform linux -- Python 3.10.7, pytest-8.3.3, pluggy-1.5.0 -- 
/gnu/store/jjzbav1s0x8lqg1aal13irspwwblwdf4-python-wrapper-3.10.7/bin/python
cachedir: .pytest_cache
hypothesis profile 'default' -> 
database=DirectoryBasedExampleDatabase('/tmp/guix-build-python-terminaltexteffects-0.11.0.drv-0/terminaltexteffects-0.11.0/.hypothesis/examples')
rootdir: 
/tmp/guix-build-python-terminaltexteffects-0.11.0.drv-0/terminaltexteffects-0.11.0
configfile: pyproject.toml
plugins: hypothesis-6.54.5
collecting ... collected 0 items

============================ no tests ran in 0.26s 
=============================
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: 
"/gnu/store/92spfniihzr0d822qzvdfxczyacb3c5b-python-pytest-8.3.3/bin/pytest" 
arguments: ("-vv") exit-status: 5 term-signal: #f stop-signal: #f>
phase `check' failed after 0.4 seconds
command 
"/gnu/store/92spfniihzr0d822qzvdfxczyacb3c5b-python-pytest-8.3.3/bin/pytest" 
"-vv" failed with status 5
build process 18 exited with status 256
note: keeping build directory 
`/tmp/guix-build-python-terminaltexteffects-0.11.0.drv-0'
builder for 
`/gnu/store/qxln3k3razxvz0w8qgcl00c0v25xav92-python-terminaltexteffects-0.11.0.drv' 
failed with exit code 1
build of 
/gnu/store/qxln3k3razxvz0w8qgcl00c0v25xav92-python-terminaltexteffects-0.11.0.drv 
failed
View build log at 
'/var/log/guix/drvs/qx/ln3k3razxvz0w8qgcl00c0v25xav92-python-terminaltexteffects-0.11.0.drv.gz'.
guix build: error: build of 
`/gnu/store/qxln3k3razxvz0w8qgcl00c0v25xav92-python-terminaltexteffects-0.11.0.drv' 
failed
--8<---------------cut here---------------end--------------->8---
I tried poking around with guix build --keep-failed and found no trace 
of the
tests/ dir from the upstream repo, or any of the test_*.py files that were
inside and that the pytest docs[1] say are needed for tests to be found 
and run.
Is the upstream just configured wrong? Apologies if it's a trivial 
problem, I am
not a python developer.




This bug report was last modified 100 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.