Closed Meingjord closed 4 months ago
This affects versions prior to 1.0.72 as well. Based on https://github.com/goldmansachs/gs-quant/commit/b6f16ada98c525b1d5c285485dc891175053240b I'm assuming we'll need to bump to 1.0.74?
Yes, it looks that prior versions are also affected, I've ran in to the same issue with 1.0.66
.
The setup.py
change in 1.0.74
applies the workaround I mentioned, so that resolves this issue
Describe the bug Dataset date handling is broken
This problem is caused by the change in the
dataclasses-json
, since version0.6.5
of the library. That library is a dependency of gs-quant that was changed here: https://github.com/lidatong/dataclasses-json/releases/tag/v0.6.5The breaking change was introduced on 29th of April 2024 by the library dependency.
To Reproduce Steps to reproduce the behavior with code example:
Gives an error:
Expected behavior The code should not throw a
ValueError
Screenshots Not applicable
Systems setup:
Additional context The workaround for the issue is to pin
dataclasses-json
to version0.6.4