Bug 870640
| Summary: | python-basemap too old and test failures | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Paulo Andrade <paulo.cesar.pereira.de.andrade> |
| Component: | python-basemap | Assignee: | Jef Spaleta <jspaleta> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | rawhide | CC: | gwync, jspaleta |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-16 01:04:27 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: | |||
python-basemap-data-1.0.6-1.fc18,python-basemap-1.0.6-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/python-basemap-data-1.0.6-1.fc18,python-basemap-1.0.6-1.fc18 Package python-basemap-data-1.0.6-1.fc18, python-basemap-1.0.6-1.fc18: * should fix your issue, * was pushed to the Fedora 18 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-basemap-data-1.0.6-1.fc18 python-basemap-1.0.6-1.fc18' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-2082/python-basemap-data-1.0.6-1.fc18,python-basemap-1.0.6-1.fc18 then log in and leave karma (feedback). python-basemap-data-1.0.6-1.fc18, python-basemap-1.0.6-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report. |
python-basemap also appears to be outdated, fedora ships 0.99.4 released in 2009-08-06, while latest version is 1.0.5 released in 2012-08-06 Current python-basemap does not build cleanly in fedora rawhide, build ends with: ERROR 0001: file '/usr/lib64/python2.7/site-packages/_geoslib.so' contains a standard rpath '/usr/lib' in [/usr/lib] There is also no %check section, a quick test shows several issues with something like: $ python -m doctest lib/dap/xdr.py in the build directory. I found the problem because sagemath, apparently due to the way I make symbolic links to make it work with system packages, thought it should test: $ realpath /usr/share/sagemath/devel/sage/dap/xdr.py /usr/lib64/python2.7/site-packages/dap/xdr.py First error is: File "/usr/share/sagemath/devel/sage/dap/xdr.py", iled example: xdrdata = DapPacker(dapvar) Exception raised: Traceback (most recent call last): File "/usr/share/sagemath/local/bin/ncadoctest.py", line 1231, in run_one_test self.run_one_example(test, example, filename, compileflags) File "/usr/share/sagemath/local/bin/sagedoctest.py", line 38, in run_one_example OrigDocTestRunner.run_one_example(self, test, example, filename, compileflags) File "/usr/share/sagemath/local/bin/ncadoctest.py", line 1172, in run_one_example compileflags, 1) in test.globs File "<doctest __main__.example_1[4]>", line 1, in <module> xdrdata = DapPacker(dapvar) NameError: name 'DapPacker' is not defined That could be "hacked" with a pseudo patch like: --- /usr/lib64/python2.7/site-packages/dap/xdr.py +++ /usr/lib64/python2.7/site-packages/dap/xdr.py @@ -46,1 +46,2 @@ >>> from dap.dtypes import * + >>> from dap.xdr import * but that should be a feature of how sagemath makes doctests, as it works with plain python -m doctest when testing xdr.py, but I cannot find the SimpleHandler, as in the first failure with: $ python -m doctest lib/dap/xdr.py ********************************************************************** File "lib/dap/xdr.py", line 191, in xdr.DapUnpacker Failed example: from dap.server import SimpleHandler Exception raised: Traceback (most recent call last): File "/usr/lib64/python2.7/doctest.py", line 1289, in __run compileflags, 1) in test.globs File "<doctest xdr.DapUnpacker[3]>", line 1, in <module> from dap.server import SimpleHandler ImportError: No module named server