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


bug #58491: [octave forge] (symbolic) not compatible with SymPy 1.6

Submitted by:  None
Submitted on:  Wed 03 Jun 2020 10:27:17 AM UTC  
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Confirmed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  Open Release:  5.2.0
Operating System:  GNU/Linux

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Wed 03 Jun 2020 07:57:04 PM UTC, comment #2: 

Confirmed, and already tracked and being worked on at the upstream bug tracker: https://github.com/cbm755/octsympy/issues/1023

Mike Miller <mtmiller>
Project Administrator
Wed 03 Jun 2020 01:06:19 PM UTC, comment #1: 

It's the original submitter again.

Got it all working by just downgrading the SymPy package back to 1.5.1. (That does the trick, but will it actually solve the problem?)

Hector <heqro>
Wed 03 Jun 2020 10:27:17 AM UTC, original submission:  

I also -wrongly- reported this bug on Cantor, but then I found out it's rather Octave-related. I'd like to mention that I've been working with symbolic variables for a bit now, so it was weird to see it all suddenly disappear


pkg load symbolic
syms x


/usr/lib/python3.8/site-packages/sympy/__init__.py:672: SymPyDeprecationWarning:

importing sympy.core.compatibility with 'from sympy import *' has been
deprecated since SymPy 1.6. Use import sympy.core.compatibility
instead. See https://github.com/sympy/sympy/issues/18245 for more

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 12, in octoutput_drv
  File "<stdin>", line 54, in octoutput
  File "<stdin>", line 55, in octoutput
  File "/usr/lib/python3.8/site-packages/sympy/__init__.py", line 677, in _getattr_
    return getattr(self.mod, name)
AttributeError: module 'sympy.core.compatibility' has no attribute 'integer_types'

It should define the variable.

Linux/KDE Plasma: 5.18.5
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.14.2



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

Attach Files:

No files currently attached


Depends on the following items: None found

   bug dependencies.


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

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.




    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-07-29 siko1056 Dependencies- => bugs #58846 is dependent
    2020-06-03 mtmiller StatusNone => Confirmed
        SummaryCannot use symbolic variables anymore => [octave forge] (symbolic) not compatible with SymPy 1.6

    Back to the top

    Powered by Savane 3.5