Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898718 - dev-python/stack-data-0.6.2 fails tests (CYTHON3-SYSTEM): ImportError: Building module tests.samples.cython_example failed: [AssertionError: Could not find cython_example.pyx
Summary: dev-python/stack-data-0.6.2 fails tests (CYTHON3-SYSTEM): ImportError: Buildi...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cython3-tracker
  Show dependency tree
 
Reported: 2023-03-02 08:27 UTC by Agostino Sarubbo
Modified: 2023-10-10 06:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,78.56 KB, text/plain)
2023-03-02 08:27 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-03-02 08:27:33 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/stack_data-0.6.2 fails tests (CYTHON3-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(CYTHON3-SYSTEM) in the summary means that the bug was found on a machine that runs dev-python/cython-3 but this bug MAY or MAY NOT BE related to the new version of cython
Comment 1 Agostino Sarubbo gentoo-dev 2023-03-02 08:27:35 UTC
Created attachment 855568 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-03-02 08:27:36 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


        assert os.path.exists(pyxfilename), "Path does not exist: %s" % pyxfilename
        exc        = ImportError("Building module tests.samples.cython_example failed: ['AssertionError: Could not find /var/tmp/portage/dev-python/stack_data-0.6.2/tests/samples/cython_example.pyx\n']")
']
>       assert os.path.exists(filename), "Could not find %s" % os.path.abspath(filename)
E       AssertionError: Could not find /var/tmp/portage/dev-python/stack_data-0.6.2/tests/samples/cython_example.pyx
E       ImportError: Building module tests.samples.cython_example failed: ['AssertionError: Could not find /var/tmp/portage/dev-python/stack_data-0.6.2/tests/samples/cython_example.pyx
FAILED tests/test_formatter.py::test_example - ImportError: Building module t...
exc        = ImportError("Building module tests.samples.cython_example failed: ['AssertionError: Could not find /var/tmp/portage/dev-python/stack_data-0.6.2/tests/samples/cython_example.pyx\n']")
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-10-10 06:51:33 UTC
I think the test fix in

commit 0e3555c60e10dc55e7a2b7b8a5a348b3d1088518
Author: Michał Górny <mgorny@gentoo.org>
Date:   Sat Sep 30 17:33:11 2023 +0200

    dev-python/stack-data: Bump to 0.6.3

    Signed-off-by: Michał Górny <mgorny@gentoo.org>

actually solved this