Skip to content

Fix kernal crash with Windows

Choose a tag to compare

@romainsacchi romainsacchi released this 06 May 16:24
· 94 commits to master since this release

Release Summary: v2.4.4

This patch release fixes hard kernel crashes reported by some Windows users
when Premise reads Excel inventory workbooks during NewDatabase initialization
or generates Excel reports at the end of the workflow.

What Changed

  • Disabled openpyxl’s lxml backend by default on Windows via
    OPENPYXL_LXML=False.
  • Declared openpyxl as an explicit dependency.
  • Constrained Windows pip installs and conda package builds to avoid the
    problematic lxml 6.x Excel/XML stack.

Why

Some Windows environments with recent lxml/libxml2 versions can hard-crash the
Python/Jupyter kernel when openpyxl uses the native lxml backend. Disabling
that backend keeps Excel read/write operations on the safer pure-Python path.

Validation

  • Confirmed premise imports successfully with version (2, 4, 4).
  • Ran focused filesystem tests successfully: 4 passed.

Commits

  • 66cc99e Fix Windows Excel crashes from openpyxl lxml path
  • 2e2d065 Bump version for Windows Excel crash fix