Open cwharris opened 8 months ago
nlohmann_json=3.10.5
introduces some extra type restrictions over =3.9.1
which makes the json_list
and json_dict
types declared in morpheus not usable with =3.10.5
. However, simply removing these types (which appear to be unused) resolves the issue.
Version
24.03
Which installation method(s) does this occur on?
Source
Describe the bug.
Morpheus does not build with
nlohmann_json=3.10
. The followingstatic_cast
is failing inmorpheus/pybind11/json.hpp
at lines103
and150
:Presumably the
nlohmann::json
is somehow being cast to a string prior to being cast to thenlohmann::json_list
type (which is introduced by Morpheus, not officiallynlohmann_json
).My have something to do with the changes in this commit: https://github.com/nlohmann/json/commit/b0e5965d712c501d6043eac17437c7a033d54ae3
Minimum reproducible example
Relevant log output
Click here to see error details
Full env printout
Click here to see environment details
Other/Misc.
No response
Code of Conduct