Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854462 - dev-python/nptyping-2.3.1 fails tests
Summary: dev-python/nptyping-2.3.1 fails tests
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL: https://github.com/python/mypy/issues...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: 837098
  Show dependency tree
 
Reported: 2022-06-26 17:03 UTC by Agostino Sarubbo
Modified: 2022-09-27 02:03 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,85.71 KB, text/plain)
2022-06-26 17:03 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 2022-06-26 17:03:11 UTC
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)
Comment 1 Agostino Sarubbo gentoo-dev 2022-06-26 17:03:13 UTC
Created attachment 787796 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-06-26 17:03:14 UTC
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]
Comment 3 Agostino Sarubbo gentoo-dev 2022-09-09 07:40:30 UTC
lto_tinderbox has reproduced this issue with version 2.3.1 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2022-09-27 02:03:59 UTC
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(+)