When building apprise with python 3.12 im getting a test failure. This rebuild was done as part of the Arch Linux python3.12 rebuild.
:bulb: Screenshots and Logs
=================================== FAILURES ===================================
____________________________ test_apprise_trans_add ____________________________
@pytest.mark.skipif(
'gettext' not in sys.modules, reason="Requires gettext")
def test_apprise_trans_add():
"""
API: Apprise() Gettext add
"""
# This throws internally but we handle it gracefully
al = AppriseLocale.AppriseLocale()
with environ('LANGUAGE', 'LC_ALL', 'LC_CTYPE', 'LANG'):
# English is the default/fallback type
> assert al.add('en') is True
E AssertionError: assert False is True
E + where False = <bound method AppriseLocale.add of <apprise.AppriseLocale.AppriseLocale object at 0x76c64173e1e0>>('en')
E + where <bound method AppriseLocale.add of <apprise.AppriseLocale.AppriseLocale object at 0x76c64173e1e0>> = <apprise.AppriseLocale.AppriseLocale object at 0x76c64173e1e0>.add
test/test_apprise_translations.py:212: AssertionError
:computer: Your System Details:
OS: [e.g. RedHat v8.0] Arch Linux (rolling)
Python Version: [e.g. Python v2.7] 3.12.2-1
:crystal_ball: Additional context
Add any other context about the problem here.
:mega: Notification Service(s) Impacted
none
:lady_beetle: Describe the bug
When building apprise with python 3.12 im getting a test failure. This rebuild was done as part of the Arch Linux python3.12 rebuild.
:bulb: Screenshots and Logs
:computer: Your System Details:
3.12.2-1
:crystal_ball: Additional context Add any other context about the problem here.
cc @polyzen