14
0

Accepting request 1032088 from home:yarunachalam:branches:devel:languages:python

- Update to version 1.8.2
  - Improve error handling for certificate errors
  - Add an XEP-0454 implementation (OMEMO Media sharing)
  - Fix support for RFC 3920 sessions 
- Update to version 1.8.1
  * Fix a mypy issue, a test issue, and do not enable defusedxml unless
    explicitly asked.
- Update to version 1.8.0 
   * The most important part of this release is that it fixes compatibility with
   python 3.10, but there are also plenty of changes and bugfixes!
   Many XEPs have been modified to accomodate an internal change, and as a
   result their public APIs have been modified. Slixmpp has an "internal API"
   for plugins, inherited from SleekXMPP which allows users of the library to
   substitute internal functions with their own, in order to e.g. provide a
   different storage backend (many default to in-memory), etc. This API has
   always been synchronous, which is not ideal in an asyncio library, and puts
   huge limits on what is possible to do.
   This change makes it possible to use async functions with the internal API,
   and as a result it forces us to change XEPs using this API to async in the
   relevant methods.
   As a rule of thumb, thin wrappers around del/set are generally preserved and return a
   future to guarantee that the task is done, while getters (which would require awaiting
   anyway when returning a future) are now pure coroutines. This inconsistency is a
   tradeoff to prevent wider changes across slixmpp internals and programs using it.
     - XEP-0012, Last Activity:
      - `begin_idle`, `end_idle`, `start_uptime`, `set_last_activity`,
        `del_last_activity` now return futures.
      - XEP-0027: GPG
      - `get_keyids` and `get_keyid` are now coroutines.
      - `set_keyid` and `del_keyid` now return a Future.

OBS-URL: https://build.opensuse.org/request/show/1032088
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-slixmpp?expand=0&rev=18
This commit is contained in:
Alexei Sorokin
2022-10-29 16:46:11 +00:00
committed by Git OBS Bridge
parent ac50f9e427
commit 13f84be6e0
4 changed files with 118 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-slixmpp
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%define skip_python36 1
%define _name slixmpp
Name: python-slixmpp
Version: 1.7.1
Version: 1.8.2
Release: 0
Summary: Python XMPP (Jabber) Library that Implements Everything as a Plugin
License: MIT