Description of problem: Fedora now only has python2 version of mpmath. Lack of python 3 version of mpmath is holding sympy back (#982759), which in turn makes ipython3 less useful than it could be. Please consider packaging mpmath also for python 3.3 Last released mpmath-0.17 supports python 3.2, but fails one test related to hashing in python 3.3. Updated upstream in https://github.com/fredrik-johansson/mpmath seems to work fine with python 3.3. The tests pass, modulo one trivial bug which I've now sent a pull request to fix (https://github.com/fredrik-johansson/mpmath/pull/5). All in all, it seems that there shouldn't be trouble with mpmath under Python 3.
Feel free to apply for comaintainership to fix the problem.
(In reply to Susi Lehtola from comment #1) > Feel free to apply for comaintainership to fix the problem. With pleasure. I've joing the packagers group, and I'm formally requesting comaintainership. My fedora pkgdb uid is 'zbyszek'. I'll post the spec patch here for review...
Created attachment 783515 [details] simplify spec file a bit in preparation for subsequent changes
Created attachment 783516 [details] add mpmath-python3 and make new release
Patches should be prefixed with the package name, i.e. 0001-fix-py3.2-hash-tests.patch -> mpmath-py3-hashtest.patch ** The patches don't really seem to be conforming to http://fedoraproject.org/wiki/Packaging:Python
Also, python3 support needs to be conditionalized, since I want to use the same spec in the epel branches as well.
Created attachment 783940 [details] simplify spec file a bit in preparation for subsequent changes
Created attachment 783951 [details] add mpmath-python3 and make new release
I think you still need to follow http://fedoraproject.org/wiki/Packaging:Python#Building_more_than_once because the build phase is now run only with python2. Also, please be sure when you send diffs that the reference spec is the current one, and not one you've already toyed with. E.g. attachments #783515 and #783940 are pretty much meaningless.
(In reply to Susi Lehtola from comment #9) > I think you still need to follow > http://fedoraproject.org/wiki/Packaging:Python#Building_more_than_once > because the build phase is now run only with python2. All the build phase does, is copy sources to a subdir. And the sources are python2/python3 compatible, and this build directory works fine for both python2 and python3 installation. > Also, please be sure when you send diffs that the reference spec is the > current one, and not one you've already toyed with. E.g. attachments #783515 > and #783940 are pretty much meaningless. Updated. v2 (attached above): - patch is prefixed with package name - BuildRequires:python-devel is back - replaced BuildRequires:python3 with python3-devel - python3 is conditionalized v3 (attached below): - rebase onto latest master All unit tests pass under python 2 and 3. The doctests under python3 have some failures, but it appears that those are just formatting issues (floating-point precision and having the full exception name in tracebacks, and print statements somewhere in the docstrings). I think all Packaging:Python guidelines are now met. Thank you for the acls, I'll give them a bit of more local testing, and push. scratch builds: rawhide: http://koji.fedoraproject.org/koji/taskinfo?taskID=5790206 f19: http://koji.fedoraproject.org/koji/taskinfo?taskID=5790201 f18: http://koji.fedoraproject.org/koji/taskinfo?taskID=5790207
OK, then the update is pretty much good to go on my behalf.
python-mpmath-0.17-8.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/python-mpmath-0.17-8.fc19
Package python-mpmath-0.17-8.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing python-mpmath-0.17-8.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-16008/python-mpmath-0.17-8.fc19 then log in and leave karma (feedback).
python-mpmath-0.17-8.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.