-
Notifications
You must be signed in to change notification settings - Fork 44
Description
My env
Python 3.11.6
Sympy 1.13.dev
Windows 10 Pro
OS Build: 19045.4412
numpy 1.26.4
algopy 0.5.7
===============
This code in numdifftools nd_algopy.py line 61
try:
import algopy
from algopy import UTPM
except ImportError:
UTPM = algopy = None
Can you make algopy a required package. This UTMP was defaulting to None when I ran
import doctest
import numdifftools as nd
nd.test('--doctest-modules', '--disable-warnings')
I did reach out to sebastian.walter@gmail.com who maintains algopy. I asked that he
comment out in its 'init.py' file
#testing
#from numpy.testing import Tester
#test = Tester().test
Sebastian asked that I open this:
b45ch1/algopy#56
Because numpy no longer has Tester. Thus ' import algopy' was failing. And UTPM was defaulting to None.
For your info...to run
import doctest
import numdifftools
nd.test('--doctest-modules', '--disable-warnings')
=============== 164 passed, 8 skipped, 1369 warnings in 42.86s ================
To get there I also had to comment out the following code in numpy file function_base.py line 4276
if a.dtype.kind == "c":
raise TypeError("a must be an array of real numbers")
So a scattering of issues......