New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
upgrade sympy to version 0.7.5 #16624
Comments
Author: Ralf Stephan |
comment:2
No idea what's the matter here:
New commits:
|
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:4
Even with sympy-0.7.4 in a fresh Sage I get
This and the 0.7.5 failure both can be cured for example with
So it seems |
comment:7
The whole thing seems to go in circle. I am wondering if the real problem is that first a function is imported from ext_main
and then you want to import the whole ext_main
I wonder what they mean by pickle hack? Presumably if we add the import in backend.py the import in ctx_mp.py becomes redundant? |
comment:8
I tried this patch but the results are the same:
To be specific, at the moment it's not possible to import anything from sympy. What happens is that at the first attempt the following is raised:
and at any further attempt this one:
|
This comment has been minimized.
This comment has been minimized.
Upstream: Reported upstream. No feedback yet. |
comment:10
Attachment: 0001-Update-the-sympy-package.patch.gz If you include patch to unbundle mpmath (see attached patch) - it will solve your problem. |
Changed upstream from Reported upstream. No feedback yet. to Reported upstream. Developers acknowledge bug. |
comment:12
Replying to @skirpichev:
I am a bit surprised by this assertion. Gentoo and by extension sage-on-gentoo unbundle mpmath (I was the person who introduced unbundling of mpmath from sympy on Gentoo). Yet I can see this bug with sympy 0.7.4.1 and mpmath 0.19. Your patch must do something else apart from unbundling. |
comment:13
It does work for me. Can you reproduce the bug with this patch?
This: Perhaps, it's wrong patch and it just break sympy. Can you post the traceback for failure in this version?
Sure. "Something else" - SPKG.txt changes (e.g. Homepage field, changelog and so on). But the only real change is unbundling mpmath. |
comment:14
Your big patch is unreadable - too big. most of it is the removal of mpmath sources from sympy. This could be achieved in spkg-src by doing a "rm -rf" in the appropriate place. Once that's out of the way we can look at the patch to do the rest and it won't be 2.1MB and we'll be able to see something. |
comment:15
It looks like the only file not being deleted is |
Changed commit from |
Changed branch from u/rws/upgrade_sympy_to_version_0_7_5 to public/sympy075 |
Changed author from Ralf Stephan to Ralf Stephan, Sergey B Kirpichev |
Changed keywords from none to upgrade, mpmath |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Commit: |
comment:17
More can be deleted (mpmath docs). This passes |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:19
Now that's more like it. Please review. |
comment:20
It's upstream patch. Does it harm your patch utility, what's wrong?) I don't see points to modify it, unless you want break this patch just like gentoo one...
remove sympy/mpmath/tests/init.py too |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:22
lgtm |
Reviewer: Volker Braun |
comment:24
When applying patches, please use the code from Otherwise patching will break needlessly if there no patches. |
Changed branch from public/sympy075 to |
It's at https://github.com/sympy/sympy/releases/download/sympy-0.7.5/sympy-0.7.5.tar.gz
For starters the better diophantine solver abilities are needed by #16590
Reported as sympy/sympy#8022
Upstream: Reported upstream. Developers acknowledge bug.
CC: @kiwifb
Component: packages: standard
Keywords: upgrade, mpmath
Author: Ralf Stephan, Sergey B Kirpichev
Branch/Commit:
e6c24d3
Reviewer: Volker Braun
Issue created by migration from https://trac.sagemath.org/ticket/16624
The text was updated successfully, but these errors were encountered: