This release is for testing only, so do not rely on it for your daily use.
It uses pybind11 instead of Swig to generate Python wrappers around our C++ code.
While care has been taken to reduce API changes from the Swig wrappers to an absolute minimum, there are still some changes. Notably:
-
enums are actual types and no longer just
ints in Python.
While this is intrinsically safer, in some cases explicit casts tointare needed. -
functions that accept or return
std::vector/std::list,std::maporstd::pair/std::tuplenow return standard Pythonlist,dictortupletypes, and accept any Python iterable.
Currently all packages (except meas_modelfit) up to, and including, ci_hsc have been ported.
The easiest way to try it out is to use lsstsw and issue:
rebuild -r tickets/DM-8467 lsst_distrib
(and be sure to use the build tag that rebuild reports when setting up your package)
Feel free to report any problems you find on this thread.