Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1838435
Summary: | python-pydicom fails to build with numpy 1.19: TypeError: data type 'uint15' not understood | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
Component: | python-pydicom | Assignee: | Alessio <alciregi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 33 | CC: | alciregi, cstratak, igor.raits, mhroncok, neuro-sig, sanjay.ankur |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-24 22:40:26 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1803234 |
Description
Miro Hrončok
2020-05-21 07:11:57 UTC
numpy 1.19 was temporarily reverted, but I'm keeping this open for future reference Reported upstream. Is the report correct? https://github.com/pydicom/pydicom/issues/1119 I added this conditional in the spec file: %if "%{python3_version}" == "3.9" %{__python3} -m pytest -k "not test_color_3d and not test_handler_util" %else %{__python3} -m pytest -k "not test_color_3d" %endif Is it ok? > Reported upstream. Is the report correct? The report says "test_handler_util fails with Python 3.9", while it should really say "test_handler_util fails with numpy 1.19" > Is it ok? Technically, the problem is numpy related, not python version related. So you might as well change it to %if 0%{?fedora} > 32. But what you did will do (and hopefully the issue will be fixed before Python 3.10). +1 Could you also attach the build.log and root.log files from the failed build to the upstream issue. That way upstream knows exactly what versions of packages the error was observed with. If you're working on this Alessio, should we assign it to you? :) (In reply to Ankur Sinha (FranciscoD) from comment #4) > +1 > > Could you also attach the build.log and root.log files from the failed build > to the upstream issue. That way upstream knows exactly what versions of > packages the error was observed with. Will do. > > If you're working on this Alessio, should we assign it to you? :) If you like. Btw I will ping you for each doubt :-) Sure, always happy to help! If you're unsure, feel free to use PRs so we can go over the changes before pushing to the actual SCM. This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33. |