Skip to content
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

some care for magma interface #25306

Closed
fchapoton opened this issue May 8, 2018 · 18 comments
Closed

some care for magma interface #25306

fchapoton opened this issue May 8, 2018 · 18 comments

Comments

@fchapoton
Copy link
Contributor

because parts of it are broken for magma V2.22

and also enhance its treatment of matrices.

CC: @loefflerd

Component: interfaces

Keywords: magma

Author: Frédéric Chapoton

Branch/Commit: ba69135

Reviewer: David Loeffler

Issue created by migration from https://trac.sagemath.org/ticket/25306

@fchapoton fchapoton added this to the sage-8.3 milestone May 8, 2018
@fchapoton
Copy link
Contributor Author

Branch: u/chapoton/25306

@fchapoton
Copy link
Contributor Author

New commits:

5e52902trying to fix magma interface, and enhance it for matrices

@fchapoton
Copy link
Contributor Author

Commit: 5e52902

@fchapoton
Copy link
Contributor Author

Changed keywords from none to magma

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented May 20, 2018

comment:5

I tested it against Magma v2.23-8 but many doctests failed. I have opened #25408 for this issue, where there are 12 failures listed; 8 of them still fail with this patch installed.

@loefflerd loefflerd mannequin added s: needs work and removed s: needs review labels May 20, 2018
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 21, 2018

Changed commit from 5e52902 to 950d325

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 21, 2018

Branch pushed to git repo; I updated commit sha1. New commits:

bdf0508Merge branch 'u/chapoton/25306 in 8.3.b2
950d325fix one doctest (change of point found on conic)

@fchapoton
Copy link
Contributor Author

comment:7

Could we agree to use this as a first step ? I would like to have the matrix enhancements at my disposal.

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented May 24, 2018

Changed branch from u/chapoton/25306 to u/davidloeffler/25306

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented May 24, 2018

comment:9

OK, I see your point. The perfect is the enemy of the good, as the saying goes. I pushed a patch which fixes a couple more doctests that were failing (no code changes) -- if you're happy with that then please set the ticket to positive review.


New commits:

9b42b5aFix a couple more failing doctests

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented May 24, 2018

Changed commit from 950d325 to 9b42b5a

@fchapoton
Copy link
Contributor Author

comment:10

thanks. good for me. Note that the Kronecker representation seems to have changed betwen my version of m*gma and yours..

@fchapoton
Copy link
Contributor Author

Reviewer: David Loeffler

@vbraun
Copy link
Member

vbraun commented May 26, 2018

comment:11
sage -t --long src/sage/interfaces/magma.py
**********************************************************************
File "src/sage/interfaces/magma.py", line 2088, in sage.interfaces.magma.MagmaElement.AssignNames
Failed example:
    S.1^2 + S.2
Exception raised:
    Traceback (most recent call last):
      File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 572, in _run
        self.compile_and_execute(example, compiler, test.globs)
      File "/mnt/disk/home/release/Sage/local/lib/python2.7/site-packages/sage/doctest/forker.py", line 982, in compile_and_execute
        exec(compiled, globs)
      File "<doctest sage.interfaces.magma.MagmaElement.AssignNames[0]>", line 1, in <module>
        S.gen(1)**Integer(2) + S.gen(2)
    NameError: name 'S' is not defined
**********************************************************************
1 item had failures:
   1 of   2 in sage.interfaces.magma.MagmaElement.AssignNames
    [84 tests, 1 failure, 0.77 s]

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 26, 2018

Branch pushed to git repo; I updated commit sha1. New commits:

ba69135Trac #25306: missing #optional flag on doctest

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented May 26, 2018

Changed commit from 9b42b5a to ba69135

@loefflerd
Copy link
Mannequin

loefflerd mannequin commented May 26, 2018

comment:13

Oops, I forgot to flag this doctest as #optional-magma.

@vbraun
Copy link
Member

vbraun commented May 28, 2018

Changed branch from u/davidloeffler/25306 to ba69135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants