Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 933655 - dev-python/scikit-build-0.17.6 fails install with USE=test
Summary: dev-python/scikit-build-0.17.6 fails install with USE=test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-06 04:44 UTC by Marco Sirabella
Modified: 2024-06-14 15:07 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,114.87 KB, text/x-log)
2024-06-06 04:44 UTC, Marco Sirabella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Sirabella 2024-06-06 04:44:02 UTC
Created attachment 895203 [details]
build.log

* Working directory: '/var/tmp/portage/dev-python/scikit-build-0.17.6/work/scikit_build-0.17.6'
 * S: '/var/tmp/portage/dev-python/scikit-build-0.17.6/work/scikit_build-0.17.6'
 * The following unexpected files/directories were found top-level
 * in the site-packages directory:
 * 
 *   /usr/lib/python3.10/site-packages/hello.egg-link
Comment 1 Petr Vaněk gentoo-dev 2024-06-14 09:29:36 UTC
Following failures were fixed in commit https://github.com/scikit-build/scikit-build/commit/4dab4576d7a480da7484cfc5c249c86f7d3ecde3

FAILED tests/test_hello_cython.py::test_hello_cython_sdist - FileNotFoundError: [Errno 2] No such file or directory: 'dist/hello-cython-1.2.3.tar.gz'
FAILED tests/test_hello_fortran.py::test_hello_fortran_sdist - FileNotFoundError: [Errno 2] No such file or directory: 'dist/hello-fortran-1.2.3.tar.gz'
FAILED tests/test_hello_pure.py::test_hello_pure_sdist - FileNotFoundError: [Errno 2] No such file or directory: 'dist/hello-pure-1.2.3.tar.gz'

The FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/scikit-build-0.17.6/temp/pytest-of-portage/pytest-22' errors are still present in current master.
Comment 2 Larry the Git Cow gentoo-dev 2024-06-14 11:42:46 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9322c84dff5c2d3f32fedb7631db28accdc336bd

commit 9322c84dff5c2d3f32fedb7631db28accdc336bd
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2024-06-14 09:52:47 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2024-06-14 11:38:15 +0000

    dev-python/scikit-build: enable py3.13
    
    The package does not pass tests cleanly, but those issues seems to be
    related only to tests because they pass if I run them individually.
    
    Bug: https://bugs.gentoo.org/933655
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 dev-python/scikit-build/scikit-build-0.17.6.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-06-14 14:43:14 UTC
Thanks for taking a look at it.
Comment 4 Larry the Git Cow gentoo-dev 2024-06-14 15:07:16 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=26f39f2f8320556c2515ac88643e338757d9c9d3

commit 26f39f2f8320556c2515ac88643e338757d9c9d3
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-06-14 14:43:57 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-06-14 15:07:12 +0000

    dev-python/scikit-build: Fix tests
    
    Thanks to arkamar for digging the patch up.
    
    Closes: https://bugs.gentoo.org/933655
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 .../scikit-build-0.17.6-setuptools-69.3.patch      | 164 +++++++++++++++++++++
 dev-python/scikit-build/scikit-build-0.17.6.ebuild |  13 +-
 2 files changed, 175 insertions(+), 2 deletions(-)