- Update to 0.22.0:

* MultiError has been deprecated in favor of the standard BaseExceptionGroup
    (introduced in PEP 654). On Python versions below 3.11, this exception and
    its derivative ExceptionGroup are provided by the backport. Trio still
    raises MultiError, but it has been refactored into a subclass of
    BaseExceptionGroup which users should catch instead of MultiError. Uses of
    the MultiError.filter() class method should be replaced with
    BaseExceptionGroup.split(). Uses of the MultiError.catch() class method
    should be replaced with either except* clauses (on Python 3.11+) or the
    exceptiongroup.catch() context manager provided by the backport.
    See the updated documentation for details.
  # Features
  * Added support for Datagram TLS, for secure communication over UDP.
    Currently requires PyOpenSSL. (#2010)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-trio?expand=0&rev=28
This commit is contained in:
Daniel Garcia 2022-12-07 10:20:54 +00:00 committed by Git OBS Bridge
parent 6f1aea293d
commit 31181b044c
4 changed files with 24 additions and 5 deletions

View File

@ -1,3 +1,21 @@
-------------------------------------------------------------------
Wed Dec 7 10:18:12 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Update to 0.22.0:
* MultiError has been deprecated in favor of the standard BaseExceptionGroup
(introduced in PEP 654). On Python versions below 3.11, this exception and
its derivative ExceptionGroup are provided by the backport. Trio still
raises MultiError, but it has been refactored into a subclass of
BaseExceptionGroup which users should catch instead of MultiError. Uses of
the MultiError.filter() class method should be replaced with
BaseExceptionGroup.split(). Uses of the MultiError.catch() class method
should be replaced with either except* clauses (on Python 3.11+) or the
exceptiongroup.catch() context manager provided by the backport.
See the updated documentation for details.
# Features
* Added support for Datagram TLS, for secure communication over UDP.
Currently requires PyOpenSSL. (#2010)
-------------------------------------------------------------------
Mon Nov 21 16:04:21 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@ -18,16 +18,17 @@
%define skip_python2 1
Name: python-trio
Version: 0.21.0
Version: 0.22.0
Release: 0
Summary: Python async/await-native I/O library
License: Apache-2.0 OR MIT
URL: https://github.com/python-trio/trio
Source: https://github.com/python-trio/trio/archive/v%{version}.tar.gz#/trio-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/t/trio/trio-0.22.0.tar.gz
BuildRequires: %{python_module astor >= 0.8}
BuildRequires: %{python_module async_generator >= 1.9}
BuildRequires: %{python_module attrs >= 19.2.0}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module exceptiongroup}
BuildRequires: %{python_module idna}
BuildRequires: %{python_module outcome}
BuildRequires: %{python_module pyOpenSSL}

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b37dade091c9da7b95b572643c56479c4a11596175b93ba3d6d7ff89993a40c5
size 491228

BIN
trio-0.22.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.