14
0
forked from pool/python-pyee

Accepting request 788972 from home:pgajdos:python

- version update to 7.0.1
  - Some tweaks to the docs
  - Added a ``TrioEventEmitter`` class for intended use with trio
  - ``AsyncIOEventEmitter`` now correctly handles cancellations
  - Add a new experimental ``pyee.uplift`` API for adding new functionality to
    existing event emitters
- deleted patches
  - fix-build-requirements.patch (upstreamed)

OBS-URL: https://build.opensuse.org/request/show/788972
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pyee?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal
2020-03-30 12:52:19 +00:00
committed by Git OBS Bridge
parent 53b5cb212c
commit 7964916f5a
6 changed files with 35 additions and 41 deletions

View File

@@ -0,0 +1,13 @@
Index: pyee-7.0.1/tests/test_async.py
===================================================================
--- pyee-7.0.1.orig/tests/test_async.py 2020-01-30 21:22:49.000000000 +0100
+++ pyee-7.0.1/tests/test_async.py 2020-03-27 10:10:34.734403451 +0100
@@ -4,7 +4,7 @@ import pytest
import pytest_asyncio.plugin # noqa
from asyncio import Future, wait_for
-from concurrent.futures import TimeoutError
+from asyncio.exceptions import TimeoutError
from mock import Mock
from twisted.internet.defer import ensureDeferred, succeed