Skip to content

sagemath: fix for 32 bit architectures#41085

Merged
paper42 merged 1 commit intovoid-linux:masterfrom
tornaria:sagemath
Dec 18, 2022
Merged

sagemath: fix for 32 bit architectures#41085
paper42 merged 1 commit intovoid-linux:masterfrom
tornaria:sagemath

Conversation

@tornaria
Copy link
Copy Markdown
Contributor

After the upgrade to python 3.11, sagemath is completely broken (it won't even start).

See: https://trac.sagemath.org/ticket/33842#comment:130

This revbump adds a fix taken from that trac ticket (https://trac.sagemath.org/ticket/33842#comment:137)

Testing the changes

  • I tested the changes in this PR: YES

@tornaria
Copy link
Copy Markdown
Contributor Author

The failure we had in CI seems to be random and caused by heavy load; it is already known upstream (https://trac.sagemath.org/ticket/33907).

  • on x86_64:
sage -t --warn-long 30.0 --random-seed=0 /builddir/sagemath-9.7/pkgs/sagemath-standard/build/lib.linux-x86_64-cpython-311/sage/interfaces/expect.py
**********************************************************************
File "/builddir/sagemath-9.7/pkgs/sagemath-standard/build/lib.linux-x86_64-cpython-311/sage/interfaces/expect.py", line 937, in sage.interfaces.expect.Expect._eval_line
Failed example:
    singular.interrupt()
Expected:
    True
Got:
    False
**********************************************************************
File "/builddir/sagemath-9.7/pkgs/sagemath-standard/build/lib.linux-x86_64-cpython-311/sage/interfaces/expect.py", line 943, in sage.interfaces.expect.Expect._eval_line
Failed example:
    singular('2+3')
Expected:
    Singular crashed -- automatically restarting.
    5
Got:
    5
**********************************************************************
1 item had failures:
   2 of  16 in sage.interfaces.expect.Expect._eval_line
    [101 tests, 2 failures, 26.59 s]
  • on i686:
sage -t --warn-long 30.0 --random-seed=0 /builddir/sagemath-9.7/pkgs/sagemath-standard/build/lib.linux-x86_64-cpython-311/sage/interfaces/expect.py
**********************************************************************
File "/builddir/sagemath-9.7/pkgs/sagemath-standard/build/lib.linux-x86_64-cpython-311/sage/interfaces/expect.py", line 937, in sage.interfaces.expect.Expect._eval_line
Failed example:
    singular.interrupt()
Expected:
    True
Got:
    False
**********************************************************************
File "/builddir/sagemath-9.7/pkgs/sagemath-standard/build/lib.linux-x86_64-cpython-311/sage/interfaces/expect.py", line 943, in sage.interfaces.expect.Expect._eval_line
Failed example:
    singular('2+3')
Expected:
    Singular crashed -- automatically restarting.
    5
Got:
    5
**********************************************************************
1 item had failures:
   2 of  16 in sage.interfaces.expect.Expect._eval_line
    [101 tests, 2 failures, 24.56 s]

After the upgrade to python 3.11, sagemath is completely broken (it
won't even start).

See:  https://trac.sagemath.org/ticket/33842#comment:130

This revbump adds a fix taken from that trac ticket
(https://trac.sagemath.org/ticket/33842#comment:137)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants