lifelib v0.12 Releases#
To update lifelib, run the following command:
>>> pip install lifelib --upgrade
If you’re using Anaconda, use the conda command instead:
>>> conda update lifelib
lifelib v0.12.0 (17 May 2026)#
New Library#
This release adds a new library, annuallife.
annuallife includes the TradLife_A model,
a traditional life insurance projection model that works on an annual basis.
See the annuallife page for more details.
Changes#
lifelib projects have been migrated into the
lifelib/librariesdirectory structure, unifying projects and libraries (GH92).simplelifeand its dependent projects are now deprecated. Deprecation notices are added to the affected models.Python 3.14 is added to the supported Python versions, and Python 3.7 and 3.8 are no longer supported.
lifelib now requires
modelxv0.31.0 or newer, becauseTradLife_Ais saved in the modelx serializer version 7 format introduced in modelx v0.31.0.A copy of
TradLife_Asaved in the older serializer version 6 format,TradLife_A_mx30, is added to theannuallifelibrary so that the model can still be read by users whosemodelxis older than v0.31.0.
Fixes#
Compatibility fixes for pandas 3.0, including
select_dtypesstring-dtype handling and chained-assignmentfillnacalls inifrs17aImporters.draw_chartsanddraw_waterfallare fixed to reflect a modelx implementation change.The Pandas4Warning raised by
select_dtypesfor string columns is now silenced.