-
-
Notifications
You must be signed in to change notification settings - Fork 482
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
Remove CombinatorialClass
from sage.combinat.tableau
#9265
Comments
Milestone sage-4.4.5 deleted |
comment:2
There is now a patch on the sage-combinat queue, which can be viewed here: http://combinat.sagemath.org/hgwebdir.cgi/patches/file/tip/trac_9265_tableaux_categories_jb.patch This needs some slight refactoring to apply to a clean 4.6.2, but anyone interested is very welcome to begin reviewing the patch and recording comments here. Thanks! |
comment:3
I'm not setting to 'needs review' since #10603 is a dependency and is not finalized. But other than that, it is ready to review in the current state. Comments welcome! |
This comment has been minimized.
This comment has been minimized.
Author: Jason Bandlow |
comment:4
Updated the patch to reflect the discussion here. |
comment:5
needs a (trivial, hopefully) rebase for Sage 5.2.rc0 |
comment:7
I have rebased Jason's patch so that it apples to 5.2-rc0. I have to rename the patch as trac would not give me permission to delete some one else's patch. I'll look at 5.2 soonish. The patch probably won't apply cleanly as for trivial reasons (white space) it does not commute with the two patches trac_5457-symmetric_functions-mz.patch |
comment:8
Patch rebased so that it now applies cleanly to the top of sage 5.2. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:10
For the patchbot: Apply: trac_9265_tableaux_categories_am.patch |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:15
It looks like the colon after the "Apply" above is confusing the patchbot. So let's try: Apply trac_9265_tableaux_categories_am.patch |
comment:16
Replying to @AndrewAtLarge:
Dear Andrew, I just tried to apply the above patch to a clean version of sage-5.3.beta0 and got a failure applying trac_9265_tableaux_categories_am.patch If you do the same, you can look at sage/combinat/tableau.py.rej to see what the conflict is. Anne |
comment:56
Hi Jeroen, I did this pickle jar update following detailed instructions that Anne Schilling sent me. What I asked for on #13072 was for proper documentation on how to update pickles because I thought that the pickle may not have been applied properly (in fact, everything is fine because I was looking at version 5.3 whereas the updated pickles are in 5.4). As far as I am aware, there is no documentation on how to update the pickle jar, only instructions passed on hand-to-mouth, which IS a problem. For example, this doesn't seem to be covered in the developer guide. Andrew |
comment:57
You are not supposed to update the pickle jar, it is only here to ensure backward compatibility. If at all possible, you should be using the |
comment:58
I have just uploaded the patch* trac_9265--tableaux_categories_pickles-am.patch *which adds unpickle overrides for most of the old classes that are being deprecated. This fixes all but four of the unpickle problems, however, it does not fix unpickling for Tableau_class. I think that because Tableau_class does not unpickle the following four pickles still fail:
I have tried to fix the unpickling of Tableau_class using
but this does not work. My guess is that it is not possible to unpickle the deprecated Tableau_class objects using the new Tableau class objects because the underlying classes are too different. If some one can see how to do this please let me know. |
Changed merged from sage-5.4.beta0 to none |
comment:59
Let's postpone this to sage-5.5 such that the pickling issues can quietly be ironed out. |
This comment has been minimized.
This comment has been minimized.
comment:61
All pickle problems resolved. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Attachment: trac_9265--tableaux_categories_pickles-am.patch.gz Fixing a typo in a comment |
comment:64
Thanks andrew for going the extra mile for backward compatibility! |
comment:65
Hi Anne, Would you mind reviewing the latest update to #9265 so that Jeroen can put in back in the merge queue. It is just a matter of testing that
works. The new patch trac_9265--tableaux_categories_pickles-am.patch is also in the sage-combinat queue and to test it you should use 5.3 as 5.4 has the wrong pickle_jar at present. Cheers, Andrew |
comment:66
Replying to @nthiery:
Well, I didn't have a lot of choice:) It's a pity (but understandable) that Jeroen bumped the patch out of the 5.4 release an hour before I uploaded the fix as I guess this will play havoc with the sage-combinat queue. I am sure sure how we can guard for different versions of 5.4.? in the queue as "old" pre-releases will have the patch but one current ones won't. |
comment:67
Hi Andrew, I ran all tests and looked at the new patch. It looks fine. All tests pass with sage-5.3, except, but this seems unrelated to your patch and more related to a file by Jeroen Demeyer. Hence I am setting a positive review. Thanks! Anne sage -t sage/tests/cmdline.py File "/Applications/sage-5.3/devel/sage-combinat/sage/tests/cmdline.py", line 99: File "/Applications/sage-5.3/devel/sage-combinat/sage/tests/cmdline.py", line 109: File "/Applications/sage-5.3/devel/sage-combinat/sage/tests/cmdline.py", line 119: 1 items had failures: |
comment:69
Replying to @AndrewAtLarge:
Well, once 5.4 will be out, we will just state that we don't support anymore the beta/rc of 5.4. Only a few of us are using them anyway, so that's anoying but not critical. |
comment:70
Thanks Anne |
Merged: sage-5.5.beta0 |
The
CombinatorialClass
class is being deprecated. See Sage Combinat Roadmap for more information. This ticket will handle removing this class from sage.combinat.tableau. See also some discussion of this on this thread.Apply: attachment: trac_9265_tableaux_categories_am.patch
and then
attachment: trac_9265--tableaux_categories_pickles-am.patch
(and don't update the pickle jar!)
Depends on #5457
Component: combinatorics
Keywords: tableaux
Author: Jason Bandlow, Andrew Mathas
Reviewer: Andrew Mathas, Anne Schilling
Merged: sage-5.5.beta0
Issue created by migration from https://trac.sagemath.org/ticket/9265
The text was updated successfully, but these errors were encountered: