Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 903257 - =dev-python/pyhamcrest-2.0.4 fails tests (with >=dev-python/numpy-1.24.0)
Summary: =dev-python/pyhamcrest-2.0.4 fails tests (with >=dev-python/numpy-1.24.0)
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-03-27 20:57 UTC by MW
Modified: 2023-10-03 10:15 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,133.92 KB, text/x-log)
2023-03-27 20:57 UTC, MW
Details
Patch for the ebuild, deselecting the offending tests (pyhamcrest-2.0.4.ebuild.patch,812 bytes, patch)
2023-03-27 21:05 UTC, MW
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description MW 2023-03-27 20:57:29 UTC
Created attachment 859139 [details]
build.log

Building =dev-python/pyhamcrest-2.0.4 with USE="test" fails due to expired aliases in NumPy. I have reported the issue upstream: https://github.com/hamcrest/PyHamcrest/issues/228

Until upstream has fixed this, we should probably deselect the offending tests:

> tests/hamcrest_unit_test/number/iscloseto_test.py::IsNumericTest::test_numpy_numeric_type_complex
> tests/hamcrest_unit_test/number/iscloseto_test.py::IsNumericTest::test_numpy_numeric_type_float
> tests/hamcrest_unit_test/number/iscloseto_test.py::IsNumericTest::test_numpy_numeric_type_int
Comment 1 MW 2023-03-27 21:05:05 UTC
Created attachment 859141 [details, diff]
Patch for the ebuild, deselecting the offending tests