From d445833eb6aafbf9fdcee928e05ab4aaf5d1ceedd245498e65d15f1d39a6134e Mon Sep 17 00:00:00 2001 From: OBS User smolsheep Date: Fri, 26 Jul 2024 18:40:12 +0000 Subject: [PATCH] Accepting request 1189839 from home:smolsheep:upgrades MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove apprise-pytest-session_mocker-removal.patch -- Fixed upstream - Update to version 1.8.1: Features: * New Services: - Splunk - Africas Talking - Microsoft Power Automate / Workflows - Société Française du Radiotéléphone (SFR) * Slack supports <@userid> in message body * Turn large ntfy messages into a attachments * Refactored the way Notifiarr Discord users are mentioned * OneSignal to support custom data in payload * Twilio WhatsApp support added * Allow json data in OneSignal template arguments Fixes: * Automatically increment Matrix v3 transaction IDs * Slack files upload deprecation * Update token regex in ServerChan * Add missing % string in import failed trace message * This will fix issues with Home Assistant * Fixes random matrix:// unittest failures * fix: conversion html_to_text hr tags rstrip non string object - Updates from version 1.8.0: Features: * Custom Plugin Attachment Support Enforced + Added Testing * Do not sanitize http:// attachment URLs. This allows the successful fetching of very complicated http based Attachment URL's where the case sensitivity of the keys matter. The side effect of this change, is built in switches like cache= become case sensitive too (e.g Cache= will no longer be parsed). Fixes: * Added JSON Content-Type header to freemobile:// * Fix mailto://ip.addr support * clicksend:// authentication bugfix * Update Apprise API (apprise//) token length OBS-URL: https://build.opensuse.org/request/show/1189839 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-apprise?expand=0&rev=14 --- apprise-1.7.6.tar.gz | 3 -- apprise-1.8.1.tar.gz | 3 ++ apprise-pytest-session_mocker-removal.patch | 20 ----------- python-apprise.changes | 40 +++++++++++++++++++++ python-apprise.spec | 6 ++-- 5 files changed, 45 insertions(+), 27 deletions(-) delete mode 100644 apprise-1.7.6.tar.gz create mode 100644 apprise-1.8.1.tar.gz delete mode 100644 apprise-pytest-session_mocker-removal.patch diff --git a/apprise-1.7.6.tar.gz b/apprise-1.7.6.tar.gz deleted file mode 100644 index 4d678e8..0000000 --- a/apprise-1.7.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:077f09309cc8a6c9063dbd614b343807d527d546693b7fe8fc5a4433502fea6c -size 1656123 diff --git a/apprise-1.8.1.tar.gz b/apprise-1.8.1.tar.gz new file mode 100644 index 0000000..5c68696 --- /dev/null +++ b/apprise-1.8.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:08a20fe72672b7e90f7969d5b879d657c2e2db385a8a8c10f54cba565bf237f2 +size 1696426 diff --git a/apprise-pytest-session_mocker-removal.patch b/apprise-pytest-session_mocker-removal.patch deleted file mode 100644 index 523e1d3..0000000 --- a/apprise-pytest-session_mocker-removal.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -Naur apprise-1.6.0/test/conftest.py apprise-1.6.0-patched/test/conftest.py ---- apprise-1.6.0/test/conftest.py 2023-12-27 11:20:40.000000000 -0500 -+++ apprise-1.6.0-patched/test/conftest.py 2023-12-27 13:43:22.583100037 -0500 -@@ -45,8 +45,8 @@ - A_MGR = AttachmentManager() - - --@pytest.fixture(scope="function", autouse=True) --def no_throttling_everywhere(session_mocker): -+@pytest.fixture(autouse=True) -+def no_throttling_everywhere(mocker): - """ - A pytest session fixture which disables throttling on all notifiers. - It is automatically enabled. -@@ -57,4 +57,4 @@ - A_MGR.unload_modules() - - for plugin in N_MGR.plugins(): -- session_mocker.patch.object(plugin, "request_rate_per_sec", 0) -+ mocker.patch.object(plugin, "request_rate_per_sec", 0) diff --git a/python-apprise.changes b/python-apprise.changes index c2c53c3..e529fee 100644 --- a/python-apprise.changes +++ b/python-apprise.changes @@ -1,3 +1,43 @@ +------------------------------------------------------------------- +Fri Jul 26 17:22:58 UTC 2024 - Joshua Smith + +- Remove apprise-pytest-session_mocker-removal.patch -- Fixed upstream +- Update to version 1.8.1: + Features: + * New Services: + - Splunk + - Africas Talking + - Microsoft Power Automate / Workflows + - Société Française du Radiotéléphone (SFR) + * Slack supports <@userid> in message body + * Turn large ntfy messages into a attachments + * Refactored the way Notifiarr Discord users are mentioned + * OneSignal to support custom data in payload + * Twilio WhatsApp support added + * Allow json data in OneSignal template arguments + Fixes: + * Automatically increment Matrix v3 transaction IDs + * Slack files upload deprecation + * Update token regex in ServerChan + * Add missing % string in import failed trace message + * This will fix issues with Home Assistant + * Fixes random matrix:// unittest failures + * fix: conversion html_to_text hr tags rstrip non string object + +- Updates from version 1.8.0: + Features: + * Custom Plugin Attachment Support Enforced + Added Testing + * Do not sanitize http:// attachment URLs. This allows the + successful fetching of very complicated http based Attachment + URL's where the case sensitivity of the keys matter. The side + effect of this change, is built in switches like cache= become + case sensitive too (e.g Cache= will no longer be parsed). + Fixes: + * Added JSON Content-Type header to freemobile:// + * Fix mailto://ip.addr support + * clicksend:// authentication bugfix + * Update Apprise API (apprise//) token length + ------------------------------------------------------------------- Tue Apr 23 02:48:34 UTC 2024 - Joshua Smith diff --git a/python-apprise.spec b/python-apprise.spec index 2fa2250..1909ff9 100644 --- a/python-apprise.spec +++ b/python-apprise.spec @@ -26,7 +26,7 @@ %endif Name: python-apprise -Version: 1.7.6 +Version: 1.8.1 Release: 0 Group: Development/Libraries/Python Summary: A simple wrapper to many popular notification services used today @@ -37,8 +37,6 @@ Source99: %{name}.rpmlintrc # PATCH-FIX-OPENSUSE fix-test_plugin_glib.patch -- import missing dbus Patch0: fix-test_plugin_glib.patch %if 0%{?suse_version} <= 1500 -# PATCH-FIX-UPSTREAM apprise-pytest-session_mocker-removal.patch -- based on PR 757 -Patch10: apprise-pytest-session_mocker-removal.patch BuildRequires: %{python_module dataclasses} Requires: python-dataclasses %endif @@ -111,7 +109,7 @@ install -D -m 0644 -t %{buildroot}%{_mandir}/man1 packaging/man/apprise.1 %python_expand %fdupes %{buildroot}%{$python_sitelib} %check -%pytest -k 'not test_plugin_matrix_attachments_api_v2 and not test_apprise_attachment_truncate' +%pytest -k 'not test_plugin_matrix_attachments_api_v2 and not test_apprise_attachment_truncate and not test_plugin_dbus' %pre %python_libalternatives_reset_alternative apprise