b45ch1 / algopy

AlgoPy is a Research Prototype for Algorithmic Differentation in Python
79 stars 14 forks source link

Unit tests fail #55

Closed arthus701 closed 3 months ago

arthus701 commented 3 years ago

Hi! I'm trying to bring algopy over to nixpkgs.

However, there seems to be an issue with the unit tests. Numpy moved its decorators to numpy.testing._private.decorators, so that I get some ModuleNotFoundErrors and some AttributeErrors.

I will for now only test whether importing algopy works, but a fix for the unit tests would be greatly appreciated!

b45ch1 commented 3 years ago

Hello @arthus701

I don't have the capacity for refactoring the code. I'd be happy to receive a PR, though.

arthus701 commented 3 years ago

Hi, I started working on it. Using the updated NumPy API was straightforward, however meanwhile also some hyperbolic functions have been removed from scipy.special. Do you have a plan what to do with the parts of your package that depend on those functions?

Cheers, Arthus

b45ch1 commented 3 months ago

Closing due to inactivity.