bugGNU Octave - Bugs: bug #57230, [octave forge] (symbolic) Test...

 
 

bug #57230: [octave forge] (symbolic) Test failure in @sym/solve with python 3.8

Submitter:  Orion Poplawski <opoplawski>
Submitted:  Thu 14 Nov 2019 04:23:21 AM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * 5.1.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Tue 19 Nov 2019 07:42:12 PM UTC, comment #5: 

Thanks!

Orion Poplawski <opoplawski>
Tue 19 Nov 2019 07:40:01 PM UTC, comment #4: 

Should be fixed by commit 0447257f8ce0efa290a6ae662ceb7970c9424723  (https://github.com/cbm755/octsympy/pull/998)

@opoplawski: I will cherry-pick for Fedora now.


Colin Macdonald <cbm>
Sun 17 Nov 2019 09:06:36 AM UTC, comment #3: 

Yeah its nonderministic b/c the output can come in any order.

These things are annoying for doctests :(  I may just `doctest: +SKIP` them...  will ponder along with some other fixes I need to do...

Colin Macdonald <cbm>
Thu 14 Nov 2019 03:02:51 PM UTC, comment #2: 

And the build is back to succeeding.  I wonder if this is a random failure.

Orion Poplawski <opoplawski>
Thu 14 Nov 2019 07:11:19 AM UTC, comment #1: 

Confirm, I see this error with Python 3.8.0. With the same versions of Octave, symbolic, and SymPy, the test passes with Python 3.7.5 and fails with Python 3.8.0.

Worth noting that this is from 'doctest @sym/solve', took me a couple minutes to find this because I was looking at test instead of doctest.

Mike Miller <mtmiller>
Group Member
Thu 14 Nov 2019 04:23:21 AM UTC, original submission:  

We have started to see the following error in the Fedora build:

@sym/solve ............................................. FAIL    1/10 
   >> [X, Y] = solve(x^2 == 4, x + y == 1, x, y)
      expected:    X = (sym 2×1 matrix)
      ⎡-2⎤
      ⎢  ⎥
      ⎣2 ⎦
   Y = (sym 2×1 matrix)
      ⎡3 ⎤
      ⎢  ⎥
      ⎣-1⎦
      got     : X = (sym 2×1 matrix)
  ⎡2 ⎤
  ⎢  ⎥
  ⎣-2⎦
Y = (sym 2×1 matrix)
  ⎡-1⎤
  ⎢  ⎥
  ⎣3 ⎦

See https://koschei.fedoraproject.org/package/octave-symbolic

It's don't obvious to me which of the dependencies that changed would have triggered this failure.  Also, isn't this just an inverted solution?

Orion Poplawski <opoplawski>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cbm (Posted a comment)
  • -email is unavailable- added by opoplawski (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-12-06 mtmiller StatusConfirmed Fixed
        Open/ClosedOpen Closed
    2019-11-14 mtmiller Item GroupBuild Failure Unexpected Error or Warning
        StatusNone Confirmed
        Summary[octave forge] (symbolic) Test failure in @sym/solve [octave forge] (symbolic) Test failure in @sym/solve with python 3.8

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code