forked from pool/python-txaio
- update to 22.2.1:
* fix: cancel handling in python 3.8/3.9. (#175) * fix: gracefully fail if coroutine called with wrong args (#176) * fix: eliminate redundant dep. on mock (#170) * fix: doc note that twisted supports native coroutines (#172) - remove-mock.patch: upstream OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-txaio?expand=0&rev=25
This commit is contained in:
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jun 4 15:12:30 UTC 2022 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 22.2.1:
|
||||||
|
* fix: cancel handling in python 3.8/3.9. (#175)
|
||||||
|
* fix: gracefully fail if coroutine called with wrong args (#176)
|
||||||
|
* fix: eliminate redundant dep. on mock (#170)
|
||||||
|
* fix: doc note that twisted supports native coroutines (#172)
|
||||||
|
- remove-mock.patch: upstream
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 2 00:23:51 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
Tue Mar 2 00:23:51 UTC 2021 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-txaio
|
# spec file for package python-txaio
|
||||||
#
|
#
|
||||||
# Copyright (c) 2021 SUSE LLC
|
# Copyright (c) 2022 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -19,15 +19,13 @@
|
|||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
%define skip_python2 1
|
%define skip_python2 1
|
||||||
Name: python-txaio
|
Name: python-txaio
|
||||||
Version: 21.2.1
|
Version: 22.2.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: WebSocket and WAMP in Python for Twisted and asyncio
|
Summary: WebSocket and WAMP in Python for Twisted and asyncio
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: https://github.com/crossbario/txaio
|
URL: https://github.com/crossbario/txaio
|
||||||
Source: https://files.pythonhosted.org/packages/source/t/txaio/txaio-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/t/txaio/txaio-%{version}.tar.gz
|
||||||
# PATCH-FIX-UPSTREAM remove-mock.patch gh#crossbario/txaio#169
|
|
||||||
Patch0: remove-mock.patch
|
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module testsuite}
|
BuildRequires: %{python_module testsuite}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
|
@@ -1,37 +0,0 @@
|
|||||||
Index: txaio-20.12.1/setup.py
|
|
||||||
===================================================================
|
|
||||||
--- txaio-20.12.1.orig/setup.py
|
|
||||||
+++ txaio-20.12.1/setup.py
|
|
||||||
@@ -61,7 +61,6 @@ extras_require_dev = [
|
|
||||||
'sphinxcontrib-spelling>=2.1.2', # BSD
|
|
||||||
'sphinx_rtd_theme>=0.1.9', # BSD
|
|
||||||
'tox>=2.1.1', # MIT
|
|
||||||
- 'mock==1.3.0', # BSD
|
|
||||||
'twine>=1.6.5', # Apache 2.0
|
|
||||||
'tox-gh-actions>=2.2.0 ', # MIT
|
|
||||||
]
|
|
||||||
Index: txaio-20.12.1/test/test_call_later.py
|
|
||||||
===================================================================
|
|
||||||
--- txaio-20.12.1.orig/test/test_call_later.py
|
|
||||||
+++ txaio-20.12.1/test/test_call_later.py
|
|
||||||
@@ -26,7 +26,7 @@
|
|
||||||
|
|
||||||
import sys
|
|
||||||
|
|
||||||
-from mock import patch
|
|
||||||
+from unittest.mock import patch
|
|
||||||
|
|
||||||
import pytest
|
|
||||||
import txaio
|
|
||||||
Index: txaio-20.12.1/tox.ini
|
|
||||||
===================================================================
|
|
||||||
--- txaio-20.12.1.orig/tox.ini
|
|
||||||
+++ txaio-20.12.1/tox.ini
|
|
||||||
@@ -29,7 +29,6 @@ python =
|
|
||||||
|
|
||||||
[testenv]
|
|
||||||
deps =
|
|
||||||
- mock
|
|
||||||
pytest==4.6.9
|
|
||||||
coverage==4.5.4
|
|
||||||
|
|
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:7d6f89745680233f1c4db9ddb748df5e88d2a7a37962be174c0fd04c8dba1dc8
|
|
||||||
size 53383
|
|
3
txaio-22.2.1.tar.gz
Normal file
3
txaio-22.2.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2e4582b70f04b2345908254684a984206c0d9b50e3074a24a4c55aba21d24d01
|
||||||
|
size 53645
|
Reference in New Issue
Block a user