larsgeb / hmclab

BSD 3-Clause "New" or "Revised" License
23 stars 0 forks source link

The serialisation package `dill` can't `pickle` abstract base classes as used in composite and additive distributions as of version 0.3.6 #45

Open larsgeb opened 1 year ago

larsgeb commented 1 year ago

The following line fails on dill==0.3.6 (with Python 3.9). Installing dill==0.3.5.1 resolves this.

https://github.com/larsgeb/hmclab/blob/8659f52f01d6a51930652ddf0de89b480687d027/tests/test_pickling.py#L53

Related to https://github.com/uqfoundation/dill/issues/332.