Skip to content

Fix/work around deb 12 swig python issue

On Debian 12 Swig 4.1.0 class static methods generate one function definition, the definition in the class.

In swig 4.0, 4.1.1 (conda), ... two are generated, one at the module level one in the class level.

  • There are 4 functions that this impacts on Debian 12.
    • nds2.channel_IsMinuteTrend
    • nds2.channel_IsSecondTrend
    • nds2.channel_channel_type_to_string
    • nds2.channel_data_type_to_string

This adds python code to the python bindings to generate a function if it is missing, mapping the call to nds2.channel...

Addresses #164 (closed)

Merge request reports