# HG changeset patch # User Goffi # Date 1715426173 -7200 # Node ID b0c36f3d3e0470faba737a1de10e8eee55852780 # Parent a1e7e82a8921af3d41af7efba86dd6153abf2cf4 core: update `pygobject` version and replace deprecated `configparser.SafeConfigParser` diff -r a1e7e82a8921 -r b0c36f3d3e04 libervia/backend/tools/common/email.py --- a/libervia/backend/tools/common/email.py Mon Apr 08 12:29:40 2024 +0200 +++ b/libervia/backend/tools/common/email.py Sat May 11 13:16:13 2024 +0200 @@ -32,7 +32,7 @@ def send_email(config, to_emails, subject="", body="", from_email=None): """Send an email using SàT configuration - @param config (SafeConfigParser): the configuration instance + @param config (ConfigParser): the configuration instance @param to_emails(list[unicode], unicode): list of recipients if unicode, it will be split to get emails @param subject(unicode): subject of the message diff -r a1e7e82a8921 -r b0c36f3d3e04 libervia/tui/config.py --- a/libervia/tui/config.py Mon Apr 08 12:29:40 2024 +0200 +++ b/libervia/tui/config.py Sat May 11 13:16:13 2024 +0200 @@ -29,7 +29,7 @@ raise: can raise various Exceptions if configuration is not good """ - config = configparser.SafeConfigParser() + config = configparser.ConfigParser() config.read(C.CONFIG_FILES) try: options = config.items(C.CONFIG_SECTION) diff -r a1e7e82a8921 -r b0c36f3d3e04 pyproject.toml --- a/pyproject.toml Mon Apr 08 12:29:40 2024 +0200 +++ b/pyproject.toml Sat May 11 13:16:13 2024 +0200 @@ -42,7 +42,7 @@ "progressbar2 < 3.54", "pydantic ~= 2.4", "pygments < 3", - "pygobject < 3.40.1", + "pygobject ~= 3.48", "pyopenssl >= 23.2.0", "python-dateutil >= 2.8.1, < 3", # currently disabled due to incompatibility, OTR feature may be removed in