Skip to content

Remove construct dependency & meson modernization

We were using the construct module earlier as pykeepass used to raise a construct.CheckSumError on corrupt files. However, they have since changed their code and split this into the pykeepass Exceptions: CredentialsError, PayloadChecksumError, HeaderChecksumError.

We rely on a version of pykeepass anyway that has that, so there is NO use in importing and testing that Exception, which nicely does away with our check and need for python3-construct during build time.

Rather than our home-grown test for the existence of python modules, meson now provides a comfortable modules:[a,b,...] solution that we can make use of. Do so.

Also remove construct as a dependency which is not needed anymore and has been removed earlier.

Merge request reports