locie / pySIP

Stochastic state-space Inference and Prediction
14 stars 12 forks source link

arviz library update #34

Open sthebault opened 6 months ago

sthebault commented 6 months ago

Hi there! I am trying to use pysip version 1.0 but experience some trouble with the dependencies. Currently arviz version 0.14 is installed but it creates some problems with the latest scipy version : ImportError: cannot import name 'gaussian' from 'scipy.signal' It seems that upgrading arviz to version 0.18 would solve the problem : https://discourse.pymc.io/t/importerror-cannot-import-name-gaussian-from-scipy-signal/14170/4 Would it be possible to update the arviz version in the requirements?

celliern commented 6 months ago

Hello! I will take a look during this week. In a more general way, I will release the upper bound of most dependancies, and run the test to ensure everything run smoothly.

celliern commented 6 months ago

This should be fixed in the new release (v1.0.1). The python version range is limited due to the pytensor constraints on numpy, so be careful to be on py310 or py311!