Bug 620008
| Summary: | sympy needs to be rebuilt against python 2.7 in F14 and devel | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dave Malcolm <dmalcolm> |
| Component: | sympy | Assignee: | Conrad Meyer <cse.cem+redhatbugz> |
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 14 | CC: | cse.cem+redhatbugz |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | sympy-0.6.7-4.fc14 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-08-01 19:26:57 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 619913 | ||
|
Description
Dave Malcolm
2010-07-31 10:33:01 UTC
Line in question is:
v = sys.version_info
python_version = "%s.%s.%s-%s-%s" % v
On python2.7:
>>> import sys
>>> v = sys.version_info
>>> print v
sys.version_info(major=2, minor=7, micro=0, releaselevel='final', serial=0)
>>> python_version = "%s.%s.%s-%s-%s" % v
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: not enough arguments for format string
>>> python_version = "%s.%s.%s-%s-%s" % tuple(v)
>>> print python_version
2.7.0-final-0
I've added a simple patch for this to git.
Building into dist-f15:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2368639
Building into dist-f14:
http://koji.fedoraproject.org/koji/taskinfo?taskID=2368648
Looks like upstream have a slightly different patch for this: http://github.com/sympy/sympy/commit/717516b8ffae806cdfdea8141ceb839107d92431 Build succeeded, although there was a unexpected failure in selftests: sympy/core/tests/test_sets.py:test_interval_evalf http://koji.fedoraproject.org/koji/getfile?taskID=2368653&name=build.log sympy-0.6.7-4.fc14 has been submitted as an update for Fedora 14. http://admin.fedoraproject.org/updates/sympy-0.6.7-4.fc14 sympy-0.6.7-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report. |