Bug 469392
| Summary: | SciPy Depreciation Warning: NumpyTest | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Matt Fago <fago> | ||||||
| Component: | scipy | Assignee: | Jef Spaleta <jspaleta> | ||||||
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | 9 | CC: | jspaleta | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 0.7.0-0.1.b1.fc10 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2009-02-24 20:59:36 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Matt Fago
2008-10-31 16:10:51 UTC
Yeah this is unfortunate. If you can collect all the necessary changes of from numpy.testing import NumpyTest to from numpy.testing import Tester into a patch that I can apply I'd very much welcome it. I'm not sure I can get to this until Sunday at the earliest if I need to do it on my own. If you can get me a patch I will spin up an f9 update which includes it. -jef I'll see if I can get together a patch. Thanks, Matt Created attachment 322335 [details]
Proposed Patch
I think this is everything. However, I could not figure out how to test this patch using:
import scipy
scipy.test(level=1)
from the non-installed copy I used to create the patch. Is that something that would be easy for you to do?
Thanks,
Matt
Created attachment 323967 [details]
Updated patch
This patch now applies via 'patch -p1' from inside the top-level scipy directory. I was able to run the test suite via:
from scipy import *
test()
This does yield hundreds (?) of additional 'Obsolete' warnings etc, but does seem to remove the warnings that are the subject of this bug report. It seems that scipy has some significant changes coming in the next release to sync up with numpy again.
Does this look OK?
Thanks,
Matt
scipy-0.7.0-0.1.b1.fc9 has been submitted as an update for Fedora 9. http://admin.fedoraproject.org/updates/scipy-0.7.0-0.1.b1.fc9 scipy-0.7.0-0.1.b1.fc10 has been submitted as an update for Fedora 10. http://admin.fedoraproject.org/updates/scipy-0.7.0-0.1.b1.fc10 scipy-0.7.0-0.1.b1.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing-newkey update scipy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2009-0020 scipy-0.7.0-0.1.b1.fc10 has been pushed to the Fedora 10 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update scipy'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F10/FEDORA-2009-0211 As I wrote at http://admin.fedoraproject.org/updates/F9/FEDORA-2009-0020 this does fix the depreciation warnings mentioned here. However, an upstream package is not completely updated for 0.7.0 yet as: >>from scipy.interpolate.fitpack import splev gives the warning: /usr/lib64/python2.5/site-packages/scipy/sparse/linalg/dsolve/linsolve.py:20: DeprecationWarning: scipy.sparse.linalg.dsolve.umfpack will be removed, install scikits.umfpack instead ' install scikits.umfpack instead', DeprecationWarning ) Thanks! I'll bring this up to the SciPy developers. There is a fix in SciPy trunk that evidently resolves the issue in #9, but it did not make it into the beta. So this should be fixed with the release version. I think we can close this? Thanks! Matt If you can point me to the patch to fix it, I can re-roll an test update. -jef I think it was fixed in trunk rev 5214. Not sure about a patch per-se. Thanks, - Matt scipy-0.7.0-0.1.b1.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. scipy-0.7.0-0.1.b1.fc10 has been pushed to the Fedora 10 stable repository. If problems still persist, please make note of it in this bug report. |