https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: dev-python/nptyping-2.2.0 fails tests. Discovered on: amd64 (internal ref: ci)
Created attachment 787796 [details] build.log build log and emerge --info
Error(s) that match a know pattern: ' E AssertionError: 0 != 1 : nptyping/structure.pyi:37: error: Cannot inherit from final class "dtype" [misc] E AssertionError: 'Found 1 error in 1 file' not found in 'nptyping/structure.pyi:37: error: Cannot inherit from final class "dtype" [misc] FAILED tests/test_mypy.py::MyPyTest::test_mypy_accepts_ndarrays_as_function_arguments FAILED tests/test_mypy.py::MyPyTest::test_mypy_accepts_ndarrays_as_variable_hints FAILED tests/test_mypy.py::MyPyTest::test_mypy_accepts_ndarray_with_any - Ass... FAILED tests/test_mypy.py::MyPyTest::test_mypy_accepts_ndarray_with_shape - A... FAILED tests/test_mypy.py::MyPyTest::test_mypy_accepts_ndarray_with_structure FAILED tests/test_mypy.py::MyPyTest::test_mypy_accepts_nptyping_types - Asser... FAILED tests/test_mypy.py::MyPyTest::test_mypy_accepts_numpy_types - Assertio... FAILED tests/test_mypy.py::MyPyTest::test_mypy_accepts_recarray_with_structure FAILED tests/test_mypy.py::MyPyTest::test_mypy_disapproves_ndarray_with_wrong_function_arguments FAILED tests/test_mypy.py::MyPyTest::test_mypy_knows_of_ndarray_methods - Ass... Found 2 errors in 2 files (checked 1 source file) nptyping/structure.pyi:37: note: Error code "misc" not covered by "type: ignore" comment /var/tmp/portage/dev-python/nptyping-2.2.0/temp/tmpeo85z7f5/test_file.py:10: error: Argument 1 to "func" has incompatible type "str"; expected "ndarray[Any, Any]" [arg-type] E AssertionError: 0 != 1 : nptyping/structure.pyi:37: error: Cannot inherit from final class "dtype" [misc]
lto_tinderbox has reproduced this issue with version 2.3.1 - Updating summary.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da5279e4c7e418a436490b45e89878db1699613a commit da5279e4c7e418a436490b45e89878db1699613a Author: Matoro Mahri <matoro@users.noreply.github.com> AuthorDate: 2022-09-26 22:38:03 +0000 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2022-09-27 02:03:47 +0000 dev-python/mypy: add 0.981 Closes: https://bugs.gentoo.org/854462 Signed-off-by: Matoro Mahri <matoro@users.noreply.github.com> Closes: https://github.com/gentoo/gentoo/pull/27485 Signed-off-by: Michał Górny <mgorny@gentoo.org> dev-python/mypy/Manifest | 1 + dev-python/mypy/mypy-0.981.ebuild | 63 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+)