Version 3.2¶
Version 3.2.2¶
🛠️ Bug fixes:
Fixed translation support (
gettext):Locale detection has been fixed in 3.1.1 (deprecation of
locale.getdefaultlocale)However, on frozen distributions on Windows (e.g. with
pyinstaller), functionlocale.getlocaleis returning(None, None)instead of proper locale infosAdded a workaround: on Windows, if locale can’t be detected, we now use the Windows API to retrieve it (using the
GetUserDefaultLocaleNamefunction)Issue #68 - Windows: gettext translation is not working on frozen applications
Embedded Qt console:
Fixed default encoding detection on frozen applications on Windows
Issue #69 - Windows/Qt console: output encoding is not detected on frozen applications
Version 3.2.1¶
🛠️ Bug fixes:
Tests only:
qthelpers.close_widgets_and_quitnow ignores deleted widgets
💥 Changes:
dataset.ImageChoiceItemanddataset.ButtonItem: addedsizeargument to set the icon sizedataset.ioreader and writer classes: removed deprecatedwrite_unicodemethod
Version 3.2.0¶
🛠️ Bug fixes:
Issue #67 - JSONReader/Deserializing object list: TypeError: ‘NoneType’ object is not subscriptable
💥 Changes:
qthelpers.qt_wait: addedshow_messageandparentarguments (backward compatible)qthelpers.qt_app_context: removedfaulthandlersupport (this need to be handled at the application level, see for example DataLab’s implementation)Disabled command line argument parsing in
guidata.envmodule:The
guidatalibrary is parsing command line arguments for the purpose of creating the environment execution object namedexecenv(seeguidata.envmodule). This object is used to determine the execution environment mainly for testing purposes: for example, to bypass the Qt event loop when running tests thanks to the--unattendedcommand line option.However this argument parsing is not always desirable, for example when using
guidataas a dependency in another library or application. This is why the parsing mechanism is now disabled by default, and may be enabled by setting the environment variableGUIDATA_PARSE_ARGSto1(or any other non-empty value). As of today, it is still unclear if there will be a need to enable this mechanism in the future, so this is why the environment variable is used instead of a function argument.
Removed deprecated
guidata.disthelpersmodule (we recommend using PyInstaller instead)